pleach_export
Export a Claude Code session transcript as readable markdown, with truncation control for long transcripts. Get a local, free snapshot of any conversation.
Instructions
A session's conversation rendered as readable markdown (tool dumps elided). Local and free. Long transcripts are truncated at max_chars; prefer pleach_summary for a whole-branch digest.
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": {
"session": "<session>"
},
"name": "pleach_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory to scope to. Omit to use the current project. | |
| session | Yes | Session id, or any unambiguous prefix (like git). | |
| max_chars | No | Truncate beyond this many characters (default 40000). |