console_capture
Capture browser console logs by starting, stopping, retrieving, or clearing output. Filter by log type, set storage limits, and paginate results for efficient monitoring.
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. |