delete_edge
Remove a relationship between two nodes by deleting an edge using its ID.
Instructions
Delete an edge from the graph.
Use this tool when: you need to remove a relationship between two nodes. Do NOT use for: deleting nodes (use delete_node) or updating edge properties (use update_edge).
Args: edge_id: The ID of the edge to delete.
Returns: Confirmation message on success, or an error message.
Examples: delete_edge(5)
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": {
"edge_id": "<edge_id>"
},
"name": "delete_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |