network_recorder
Record and control browser network activity to inspect API calls, media, WebSockets, and GraphQL traffic, then block URLs, mock responses, or 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 | |
| limit | No | For the get action: maximum records to return (default 200, hard max 1000). The result includes totalCount so you know when more records exist. | |
| action | No | get | |
| filter | No | ||
| offset | No | For the get action: number of matching records to skip before returning (default 0). Use with limit to page through a recording. | |
| 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 |