Watch a job
jobs_tailWatch a job's run: replay its events from a cursor, then follow live until the run ends or limits hit; resume with the returned cursor.
Instructions
Watch a job's run: replays its events from the cursor, then follows live until the run ends, 60 seconds pass, or 200 events. Returns {live, cursor, events} - resume with that cursor. {live: false} means no run stream to attach to; the job may still have finished work, so read jobs_get. Needs the read scope.
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": {
"id": "<id>"
},
"name": "jobs_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The job id. | |
| cursor | No | Resume from this cursor; omit to replay the run from its start. | |
| maxSeconds | No | How long to watch, 15 by default, 60 at most. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||