cdp_events
Retrieve buffered Chrome DevTools Protocol events from the active tab or a specified tab, using cursor pagination and filters to selectively access event types while maintaining data continuity.
Instructions
Read buffered Chrome DevTools Protocol events from the active tab (or tab_id) via the cdp tab capability. Returns { cursor, events, hasMore, truncated }. Page from each returned cursor with after_sequence while hasMore is true; truncated means older events were evicted. Discover child target selectors from Target.attachedToTarget events. Requires full CDP access enabled.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cdp_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events to return (1-1000). | |
| tab_id | No | Optional tab id. | |
| methods | No | Only return these CDP event methods (must be non-empty if given). | |
| target_id | No | Filter by child target targetId. | |
| session_id | No | Filter by child target sessionId. | |
| timeout_ms | No | Wait up to this many ms for the first match. | |
| after_sequence | No | Return events after this cursor; omit to start at the current position. |