Wait for a matching request
wait_for_requestWait up to 25 seconds for a captured HTTP request. Optionally filter by exact method and path, case-insensitive header name with exact value, body substring, and RFC3339 lower bound. Returns stored headers, body, and whether the body was truncated.
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": {
"subdomain_id": "<subdomain_id>"
},
"name": "wait_for_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional exact URL path beginning with / | |
| since | No | Optional RFC3339 timestamp; ignore older requests | |
| method | No | Optional exact HTTP method | |
| header_name | No | Optional HTTP header name; must be paired with header_value | |
| header_value | No | Optional exact header value; must be paired with header_name | |
| subdomain_id | Yes | Subdomain ID | |
| body_contains | No | Optional case-sensitive UTF-8 body substring | |
| timeout_seconds | No | How long to wait, in seconds |