invoke_workflow
Invoke a workflow synchronously, asynchronously, or as a stream. tenant_slug is optional; when omitted the tenant is inferred from the API key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invoke_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| input | No | ||
| version | No | ||
| snippet_id | No | Deprecated alias for workflow_id. | |
| invoke_mode | No | ||
| tenant_slug | No | Tenant slug. Optional — inferred from the API key when omitted. | |
| workflow_id | No | Workflow ID (UUID). | |
| callback_url | No | ||
| snippet_slug | No | Deprecated alias for workflow_id. | |
| workflow_slug | No | Deprecated alias for workflow_id. |