get_runtime_errors
Retrieve recent runtime errors and unhandled rejections from the preview iframe to diagnose broken or crashed previews. Includes message, stack, file, line, and column when available.
Instructions
Returns recent runtime errors and unhandled-rejection events from the preview iframe. Each error includes message, stack, file, line, column when available. Use this when the user reports a broken preview or you want to see what just crashed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max errors to return (1-50, default 10). | |
| sinceTs | No | Only return errors with ts >= sinceTs (epoch ms). |