get_console_logs
Retrieve browser console messages and uncaught exceptions, including existing and new entries, with optional filtering by log level and limit.
Instructions
Return browser console messages and uncaught exceptions. Includes messages already visible in DevTools before this server connected, plus new output produced afterwards. Exceptions are reported with their full stack trace (source-mapped when available).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of most-recent entries to return | |
| level | No | Filter by log level / type. Omit to return all levels. | |
| clear | No | Clear the buffer after returning entries |