start_network_capture
Capture network traffic in browser sessions to monitor HTTP requests, WebSocket frames, and streaming data for API analysis, debugging, and real-time flow monitoring.
Instructions
Start capturing network traffic on the current browser session. Monitors all HTTP requests and responses, WebSocket frames, and streaming data. Can filter by POST requests only, streaming responses only, or specific URL patterns. Essential for analyzing API calls, debugging network issues, or monitoring real-time data flows.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
options | No | Optional capture configuration | |
sessionId | Yes | Session ID obtained from initialize_session |
Input Schema (JSON Schema)
{
"properties": {
"options": {
"description": "Optional capture configuration",
"properties": {
"capturePostOnly": {
"default": false,
"description": "Only capture POST requests (default: false)",
"type": "boolean"
},
"captureStreaming": {
"default": false,
"description": "Only capture streaming responses (default: false)",
"type": "boolean"
},
"maxCaptures": {
"default": 100,
"description": "Maximum number of captures to store (default: 100)",
"type": "number"
},
"urlFilters": {
"default": [],
"description": "Array of URL patterns to filter captures (default: [])",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"sessionId": {
"description": "Session ID obtained from initialize_session",
"type": "string"
}
},
"required": [
"sessionId"
],
"type": "object"
}