save_memory
Stores persistent context notes, architectural decisions, task handoffs, lessons, beliefs, or heuristics in a local or global Memory Vault, masking secrets and isolating directories.
Instructions
Saves a persistent context note, architectural decision, task handoff, lesson, belief, or heuristic into the workspace or global shared Memory Vault. Masks secrets and provides directory isolation.
Args: title: Short descriptive title of the memory entry. content: Detailed markdown notes, architectural rationale, or handoff context. workspace_dir: Workspace root directory. Empty = engine.default_workspace from the config, else the server's current directory. kind: Entry category ('context' | 'decision' | 'handoff' | 'lesson' | 'belief' | 'heuristic'). tags: Optional list of keyword tags for filtering and discovery. memory_id: Optional custom identifier (alphanumeric/hyphen/underscore). Auto-generated if omitted. scope: Storage scope ('local' for workspace, 'global' for cross-workspace). Default is 'local'. confidence: Certainty score in [0.0, 1.0] for belief/heuristic-style entries. Default 1.0. project: Optional project slug (e.g. 'botex', 'tw3se', 'swarm') for logical partitioning. origin: Optional provenance identifier '@'. Falls back to X-Agent-Id@X-Host session header or 'botex'. Reserved identity claims ('human', 'human-curated', 'operator', 'curator') are rejected.
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": {
"title": "<title>",
"content": "<content>"
},
"name": "save_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | context | |
| tags | No | ||
| scope | No | local | |
| title | Yes | ||
| origin | No | ||
| content | Yes | ||
| project | No | ||
| memory_id | No | ||
| confidence | No | ||
| workspace_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||