wait_for_changes
Wait up to 20 seconds for a newer shared revision. Returns changed=false on timeout; otherwise the current state. Use while collaborating with the user, then inspect their changes before the next edit.
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": {
"sessionId": "<sessionId>",
"token": "<token>",
"afterRevision": "<afterRevision>"
},
"name": "wait_for_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| sessionId | Yes | ||
| timeoutMs | No | ||
| afterRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||