Get Network Requests
get_network_requestsFetch recent network requests from a browser tab to discover hidden APIs and inspect XHR/fetch calls; pair request IDs with get_response_body to read responses.
Instructions
Recent requests by the page. Discover hidden APIs (then tls_fetch to skip DOM).
Pair w/ get_response_body by request_id.
Ex: get_network_requests('t0') → {"_untrusted":true,"requests":[{"id":"...","url":"...","method":"GET","type":"XHR"}]}
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": {
"tab_id": "<tab_id>"
},
"name": "get_network_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_n | No | ||
| tab_id | Yes | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||