console_capture
Capture browser console output for debugging. Start/stop collection, retrieve logs with filters and pagination, or clear stored data.
Instructions
Capture browser console output (start, stop, get, clear).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID | |
| action | Yes | Action to perform | |
| filter | No | Log types to capture. Default: all | |
| limit | No | Max logs to return (get action) | |
| cursor | No | Opaque pagination cursor returned as nextCursor from a prior console_capture get call. | |
| maxLogs | No | Max logs to store. Default: 1000 | |
| maxBytes | No | Max total bytes of logs to store. Default: 4194304 (4 MiB) | |
| boundaryMarkers | No | Wrap console-origin text in <oc:console>. Default true; false disables. |