job_wait
Block until a tracked job reaches a terminal state using event-driven server-side waiting, so no model turns are consumed. Call immediately after job_start.
Instructions
Wait inside the MCP server until a tracked job reaches a terminal state. This is event-driven and consumes no repeated model turns while waiting. Call it immediately as the next tool call after job_start, without intermediate commentary, profile listing, status checks, or extra planning.
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": {
"jobId": "<jobId>"
},
"name": "job_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| tailLines | No | ||
| timeoutMs | No | Maximum server-side wait; no polling by the model occurs. |