store_memory
Store and persist conversation memories for AI agents. Supports episodic, semantic, and procedural memory types with adjustable importance weights.
Instructions
Store a memory for an agent/user pair. Content is embedded locally (ONNX)
and persisted to Postgres. Returns the memory ID on success.
Args:
agent_id: Unique identifier for the agent storing the memory.
user_id: Unique identifier for the user this memory belongs to.
content: The text to remember (max 8000 chars).
memory_type: 'episodic' (events/conversations), 'semantic' (facts/preferences),
or 'procedural' (workflows). Default: episodic.
importance: Weight multiplier 0.0–2.0. Use >1.0 for critical facts. Default: 1.0.
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": {
"agent_id": "<agent_id>",
"user_id": "<user_id>",
"content": "<content>"
},
"name": "store_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| user_id | Yes | ||
| content | Yes | ||
| memory_type | No | episodic | |
| importance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |