Manage Edges
manage_edgesAdd or remove typed relationships between nodes, including batch operations and linking visual states to memory.
Instructions
Manage typed graph relationships between nodes. Supported actions: add (create typed relationship), remove (delete relationship), batch_add (create multiple relationships atomically), link_visual (link task or artifact to visual memory state).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | The semantic relationship type. | |
| edges | No | Array of edge objects for batch_add. | |
| action | No | The edge management action to execute. | |
| project | No | Target project name or slug. | |
| metadata | No | Optional metadata for link_visual. | |
| source_id | No | ID of the source node. | |
| target_id | No | ID of the target node. | |
| properties | No | Optional metadata properties for the edge. | |
| source_url | No | Optional URL where the visual state was captured. | |
| relationship | No | Relationship type for link_visual (e.g. renders_state, blocked_by_visual_state). | |
| visual_state_id | No | Visual Memory snapshot/state ID for link_visual. | |
| visual_description | No | Optional text description for the visual state. |