Expand description
Transcript extraction from Claude Code conversation logs
Claude Code stores conversation logs in ~/.claude/projects/
Structs§
- Structured
Content - Structured content from API response
- Tool
Call - A tool call extracted from the transcript
- Tool
Result - A tool result extracted from the transcript
- Transcript
- Full transcript of a session
- Transcript
Message - A single message in the conversation
- Usage
- Token usage stats
Enums§
- Message
Content - Content of a message (can be text or tool use)
Functions§
- export_
transcript_ json - Export transcript as JSON
- find_
claude_ project_ dir - Find Claude Code project directory
- find_
transcripts_ in_ range - Find transcript files that overlap with a time range
- list_
session_ files - List available session files in a project directory
- list_
transcripts - List available transcripts for a project
- parse_
transcript - Parse a JSONL file into a transcript
- print_
full_ transcript - Print the full transcript with all messages and tool calls
- print_
transcript_ summary - Print a transcript summary
- view_
transcript - View a specific transcript or the latest one