Raw DevTools Protocol events
cdp_eventsSubscribes to and reads buffered raw Chrome DevTools Protocol events from a tab, such as Network.* or Page.loadEventFired, for debugging and network inspection. Enable the domain first.
Instructions
Subscribes to raw DevTools Protocol events of the tab ("Network.*", "Page.loadEventFired"…) and reads the buffered events. Enable the domain first with cdp_send if it is not already enabled.
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": {
"action": "<action>"
},
"name": "cdp_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the buffer after reading (default true). | |
| limit | No | Return at most this many of the newest events (default 50). | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| action | Yes | What to do. | |
| events | No | Events to subscribe to. |