console_logs
Retrieve console messages from Electron apps to monitor logs, errors, and debug output. Filter by source and type, or clear the buffer after reading.
Instructions
Return recent console messages captured since the app started. Includes renderer console (log/info/warn/error/debug) and main-process stdout/stderr. Pass clear: true to drain the buffer after reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries to return. Default 200. | |
| source | No | Filter by source. Default all. | |
| type | No | Filter by message type (e.g. "error", "warn", "log", "stderr"). Default all. | |
| clear | No | If true, drain the buffer after reading. |