network
Records a tab's XHR/fetch calls, reads one with credential headers masked, and replays it with changed method, URL, headers, or body to call the site's API directly.
Instructions
Record the tab's XHR/fetch calls, read one (credential headers masked), and replay it with changes. Replay calls the site's own API as the user, often one call instead of many clicks.
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": "network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Request # from list | |
| all | No | list: include documents, scripts, images | |
| max | No | ||
| tab | No | Tab id. Default: your own target tab (each agent session gets its own) | |
| url | No | replay: another URL | |
| body | No | replay: new body (string or JSON) | |
| query | No | list: only matching lines | |
| action | No | start (reload:true catches page-load calls), list (default), get id, replay id, stop | |
| method | No | replay: another method | |
| reload | No | ||
| browser | No | chrome, edge, ... (only when several browsers are connected) | |
| headers | No | replay: headers to add or override |