web_capture
Captures a page’s XHR and JSON responses to uncover the API behind listings and pagination, then inspects matching endpoints and payloads for direct page requests.
Instructions
Find the JSON API behind a listing or pagination: records the XHR and JSON responses a page makes while it loads. Call without pattern to see the endpoints, then with pattern and bodies for the payloads. An endpoint that took page=1 takes page=2, which beats following links.
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>"
},
"name": "web_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| tier | No | browser | stealth | real (default) | warm | |
| bodies | No | Return the response bodies | |
| pattern | No | Only responses whose URL contains this, e.g. /api/ | |
| profile | No | Cookies of a saved login profile | |
| max_body | No | Chars per body, default 20000 | |
| settle_ms | No | Keep recording this long after load, default 3000 |