promote_session
Convert session insights to permanent memories before 48-hour expiration. Extract key decisions and patterns from active sessions to preserve critical learnings for long-term recall.
Instructions
Save the most important things from a session as permanent memories.
Session data expires 48 hours after completion. Use this to extract key learnings before ending a session — promoted items become permanent memories that persist forever.
Use this when:
Before calling
end_session:promote_session("s001", ["OAuth2 migration requires updating all 3 microservices", "Rate limiter must fail closed for auth endpoints"])Important decisions were made during the session
You discovered patterns worth remembering long-term
Args: session_id: The session to promote from (e.g., "s001"). Must be an active (not yet completed) session. key_takeaways: List of strings — each becomes a permanent memory. Be specific and include context so they're useful standalone.
Returns: Count of how many takeaways were promoted to permanent memory. Returns an error if the session doesn't exist or key_takeaways is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| key_takeaways | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |