Observe deployment progress
deployments.observeRead an immediate authorized deployment snapshot, then use its opaque cursor to wait up to 30 seconds for a status event while receiving only the bounded build or runtime log delta. Use resource_id for a serving-state check when present, and stop when terminal is true.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"log_mode": "auto",
"log_limit": 50,
"deployment_id": "deployment-id"
},
"name": "deployments.observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | opaque next_cursor returned by the previous observation; omit for an immediate initial snapshot | |
| log_mode | No | bounded log stream to include: auto selects by deployment stage; defaults to auto | |
| log_limit | No | maximum new log entries to include; defaults to 50 | |
| wait_seconds | No | maximum seconds to wait for a change after an initial cursor; defaults to 25 | |
| deployment_id | Yes | authorized deployment identifier | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| observation | Yes |