memory_merge
Merge source memory into target using append, prepend, or replace. Source is deleted, consolidating two memories into one.
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 |