cdp_command
Execute any Chrome DevTools Protocol Domain.method on a running Electron target to automate or debug pages, runtime, network, and DOM behavior.
Instructions
Execute an arbitrary Chrome DevTools Protocol method on a target (Domain.method)
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": "cdp_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | CDP method name, e.g. "Page.navigate" or "Runtime.evaluate" | |
| params | No | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |