36 lines
1.4 KiB
JSON
36 lines
1.4 KiB
JSON
{
|
|
"name": "chrome_network_capture",
|
|
"description": "Unified network capture tool. Use action=\"start\" to begin capturing, action=\"stop\" to end and retrieve results. Set needResponseBody=true to capture response bodies (uses Debugger API, may conflict with DevTools). Default mode uses webRequest API (lightweight, no debugger conflict, but no response body).",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"action": {
|
|
"type": "string",
|
|
"enum": ["start", "stop"],
|
|
"description": "Action to perform: \"start\" begins capture, \"stop\" ends and returns results"
|
|
},
|
|
"needResponseBody": {
|
|
"type": "boolean",
|
|
"description": "When true, captures response body using Debugger API (default: false). Only use when you need to inspect response content."
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"description": "URL to capture network requests from. For action=\"start\". If not provided, uses the current active tab."
|
|
},
|
|
"maxCaptureTime": {
|
|
"type": "number",
|
|
"description": "Maximum capture time in milliseconds (default: 180000)"
|
|
},
|
|
"inactivityTimeout": {
|
|
"type": "number",
|
|
"description": "Stop after inactivity in milliseconds (default: 60000). Set 0 to disable."
|
|
},
|
|
"includeStatic": {
|
|
"type": "boolean",
|
|
"description": "Include static resources like images/scripts/styles (default: false)"
|
|
}
|
|
},
|
|
"required": ["action"]
|
|
}
|
|
}
|