task_wait
Wait for a task to finish by monitoring its job directory until an exit code appears. Set an optional timeout to avoid indefinite hangs.
Instructions
Wait for a task to reach a terminal state (EXIT: written).
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": {
"jobDir": "<jobDir>"
},
"name": "task_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobDir | Yes | ||
| timeoutMs | No |