Check a background job
cs_job_statusCheck whether a background job is running, succeeded, or failed, see phases reached, and get its result; omit jobId to list all jobs, or pass recordFile to read a job from disk. Read-only.
Instructions
The state of a job started with background: true - running, succeeded or failed - with the phases it has reached and, once finished, the result the tool would have returned. Read-only. Jobs live in the server process, so a restart loses them; pass recordFile to read the copy the job wrote to disk instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cs_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Omit to list every job this server knows about | |
| recordFile | No | Read a job record from disk (e.g. <targetDir>/pull-job.json) when the server has been restarted since |