memory_store_with_link
Store a new memory and link it to an existing memory in one call, ideal for saving replies, verifications, or fixes that respond to earlier memories. Set reverse=true to make the new memory the link target instead.
Instructions
Store a new memory and link it to an existing memory in one call.
Combines memory_store and memory_link for the common case of storing a reply, verification, or fix that responds to an earlier memory. By default the new memory is the link source (new -relationship-> target); set reverse=true to make the new memory the link target instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| context | No | ||
| reverse | No | ||
| metadata | No | ||
| confidence | No | ||
| provenance | No | ||
| memory_class | No | semantic | |
| relationship | No | RESPONDS_TO | |
| target_memory_id | Yes |