browser_network
Intercept and control browser network traffic: route, mock, block, or filter requests by type, method, or status, and inspect request details.
Instructions
Network requests/routes
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": {
"action": "<action>"
},
"name": "browser_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL pattern for route/unroute | |
| body | No | Mock response body | |
| type | No | Filter by resource type (xhr, fetch, script, etc) | |
| abort | No | Block requests | |
| action | Yes | Network action | |
| filter | No | Filter requests by text | |
| method | No | Filter by HTTP method (GET, POST, etc) | |
| status | No | Filter by status (200, 2xx, 4xx, etc) | |
| content | No | HAR content embedding | |
| session | No | Session name | |
| requestId | No | Request ID for detail view |