localnest_memory_update
Update stored memory entries and append revisions to maintain accurate local knowledge bases for AI agents.
Instructions
Update a stored memory entry and append a revision.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | No | knowledge | |
| title | No | ||
| summary | No | ||
| content | No | ||
| status | No | active | |
| importance | No | ||
| confidence | No | ||
| tags | No | ||
| links | No | ||
| scope | No | ||
| source_type | No | ||
| source_ref | No | ||
| change_note | No | Memory updated | |
| response_format | No | json |
Implementation Reference
- src/mcp/tools/memory-store.js:147-152 (handler)The handler function for 'localnest_memory_update', which calls memory.updateEntry.
async ({ id, ...patch }) => { const result = await memory.updateEntry(id, patch); return normalizeMemoryEntryPayload(result, { updated: true }); } - src/mcp/tools/memory-store.js:120-146 (registration)The registration block for 'localnest_memory_update' including its input schema and metadata.
['localnest_memory_update'], { title: 'Memory Update', description: 'Update a stored memory entry and append a revision.', inputSchema: { id: z.string().min(1), kind: MEMORY_KIND_SCHEMA.optional(), title: z.string().min(1).max(400).optional(), summary: z.string().max(4000).optional(), content: z.string().min(1).max(20000).optional(), status: MEMORY_STATUS_SCHEMA.optional(), importance: z.number().int().min(0).max(100).optional(), confidence: z.number().min(0).max(1).optional(), tags: z.array(z.string()).max(50).optional(), links: z.array(MEMORY_LINK_SCHEMA).max(50).optional(), scope: MEMORY_SCOPE_SCHEMA.optional(), source_type: z.string().max(60).optional(), source_ref: z.string().max(1000).optional(), change_note: z.string().max(400).default('Memory updated') }, annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false } },