wait
Pause execution until a selector appears, text is present, a field is filled or matches a value, or a timeout elapses, so agents avoid repeated page reads.
Instructions
Wait without spending model rounds. Use selector+hasValue to block until another agent fills a field, selector to wait for an element, text to wait for page text, or ms to sleep. Prefer this over repeatedly reading the page while waiting for someone else.
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 | Wait this many milliseconds (max 30000) | |
| text | No | Wait until the page contains this text | |
| tabId | No | ||
| value | No | With selector: wait until that field equals this exact value | |
| timeout | No | Max wait for selector/text in ms (default 10000) | |
| hasValue | No | With selector: wait until that field is non-empty | |
| selector | No | Wait until this CSS selector matches |