summarize_and_store
Summarize conversation content from a session and store the summary as a memory to capture user preferences, decisions, and key facts.
Instructions
Request the host AI to summarize conversation content, then store the summary as a session_summary memory. This implements the 'borrow host LLM' pattern: CarryMem returns the content that needs summarizing, the host AI generates a concise summary focusing on user preferences, decisions, and key facts, then calls classify_and_remember or declare_preference to store it. No external LLM API key needed.
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_id": "<session_id>"
},
"name": "summarize_and_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Namespace for the stored summary (default 'default') | default |
| max_tokens | No | Maximum tokens of content to return for summarization (default 2000) | |
| session_id | Yes | The session ID to summarize |