Remember a fact
remember_factStore one durable fact in encrypted long-term memory for later recall across sessions—ideal for preferences, decisions, identifiers, or recurring constraints; not for secrets or session-only details.
Instructions
Store one durable fact in encrypted long-term memory, readable later by recall_context.
Use this when the user states something worth keeping across sessions: a preference, a decision, an identifier, a recurring constraint. Do NOT use it for conversation that only matters in this session, for secrets or credentials, or to restate something already stored — storing the same fact twice creates two memories that both surface on recall.
The write is only reversible by a client holding the same key store, so the fact cannot be read back from another machine or a hosted instance. A stored fact can be deleted before it expires, but only by that same holder.
Args: fact_text: The fact to persist, as a self-contained sentence that still makes sense alone: "prefers oat milk in coffee", not "that one". Shorter text embeds more precisely and recalls better. scope: One of: financial, medical, preferences, work. A partition label deciding who and what can read the fact back, so recall must ask for the same one. Any other label stores nothing and returns an error. retention: One of: 30d, 90d, 365d (default 30d). How long the fact stays retrievable before the server expires and purges it. Expiry is irreversible.
Returns the new memory id, or "error: ..." with nothing stored when the scope or retention is rejected. An unusable credential, an unreachable API or a rejected envelope all follow the same rule: an error and no partial write.
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": {
"fact_text": "<fact_text>",
"scope": "<scope>"
},
"name": "remember_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| fact_text | Yes | ||
| retention | No | 30d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |