page_errors
Read uncaught JavaScript exceptions and stack traces captured at the browser protocol level, enabling quick diagnosis and resolution of page runtime errors.
Instructions
DEBUG CORTEX: read the page's UNCAUGHT JS EXCEPTIONS with stack traces, captured at the protocol level. The error console a developer opens in DevTools — as a tool. Returns JSON [{text, url, line, stack: [frames], ts}]. Auto-starts capture on first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Drain the buffer after reading (default: keep entries). | |
| page_id | Yes | ||
| session_id | Yes |