network_monitor
Capture network requests from a browser page, including page-initiated traffic. Start recording, trigger the action, then retrieve results with URL pattern filters.
Instructions
Capture network requests via CDP, including those the page issues itself. Workflow: start → trigger the action → get(pattern: 'api').
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": "network_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start recording | get results | stop: return and clear | |
| filter | No | 'failed': only HTTP >= 400 or network errors | |
| pattern | No | Regex for request URLs |