Save or Batch-Upsert Project Memory
save_project_memorySave a memory note, session log, or atomic batch of architecture entries; matching slug or id updates in place while SQLite preserves revisions.
Instructions
Save a single memory note, session log, or atomic batch of foundational architecture nodes (via entries array). Automatically updates existing nodes matching slug or id, preserving revisions in SQLite.
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": {
"project_path": "<project_path>"
},
"name": "save_project_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional existing ID to update in-place | |
| slug | No | Canonical slug (e.g. 'tech-stack', 'project-structure', 'build-run') | |
| tags | No | Keyword tags for search indexing | |
| files | No | Workspace-relative file paths linked to this memory | |
| title | No | Title of memory (required if entries array is omitted) | |
| entries | No | Atomic batch of memory entries to save together in one transaction | |
| summary | No | Markdown context or session log (required if entries array is omitted) | |
| category | No | Category ('architecture', 'decision', 'session', 'note'); auto-inferred if omitted | |
| project_path | Yes | Absolute path to the project workspace root |