Extract Conversation
Retrieve a saved conversation using the get_conversation MCP tool.
Argument Parsing
Parse $ARGUMENTS for:
- •id (required,
$0): conversation ID (full UUID or short prefix) - •section (optional,
$1): one offull,decisions,code,errors— defaults tofull
Examples
- •
/session-vault:extract abc12345— full conversation - •
/session-vault:extract abc12345 decisions— only decisions - •
/session-vault:extract abc12345 code— only code blocks - •
/session-vault:extract abc12345 errors— only errors
Steps
- •
Validate arguments. The
idargument is required. If missing, ask the user to provide a conversation ID. Suggest running/session-vault:historyto find one. - •
Call
get_conversationwith:- •
id: the conversation ID from$0 - •
section: the section from$1, or"full"if not provided
- •
- •
Display the result with a metadata header:
code## Conversation: <summary> - **ID:** <full id> - **Project:** <project> - **Saved:** <date> - **Tags:** <tags> - **Messages:** <count>
Followed by the conversation content.