Not sure if this is a bug or intended.
The documentation is REALLY lacking. It covers the basic parts but is missing the actual interesting use cases for which people my consult the docs.
My Demo Interface
I included the RPC twice to show that the RPC works fine when it is included top level, not when inside a collection.
[
{
"name": "formId",
"type": "text",
"label": "Form ID"
},
{
"name": "responseId",
"type": "text",
"label": "Response ID"
},
{
"name": "answers",
"type": "collection",
"label": "Answers",
"spec": [
{"name": "dummy", "label": "dummy"},
"rpc://fields"
]
},
"rpc://fields"
]
If this is not how you are suppose to do it, i advise you to add some examples to the Interface page as this section is pretty useless for real world examples…