wait_for_response
Pauses automation until a browser network response matches a URL substring or glob pattern, with optional timeout and page targeting. Use it to synchronize actions with API or page responses.
Instructions
Wait for a network response matching URL pattern.
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": {
"urlPattern": "<urlPattern>"
},
"name": "wait_for_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | ||
| timeout | No | ||
| urlPattern | Yes | URL substring or glob pattern to match |