memory_insert
memory_insert · Tools · Knowledge
Insert a memory unit into one of this tool's namespaces, named by namespace_id. Returns the new memory ULID.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
half_life_seconds | integer | No | Durability half-life for relevancy decay. Shorter for volatile knowledge; longer or null for stable knowledge. |
initial_relevancy | number | No | Initial memory relevancy from 0.0 to 1.0: signal quality/usefulness when stored. This is not search confidence. Direct observations and authoritative sources should be high; noisy sources or weak inferences lower. |
links | object[] | No | Links stored with the memory. Use relation source to record where it came from. Relations related and supersedes need an existing memory id, so add those with memory_link_add after insert. |
namespace_id | string | Yes | ULID of the namespace to save the memory in, from memory_namespace_list. |
properties | object | No | Arbitrary key/value properties stored with the memory. |
text | string | Yes | The memory itself. This is what recall searches and returns. |
title | string | Yes | Short label naming what the memory is about, at most 255 characters. Shown wherever the memory is listed; keep it to a few words. |