memory_merge
Combine two memories into one by merging source content into a target memory and removing the source. Choose append, prepend, or replace to control how content is combined.
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 |