wait_for_request
Pause execution until the page emits a network request matching a URL substring, verifying that a user action fired its expected API call.
Instructions
Block until the page ISSUES a request matching a URL substring (wait_for_response waits for the reply). Use it to confirm an action actually fired its API call.
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_pattern": "<url_pattern>"
},
"name": "wait_for_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Optional HTTP verb filter (GET/POST/…) | |
| timeout | No | ||
| url_pattern | Yes |