manage_edges
Add, remove, or batch-create typed edges between existing nodes to model dependencies, references, and visual state links without altering node data.
Instructions
Manage typed graph relationships between nodes (actions: add, remove, batch_add, link_visual). Use manage_edges instead of manage_nodes when creating or modifying relationships between existing entities rather than entity data itself.
Returns created edge record, batch count, or visual link confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "manage_edges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | The semantic relationship type. | |
| edges | No | Array of edge objects for batch_add. | |
| action | Yes | The edge management action to execute: add, remove, batch_add, link_visual. | |
| 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. |