cdp_command
Executes any Chrome DevTools Protocol method on an Electron target to inspect, control, or debug app processes via Domain.method calls.
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. |