Send Raw CDP command
browser_cdp_sendSend any Chrome DevTools Protocol method with JSON params directly to the browser session, bypassing method allowlists and response sanitization. Use targetSessionId for child targets.
Instructions
Send any CDP method and JSON params without a method allowlist or response sanitization. Use targetSessionId for a child target previously attached within this Raw CDP session.
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": {
"sessionId": "<sessionId>",
"method": "<method>"
},
"name": "browser_cdp_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| params | No | ||
| sessionId | Yes | ||
| targetSessionId | No |