google_cdp
Sends raw Chrome DevTools Protocol commands to a browser or page, enabling custom automation like screenshots or user-agent overrides when built-in actions are insufficient.
Instructions
逃生舱:直接发一条 CDP 命令(scope=browser/page)。如 Page.captureScreenshot、Network.setUserAgentOverride。
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": "google_cdp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| method | Yes | ||
| params | No | ||
| tab_id | No | ||
| timeout_ms | No |