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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"target_memory_id": "<target_memory_id>"
},
"name": "memory_store_with_link"
}
}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 |