Read console output
get_consoleRead buffered console messages, uncaught exceptions, and browser logs from attached Android WebView pages; filter by level, keyword, or sequence to get only new entries.
Instructions
Read buffered console messages, uncaught exceptions and browser log entries from an attached page. Returns the most recent matching entries. Pass since_seq from a previous call to get only new entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max entries to return (default 50) | |
| levels | No | Only these levels, e.g. ["warn", "error"] | |
| keyword | No | Case-insensitive substring match on message text and location | |
| since_seq | No | Only entries with seq greater than this | |
| target_id | No | Defaults to the most recently attached page | |
| exclude_keywords | No | Drop entries whose text or location contains any of these (case-insensitive), e.g. ["google-analytics", "doubleclick"] |