Create orchestration skeleton
create_orchestration_skeletonCreate an empty orchestration (no steps yet) and return its orch_id. Follow up with add_steps calls to populate steps incrementally — this is the preferred pattern for any orchestration with more than ~3 steps because each tool call stays small and well-typed.
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": {
"name": "<name>",
"entry_step_id": "<entry_step_id>"
},
"name": "create_orchestration_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| max_run_usd | No | The most one run of this workflow may spend on models, in US dollars (0.5 is fifty cents). A run that has spent it stops before its next step and says so. Set a cap only when the person asks for one; 0 removes it. | |
| entry_step_id | Yes | Step id of the first step that will be added. May be set before the step itself exists. | |
| max_run_credits | No | Cloud only: the most execution credits one run of this workflow may use, 1 or more. A run that reaches it stops before its next step and says so. Set a cap only when the person asks for one; 0 removes it. | |
| max_total_turns | No | ||
| timeout_minutes | No | ||
| state_schema_json | No | JSON-encoded state-schema object mapping each state key to {type, default, description}. Allowed types: str, int, float, bool, list, dict. Example: '{"user_input":{"type":"str","default":"","description":"Initial user message"}}'. Pass '{}' (empty object JSON) when the orchestration has no upfront state keys. |