Skip to content

invoke_service

Invoke a service through its stream endpoint and return collected chunks.

See https://docs.merofoundry.app/recipes/tool-invoke-service for the chunk shape and the outbound governance that applies.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"body": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Body"
},
"method": {
"title": "Method",
"type": "string"
},
"path": {
"title": "Path",
"type": "string"
},
"service_id": {
"title": "Service Id",
"type": "string"
}
},
"required": [
"application_id",
"service_id",
"method",
"path"
],
"title": "invoke_serviceArguments",
"type": "object"
}
{
"properties": {
"chunks": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"chunks"
],
"type": "object"
}