Follow file job
jobFollow a file-tool job started by run_tool. get returns status (queued, running, done, failed, cancelled),
percent, message, queue position and estimate; when done, result and files (each with url and ref); when
failed, an error with a fix. wait blocks up to wait_seconds (default 20) until it finishes, or until the next
progress event after since (pass last_event to step through progress). A wait that ends with the job still
running is normal: call wait again. A finished job's ID works as a file reference for the next 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>"
},
"name": "job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| since | No | ||
| action | Yes | ||
| wait_seconds | No |