export_conversation
Export a Claude Code conversation to markdown or JSON. Specify the conversation path and optionally include tool results for backup or sharing.
Instructions
Export a Claude Code conversation to markdown or JSON format for backup or sharing.
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": {
"path": "<path>"
},
"name": "export_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the conversation file to export (required) | |
| format | No | Export format: markdown or json. Default: markdown | |
| include_tool_results | No | Include tool results in the export. Default: false |