save_memory
Saves persistent context notes, architectural decisions, task handoffs, or lessons to a local or global Memory Vault, masking secrets and isolating directories for reliable agent handoffs.
Instructions
Saves a persistent context note, architectural decision, task handoff, or lesson
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').
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'.
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 | ||
| content | Yes | ||
| memory_id | No | ||
| workspace_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||