merge_nodes
Consolidate two graph nodes by repointing inbound edges and migrating outbound edges to a kept node, then deleting the duplicate; inspect body preview before appending unique content.
Instructions
Dedup: repoint drop's inbound edges to keep, migrate drop's outbound edges onto keep (deduped; a part_of conflict is a warning, never a failure), delete drop's file. Body is NOT auto-merged -- inspect dropped_body_preview and update_node(keep_id, ..., mode='append') first if unique content from drop should survive (pin R3).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drop_id | Yes | ||
| keep_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kept | Yes | ||
| warnings | No | ||
| dropped_id | Yes | ||
| dropped_body_preview | Yes |