Read a job
job_readRead-only: the status and output of a long-running job (exec with background: true, a publish, an import, an export). action "get": pass offset = the output_length you already have, to get only new output; wait_seconds up to 30 waits for the job to finish first, instead of calling again and again. To stop a job use the job tool.
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": {
"action": "<action>",
"job_id": "<job_id>"
},
"name": "job_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| job_id | Yes | ||
| offset | No | ||
| project | No | Not needed: the job id is enough. | |
| wait_seconds | No | get: wait up to this long (at most 30 seconds) for the job to finish before answering. |