memory_link
Record durable subject-predicate-object facts for later querying, with optional validity window and source memory.
Instructions
Record a durable relationship as subject -predicate→ object (e.g. who owns what, which file is canonical, who reports to whom, which key belongs to which service) when a structured fact is worth querying later. Optionally attach the memory it came from (src_id) and a validity window (valid_from/valid_to, unix timestamps) for time-bounded facts. Query these edges with memory_relations. Use alongside memory_store (prose), not instead of it. Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | ||
| src_id | No | ||
| subject | Yes | ||
| valid_to | No | ||
| namespace | No | ||
| predicate | Yes | ||
| valid_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |