read_network_requests
Read and filter a tab's captured network requests by URL pattern, method, type, or failures to inspect API calls and identify request IDs for headers and bodies.
Instructions
Requests a tab made, captured since the tab opened: id, method, status, URL, type, size, time. Use get_network_request(id) for headers and bodies - reading an API's JSON there is often better than scraping the page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_network_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Empty the buffer after reading. | |
| limit | No | Newest N requests (default 100). | |
| since | No | Only requests with an id greater than this. | |
| tabId | No | Tab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session. | |
| method | No | ||
| pattern | No | Regular expression matched against the URL (case-insensitive). | |
| failed_only | No | Only failed requests and 4xx / 5xx responses. | |
| resource_type | No | document, xhr, fetch, script, stylesheet, image, font, websocket, ... | |
| reveal_values | No | Show secrets (cookie values, tokens, passwords) instead of masking them. They end up in the transcript; use only when the value itself is needed. |