test_flow
Run a published flow or subflow synchronously with sample inputs to validate behavior and return its context ID and outputs.
Instructions
Run a published flow or subflow synchronously (foreground) with sample inputs and return its context id and outputs (needs SCRIPTING_ENABLED). [Write]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flow_sys_id": "<flow_sys_id>"
},
"name": "test_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | Run as a background job and return a job_id at once. Poll it with get_job. Calls that take longer than about 20 seconds switch to a job on their own. | |
| flow_sys_id | Yes | Flow sys_id to test | |
| test_inputs | No | Test input values |