memory_relate
tools/call
Create a typed relationship between two durable memories.
Scopes
curate:memory
A memory recorded from an agent session also needs read:agent_sessions; without it the memory is left out, or reads as NOT_FOUND.
Inputs
- sourceMemoryIdstringRequired
- Source memory ID
- targetMemoryIdstringRequired
- Target memory ID
- relation"supports" | "contradicts" | "related"Required
- notestring
- Optional relationship evidence
- idempotencyKeystringRequired
- Unique retry key
Returns
The created relationship. A call returns content[0].text with the JSON result and structuredContent.result with the same value.
Listed when
The key has agent access.