remember
Store information for later recall to persist data across AI agent sessions, enabling memory retention and organized storage with optional categorization.
Instructions
Store a memory for later recall. Use this to persist information across sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The information to remember | |
| namespace | No | Optional namespace/category (default: "default") | |
| metadata | No | Optional metadata tags |
Implementation Reference
- src/index.js:31-43 (registration)Registration of the 'remember' tool in the ListToolsRequestSchema handler.
{ name: 'remember', description: 'Store a memory for later recall. Use this to persist information across sessions.', inputSchema: { type: 'object', properties: { content: { type: 'string', description: 'The information to remember' }, namespace: { type: 'string', description: 'Optional namespace/category (default: "default")' }, metadata: { type: 'object', description: 'Optional metadata tags' }, }, required: ['content'], }, }, - src/index.js:113-115 (handler)Handler implementation for the 'remember' tool within the CallToolRequestSchema handler.
case 'remember': result = await call('POST', '/memories', args); return { content: [{ type: 'text', text: `Memory stored with ID: ${result.id}` }] };