save_memento
Save a short note to persistent memory for future AI sessions by choosing a global or repository scope, with optional tags and expiration to keep context relevant and organized.
Instructions
Saves a persistent memento across sessions. The AI must choose whether it belongs to global memory or the current repository. Requires init_memento or get_mementos first.
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>",
"scope": "<scope>"
},
"name": "save_memento"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 2-4 keywords for contextual filtering. | |
| text | Yes | Clear, concise memento content. | |
| scope | Yes | Storage scope: global or repo. | |
| expires | No | Expiration date (YYYY-MM-DD) or 'never'. Defaults to 'never'. |