get_console_logs
Retrieve browser console logs with filtering by type, text search, and time range. Choose grouped output to see deduplicated lines with counts or raw chronological format.
Instructions
[may return preview+token] Retrieve console logs with filtering and token‑efficient output. Defaults: since='last-interaction', limit=20, format='grouped'. Grouped output deduplicates identical lines and shows counts. Use format='raw' for chronological, ungrouped lines. Large outputs return a preview and a one-time token to fetch the full payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type filter (all, error, warning, log, info, debug, exception). Note: 'error' also includes 'exception' entries for convenience. | |
| search | No | Text to search for in logs (handles text with square brackets) | |
| limit | No | Maximum entries to return (groups when grouped, lines when raw). Default: 20 | |
| since | No | Filter logs since a specific event: 'last-call' (since last get_console_logs call), 'last-navigation' (since last page navigation), or 'last-interaction' (since last user interaction like click, fill, etc.). Default: 'last-interaction' | |
| format | No | Output format: 'grouped' (default, deduped with counts) or 'raw' (chronological, ungrouped) |