Get Errors
get_errorsRetrieve all notebook errors by cell, including structured marimo CellErrors and stderr console exceptions for debugging.
Instructions
Get all errors in the notebook session, organized by cell.
Two channels are reported and never conflated:
structured_errors: marimo's structured CellError records (kind graph|runtime, msg, exception).console_stderr: serialized stderr console events (same shape as get_cell_outputs), so UI-handler exception tracebacks are visible even when the structured channel is empty.
has_errors / total_errors / total_cells_with_errors are the
STRUCTURED-only counts (backward-compatible); has_console_exception /
total_console_exception_cells cover the console channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_url | No | Optional server URL override. Optional if an active server_url is bound. | |
| session_id | No | Session ID from list_active_notebooks. Optional if an active session is bound. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||