sleeper_wait_xhr
Pauses automation until a browser XHR request matching a URL substring occurs or times out, letting agents synchronize actions with network responses.
Instructions
Wait for XHR matching URL substring
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": {
"url_substring": "<url_substring>"
},
"name": "sleeper_wait_xhr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| method | No | ||
| profile | No | Browser ID from sleeper_sessions; optional with one connected browser. | |
| timeout_ms | No | ||
| url_substring | Yes |