Export Standalone HTML Replay
export_session_replayRedact secrets and PII from an AI coding session, then export it as a single, zero-dependency, XSS-safe interactive HTML replay for safe sharing and review.
Instructions
Scrub secrets & PII and export an AI coding session as a single, zero-dependency, XSS-safe interactive HTML flight replay file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionIdOrPath": "<sessionIdOrPath>"
},
"name": "export_session_replay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional custom title for the exported HTML replay | |
| outputPath | No | Optional output .html path (defaults to <dataDir>/replays/<slug>-replay.html) | |
| includeSystem | No | Include system/checkpoint events (default false) | |
| sessionIdOrPath | Yes | Session ID (or unique prefix) or path to a .jsonl transcript file |