Memory Context
memory_contextLoads the user's persistent memory as preformatted text to prepend to your context at task start. Use the optional query to prioritize relevant memories.
Instructions
Load the user's memory as text ready to put in your context.
Call this once near the start of a task. The returned context string
is the backend's own injection format and should be treated as opaque
text -- prepend it to the conversation rather than parsing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional current-task hint; backends with relevance ranking use it to prioritise more useful memories. | |
| user_id | No | Whose memory to load. Defaults to the configured user. | |
| thread_id | No | Optional conversation id, for backends that scope reads by thread. | |
| agent_name | No | Optional per-agent bucket. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||