Check a background job
get_background_jobCheck a job started with start_background_job. Returns state "running", "done" (with the run's result) or "failed" (with the reason). A run whose invocation died is reported as failed rather than left running forever, so it is safe to poll until this stops saying running.
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_background_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job id from start_background_job. |