memory_merge
Combine two memories by merging content from source to target, then removing the source. Choose to append, prepend, or replace content.
Instructions
Merge source memory into target, then delete source.
Combines two memories into one, preserving content and metadata.
Args: source_id: Memory ID to merge from (will be deleted) target_id: Memory ID to merge into (will be updated) merge_strategy: How to combine content: - "append": Append source content to target (default) - "prepend": Prepend source content to target - "replace": Replace target content with source
Returns: Updated target memory and deletion confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_id | Yes | ||
| target_id | Yes | ||
| merge_strategy | No | append |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |