Wait for execution
wait_for_executionBlock for up to timeout_seconds (default 45, maximum 50) until a platform execution reaches a terminal status, then return the same document get_execution_details returns plus waited_seconds and timed_out. Built for stateless clients such as MCP, whose calls have a 55-second deadline and no durable park: after a mutating tool answers with an operation_id or live_status_hint, call this once or twice instead of polling get_execution_details in a tight loop. timed_out true means the execution is still running - call again, or stop and report the last observed step summary. Read-only.
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": {
"execution_id": "<execution_id>",
"cluster_id": "<cluster_id>"
},
"name": "wait_for_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| execution_id | Yes | The UUID of the execution to wait for. | |
| timeout_seconds | No | How long to wait before answering with timed_out true. Defaults to 45. |