Extract & Store Memories
memory_extractExtracts memory-worthy facts from conversation text using an LLM and stores each one automatically, so you can capture user details without manual memory addition.
Instructions
Runs automatic fact extraction (PRD section 9) over a chunk of conversation text using an LLM, then stores each memory-worthy fact found. Requires ANTHROPIC_API_KEY to be configured on the server; otherwise returns an error explaining to use memory_add manually.
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": {
"text": "<text>"
},
"name": "memory_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw conversation text to extract memories from | |
| user_id | No | ||
| namespace | No |