# cdp_batch

Run a CDP bridge batch command; pass the full JSON command object as text.

Agent View of the PolicyLayer registry record for `cdp_batch`. HTML page: https://policylayer.com/tools/335234131-agent-browser-mcp/cdp-batch

## Facts

- Tool: `cdp_batch`
- Server: Agent Browser (`335234131/agent-browser-mcp`) — https://policylayer.com/tools/335234131-agent-browser-mcp.md
- Homepage: https://github.com/335234131/agent-browser-mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cdp_batch",
    "arguments": {}
  }
}
```

## Why cdp_batch is rated High

cdp_batch executes external operations (CDP commands) whose effects are entirely argument-dependent and can modify browser state, intercept traffic, manipulate the DOM, or exfiltrate sensitive data from authenticated sessions. This is Execute rather than Write because CDP commands are system-level browser control operations that go beyond simple data creation/modification.

From the tool's own definition: "Tool enables direct execution of Chrome DevTools Protocol (CDP) commands via JSON objects. CDP provides low-level control over browser state, navigation, DOM manipulation, and network interception."

## Use case

AI agents invoke cdp_batch to trigger actions in Agent Browser. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Agent Browser:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "cdp_batch": {
      "limits": [
        {
          "counter": "cdp_batch_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Agent Browser (19)

- `cdp_command` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/cdp-command.md
- `execute_js` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/execute-js.md
- `hotkey` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/hotkey.md
- `mouse_click` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/mouse-click.md
- `mouse_drag` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/mouse-drag.md
- `mouse_move` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/mouse-move.md
- `open_new_tab` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/open-new-tab.md
- `open_url` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/open-url.md
- `switch_tab` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/switch-tab.md
- `type_text` — Execute — https://policylayer.com/tools/335234131-agent-browser-mcp/type-text.md
- `capture_desktop_screenshot` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/capture-desktop-screenshot.md
- `capture_page_screenshot` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/capture-page-screenshot.md
- `extension_path` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/extension-path.md
- `get_cookies` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/get-cookies.md
- `get_setup_status` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/get-setup-status.md
- `list_extensions` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/list-extensions.md
- `list_tabs` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/list-tabs.md
- `pointer_info` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/pointer-info.md
- `scan_page` — Read — https://policylayer.com/tools/335234131-agent-browser-mcp/scan-page.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=335234131-agent-browser-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/335234131-agent-browser-mcp
