delete_edge
Delete a relationship from the knowledge graph by its edge_id, preserving the connected entities.
Instructions
Remove a single relationship from the knowledge graph by its edge_id. Get edge_ids from get_entity_neighbors. Deletes only the edge — both entities remain.
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 | The elementId of the edge to delete. |