browser_wait
Pause agent execution until an element becomes visible, hidden, or a URL condition matches, or until a page stabilizes. Returns a timeout error when the condition isn't met.
Instructions
Wait for target visibility (gone:true = hidden), URL (substring/glob), ms, or until stable. Fails TIMEOUT.
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": {
"tabId": "<tabId>"
},
"name": "browser_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| url | No | ||
| gone | No | ||
| tabId | Yes | ||
| until | No | Wait until the page stops changing | |
| target | No | Target. | |
| timeout | No |