get_custom_events
Retrieve unhandled CDP events from domains like Target or Debugger that are not covered by specialized listeners. Filter by method and limit result size for custom browser event analysis.
Instructions
EXPERIMENTAL: Retrieves unhandled CDP events from domains not covered by specialized listeners (network, console, etc.). Side effects: none (read-only cache access). Prerequisites: requires active Chrome connection with send_cdp_command or custom domain listeners active. Returns: JSON array of custom events with method, parameters, and timestamp. Use this to see Target, Debugger, or other domain events. Alternatives: domain-specific listeners (get_network_logs, get_console_logs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Maximum number of events to return. Constraints: positive integer (0 = unlimited, clamped to cache size). Interactions: limits result set size. Defaults to: 100. | |
| tab_id | No | The Tab ID of the target tab. Omit to use the active tab. | |
| instance_id | No | Chrome instance id from open_instance/list_instances. Omit for the default instance. | |
| filter_method | No | Filter events by CDP method name (case-sensitive). Constraints: string matching format 'Domain.eventName'. Interactions: when omitted, returns all events. Defaults to: None (no filtering). |