network_recorder
Record, inspect, and control browser network traffic to debug API calls, block image/tracker requests, mock responses, and export HAR files.
Instructions
Record, inspect, and control network activity. Supports 14 actions: start, stop, get, clear, get_media, get_navigations, get_api_calls, get_intercepted_apis, get_websockets, get_graphql, export_har, block_urls (block images/trackers to boost speed 3x-5x), mock_route (intercept & mock API responses), clear_routes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | No | Configuration for mock_route action | |
| action | No | get | |
| filter | No | ||
| patterns | No | URL patterns or glob filters for block_urls action (e.g. ["*.png", "*.jpg", "*google-analytics*"]) | |
| captureXhrBody | No | Capture fetch/XHR response bodies (JSON or form-urlencoded) | |
| aiDetectStreams | No | Identify video and audio stream URLs in recorded requests |