jobs
List, inspect, wait for, or cancel delegated worker tasks and batches; retrieve a task's result block again and stop running work while preserving its worktree.
Instructions
List jobs, show a job's last result block again, wait for a job or batch to settle, or cancel a running job (keeps its worktree).
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>"
},
"name": "jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | Job id, e.g. j7f3a (show, wait, cancel), or batch id, e.g. b4k1x (wait) | |
| action | Yes | list: one line per job; show: a job's last block; wait: block until the job's or batch's next result, then return it; cancel: stop a running job |