Set orchestration details
set_orchestration_metaPatch top-level orchestration metadata only. Does NOT touch the steps list. Use this for renames, description edits, entry_step_id changes, state_schema updates, turn/timeout budget changes, or a cap on what one run may spend. Pass only the fields you want to change.
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": {
"orch_id": "<orch_id>"
},
"name": "set_orchestration_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| orch_id | Yes | ||
| result_key | No | The state key whose value is what this orchestration makes: its answer when chatted with as an agent, and what a parent gets back when it runs nested. Leave empty for the last step that produces content (a human step's answer, an evaluator's route label and an end step never count). Set it when the result is not the last step's output — a workflow ending in an approval of its report, say. | |
| 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. | |
| offer_to_mcp | No | The workflow's own Offer to MCP clients switch: true offers it to apps connected over MCP as a tool of its own, false stops offering it (they can still run it by name). | |
| entry_step_id | No | ||
| 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. | |
| strict_state_types | No | Stop a run when a step's text will not become the type its state key declares — an llm step answering in prose where the key is declared `list`, say. Off by default: the text stays put and the run log says so. Turn it on only when asked to. |