wait_for_request
Blocks until a matching HTTP request completes, then returns it so you can start the wait before triggering the app action and capture the result.
Instructions
Block until a request whose URL matches completes, then return it. Start this, then trigger the action in the app.
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": "<url>",
"timeout_seconds": "<timeout_seconds>"
},
"name": "wait_for_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL substring or * pattern, e.g. */checkout* | |
| method | No | ||
| status | No | e.g. 2xx | |
| since_seconds | No | Also accept a request that completed this many seconds before the call (in case the action already ran) | |
| timeout_seconds | Yes | 1..300 |