Edit edge
edit_edgeModify an existing graph edge's endpoints, label, style, ID, or properties while leaving other fields unchanged. Use empty strings to clear label or style.
Instructions
Edit an edge: endpoints, label, style, id or properties. Only the given fields change; "" clears label/style.
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": {
"id": "<id>"
},
"name": "edit_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | No | ||
| newId | No | ||
| style | No | ||
| source | No | ||
| target | No | ||
| properties | No | ||
| setProperties | No | ||
| removeProperties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | Yes | ||
| file | Yes | Current graph file; null when the graph is in memory only |