Wait
browser_waitWait briefly for page activity. ms (or durationMs) must be 0–30000; negative values are INVALID_ARGUMENT. Values above 30000 are INVALID_ARGUMENT. Sending both ms and durationMs is INVALID_ARGUMENT. The result reports waitedMs and clamped. clamped is true only when the requested ms was reduced, and then the result includes requestedMs and reason (for example the command timeout budget). A value inside 0–30000 that finishes is not clamped. The call is allowed 35 seconds so a 30000 ms wait does not return EXTENSION_TIMEOUT. If urlIncludes is set and the tab URL does not contain it before the wait ends, the call returns TIMEOUT. After release_control, wait returns HUMAN_HAS_CONTROL even if a JavaScript dialog is still open. While the agent has control and a JavaScript dialog is open, wait returns DIALOG_PENDING. A second release returns ALREADY_RELEASED.
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>"
},
"name": "browser_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | Wait duration in milliseconds (0–30000). | |
| sessionId | Yes | ||
| durationMs | No | Alias for ms (0–30000). Do not send both. | |
| urlIncludes | No |