get_dispatch
Poll a job's current state using its job ID. Returns status such as running, done, error, or abandoned.
Instructions
Non-blocking read of a job's current state.
status values:
running— work in flight;elapsed_msincluded for progress.done— full sync-style result keys.cancelled— user calledcancel_dispatch.abandoned— runtime cancel (transport timeout, FastMCP shutdown). Subprocess kept running; watcher will transition this todoneorerrorshortly. Poll again.error— dispatcher-internal error or unparseable output.orphaned— subprocess and output both lost on a restart.
Unknown job_id returns {ok: false, error: ...}. Works for
both live jobs and ones loaded from disk after a bridge restart.
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": {
"job_id": "<job_id>"
},
"name": "get_dispatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |