adaptorch_run
Submit one task to the AdaptOrch control plane, which routes it through an execution topology, runs it with the configured model provider and synthesizes the outputs. Pass either prompt (with optional context) for a single task, or payload with a subtask DAG. By default the call waits up to timeout_seconds and returns the run summary: run_id, status and artifact references. If the wait ends first, collection_status is 'pending' and the run keeps going; read it with adaptorch_get_run instead of submitting again. Every submission creates a new run and counts against the plan's monthly run quota; model tokens bill to the caller's own provider account. Use adaptorch_get_artifacts for the files of a finished run.
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": "adaptorch_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID, or 'auto' on control-plane backends to resolve this tenant's provider default or confirmed run history. Provider credentials are still required. | |
| trace | No | Ask the control plane to record execution traces for this run; read them with adaptorch_get_traces. | |
| prompt | No | Task instruction in plain language. Required unless payload is given; ignored when payload is present. | |
| context | No | Optional background for prompt, such as file excerpts or constraints. Used only together with prompt. | |
| payload | No | Task DAG. subtasks is required and non-empty; dependencies may be omitted. | |
| budget_policy | No | Optional flat key/value limits forwarded to the control plane with the run. Values must be numbers, strings or booleans; omit to use the plan defaults. | |
| connector_name | No | Connector that turns prompt and context into a task payload and is recorded as the run's origin. adaptorch_capabilities lists the available connectors. | mcp |
| synthesis_mode | No | Synthesis strategy executed by the installed engine. Supported modes: paper, robust, robust_lite, stable_hybrid. Deprecated aliases resolve to a supported mode: fourier_aggressive -> stable_hybrid. The serving-layer value 'auto' asks the control plane to pick a supported engine mode per run (control-plane backends only; the choice is reported via synthesis_mode_used). Hosted callers that omit the field receive robust. | robust |
| timeout_seconds | No | Maximum seconds to wait, greater than 0. Ending the wait does not cancel the run. | |
| ensemble_members | No | BYOK request-scoped ensemble fan-out: 2-5 'provider:model' members riding the process provider credential (ADAPTORCH_MCP_PROVIDER, ADAPTORCH_MCP_PROVIDER_MODEL, ADAPTORCH_MCP_PROVIDER_API_KEY). Quota: one run debits one unit regardless of member count; model token cost bills to the caller's own provider account. | |
| output_extractor | No | Ensemble output extraction mode hint. Engine extractors: final_answer, multiple_choice_letter. Use 'none' to request no extractor; it is not forwarded to the engine. | |
| wait_for_terminal | No | true waits for a terminal status (up to timeout_seconds); false returns right after submission with the run_id. | |
| poll_interval_seconds | No | Seconds between status reads while waiting, greater than 0. | |
| verification_commands | No | Optional list of shell commands to verify the generated output. Disabled by default; accepted only when ADAPTORCH_MCP_ALLOW_VERIFICATION_COMMANDS is truthy. Control-plane consumers must run commands only under allowlist/sandbox. | |
| prefer_ensemble_singleton | No | Hint the router to prefer multi_model_ensemble for single-node DAGs. true = explicit on, false = explicit off (the ensemble auto preference will not re-enable it), null/omitted = auto policy. |