memory_ingest
Saves important project decisions, preferences, and debugging context to persistent memory with titles, tags, and topic spaces so AI assistants can retrieve relevant knowledge across sessions.
Instructions
Save important context to persistent memory — be proactive. Call this WHENEVER you learn information that would be valuable in a future conversation: project decisions ('we chose Postgres because X'), architectural choices, user preferences, debugging insights, recurring patterns, deadlines, stakeholder context, or any 'remember this' / 'save this' / 'note that' style request from the user. Heuristic: if you would be sad to lose this fact when the conversation ends, ingest it. Better to over-save than to under-save — the memory_query semantic search will surface what's relevant later. Always pass meaningful title and tags so the item is discoverable. Set deduplicate:false to save even if identical content already exists. ROUTE BY TOPIC: pass space:"<name>" matching the memory's topic so it lands in the right space instead of the catch-all default. If you don't yet know the project's spaces, call cf_tools with query "list spaces" once and reuse the result. Saving without space: piles everything into one default space — avoid it in multi-space projects.
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": {
"content": "<content>"
},
"name": "memory_ingest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags for categorization | |
| title | No | Optional title for the content | |
| content | Yes | The content to store in memory | |
| category | No | Optional category | |
| space_id | No | Space UUID (uses default if not specified) | |
| source_uri | No | Optional source URI (file path, URL, etc.) | |
| deduplicate | No | Skip saving if identical content already exists (default: true). Set to false to force a copy even when a duplicate is detected. | |
| source_type | No | Type of source (default: manual) | |
| related_paths | No | Files/dirs this memory is about (e.g. ["src/api.ts"]). Enables staleness detection when that code changes. |