edge_cdp_execute
Execute raw Chrome/Edge DevTools Protocol commands on the active page to inspect network activity, capture screenshots, emulate devices, or collect performance metrics.
Instructions
Execute a raw Chrome/Edge DevTools Protocol (CDP) command directly on the active page (e.g. 'Network.getCookies', 'Page.captureScreenshot', 'Emulation.setDeviceMetricsOverride', 'Performance.getMetrics', 'Storage.clearDataForOrigin'). Gives 100% full DevTools power to the AI agent.
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": {
"method": "<method>"
},
"name": "edge_cdp_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Target tab ID (if omitted, uses active tab) | |
| method | Yes | CDP method name formatted as 'Domain.action' (e.g. 'Network.enable', 'Page.printToPDF', 'DOM.getDocument') | |
| params | No | Optional dictionary of parameters matching the CDP method signature |