add_working_memory
Create session-scoped working memory entries with automatic expiration and optional promotion to long-term knowledge graph storage.
Instructions
Create a TTL-based short-term working memory entry scoped to a session. Working memories auto-expire and can be promoted to long-term storage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | Optional task ID for task-scoped memory | |
| content | Yes | The memory content | |
| ttlHours | No | Time-to-live in hours (default: 24) | |
| sessionId | Yes | Session ID this memory belongs to | |
| importance | No | Importance score (0-10) |