wait
Pause agent execution for a set delay, until the screen image stops changing, or until a window title matches a regular expression, with a configurable timeout.
Instructions
Wait for a delay, for the image to stop changing (stable_ms) or for a window title (regexp).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | plain delay in milliseconds | |
| title | No | return once a window title matches this regular expression | |
| screen | No | screen name; optional when the session owns exactly one screen | |
| stable_ms | No | return once the image has not changed for this long | |
| timeout_ms | No | give up after this long, default 5000 |