Watch a stream
watch_streamFollow a run step by step. Returns the steps after index after (start with -1, then pass the lastIndex you got) and the comments. Joining late, you get the newest last steps and skipped says how many came before (get_trajectory has them all). progress says how the checks are going, request what the agent was last asked, quiet_seconds how long since its last step. If the run is live and nothing is new, waits up to wait_seconds for the next step. Pass comments_after (the lastComment you got) to get only new comments. include_screenshot adds the latest screen as an image.
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": "watch_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Run id, from live_streams or search_runs | |
| last | No | At most this many of the newest steps (long outputs and diffs are cut short) | |
| after | No | ||
| my_name | No | Your name, shown to the broadcaster as a viewer | |
| wait_seconds | No | ||
| comments_after | No | Only comments after this one: the lastComment you got. -1 gives the latest 20 | |
| include_screenshot | No |