wait_for_change
Block until graph nodes change or timeout elapses; returns changed nodes, snapshot, and terminal status when change occurs.
Instructions
Block until any node in the graph changes state, or until the timeout elapses. On a change, returns the changed nodes, a full snapshot, and whether the graph is fully terminal. On a timeout, the snapshot is omitted since nothing moved.
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": {
"graph_id": "<graph_id>"
},
"name": "wait_for_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| timeout_ms | No | Overall wait budget in milliseconds; defaults to 600000 (10 minutes) |