tab_network
Lists a browser tab's fetch and XHR requests—method, URL, status, and body—so you can identify the APIs a web app calls after clicking or filling forms. Optionally includes headers.
Instructions
List the fetch and XHR requests a tab in the user's browser sent, oldest first: method, URL, status and request body, and with includeHeaders the request headers. The response body is not recorded. Use it to learn the API a web app calls: act on the page with tab_click, tab_fill or tab_type, then read what that sent. Credentials are redacted in the browser before a request leaves it: a body field (form, JSON or multipart), query parameter or header named like a token, password, secret, API key or authorization, and any value shaped like a known token, key or Bearer value, shows as [redacted] with its name kept. The extension keeps the latest 200 requests of each tab since it started; a request sent before that, or by a page load rather than a script, is not listed.
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": "tab_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | How many of the latest matching requests to list. Defaults to 20. | |
| tabId | No | Tab id from tab_list or tab_read. Defaults to the active tab of the browser window the user used last. | |
| urlContains | No | Keep only the requests whose URL contains this text, such as an API host or path. Defaults to all. | |
| includeHeaders | No | Also list each request header. Cookie, Authorization and every other credential header show as [redacted]. Defaults to false. |