Jobs
jobFor reading use job_read, which is read-only and needs no approval: "get" here is deprecated (still works). Long-running work started by other tools (exec with background: true). action "get": status and output (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). action "cancel": stop it.
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"
}
}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. |