Save Memory
save_memorySafely write or update memory Markdown files with secret blocking, file locking, UTF-8/LF normalization, and automatic Last Verified date stamping; no git commit or push.
Instructions
Safely write/update a memory Markdown file with built-in secret blocking, file locking, UTF-8/LF normalization, and automatic Last Verified date stamping. Does NOT run git commit or git push.
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": {
"target_type": "<target_type>",
"content": "<content>"
},
"name": "save_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Module slug (without .md) — required for 'module' | |
| content | Yes | Full Markdown content to write | |
| project | No | Required for 'overview' and 'module' | |
| target_type | Yes | Which memory layer to write | |
| archive_name | No | Archive filename slug (without .md) — required for 'archive' | |
| update_verified_date | No | Auto-update '最后核对:YYYY-MM-DD' on module files (default: true) |