browser_export_traffic
Exports captured network requests, responses, headers, POST data, and WebSocket frames to JSON or HAR 1.2 files, with optional masking of tokens, cookies, and credentials for safe sharing.
Instructions
Export all captured network requests, responses, headers, POST data, and WebSocket frames to a structured JSON file or standards-compliant HAR 1.2 file.
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": {
"file_path": "<file_path>"
},
"name": "browser_export_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format: 'json' (custom dictionary) or 'har' (standards-compliant HAR 1.2 for DevTools/Fiddler/Postman/REA) | json |
| file_path | Yes | Absolute or relative file path to save traffic dump (.json or .har) | traffic_dump.json |
| redact_sensitive_headers | No | Automatically mask Authorization tokens, Cookies, and sensitive credentials |