Export the debugging session
export_sessionCapture the entire runtime session as a versioned JSON file — brief for diagnosis context, full for bug reports, offline analysis, or regression fixtures.
Instructions
The whole session as one versioned JSON artifact: metadata, per-collector health, retention, the captured events, and every diagnosis (runtime, performance, navigation, rebuilds). Use mode 'brief' for the smallest sufficient context — the diagnoses plus only the events their evidence cites — and 'full' to archive everything retained, for a bug report, offline analysis or a regression fixture. Sizes are not close: measured on a ~1,700-event session, 'brief' returned 36kB and 'full' returned 247kB — roughly 62,000 tokens, about a third of a 200k context window, so treat 'full' as something to write to a file rather than read inline. Credentials are already redacted at capture, so nothing here was ever stored raw.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'brief': diagnoses plus only the cited events. 'full': everything retained. | brief |