read_console
Retrieve console messages, including errors, warnings, and logs, from a browser page to debug issues. Filter by level or limit results as needed.
Instructions
Read console messages captured since page load, incl. uncaught errors and unhandled rejections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear buffer after read | |
| level | No | all merges every level in one chronological list | all |
| limit | No | Most recent; buffer 1000 | |
| format | No | lines is compact; json keeps timestamps and stack traces | lines |
| tab_id | No | Target tab; omitted = last tab navigated in this session, else the active one | |
| sourcemap | No | Resolve bundle.js:line:col frames to source files through their source maps |