Run orchestration
run_orchestrationStart a run of an orchestration (a Synapse workflow) and wait for it to finish or ask a question. Returns the run's status: completed with its response, paused with the question in human_input_required (answer it with answer_run), failed, or running if the wait ran out. Runs spend model credits.
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": {
"orchestration_id": "<orchestration_id>",
"message": "<message>"
},
"name": "run_orchestration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Optional starting values for the orchestration's declared state keys. | |
| message | Yes | What the run should work on — its goal or input text. | |
| wait_seconds | No | Seconds to wait for the run to finish or ask a question (0-120, default 30). The run carries on after the wait either way; call get_run to pick it up again. | |
| orchestration_id | Yes | The orchestration's id, or its exact name (see list_orchestrations). |