graph_graph_add_edge
Add a directed edge from a source node to a destination node in a graph. Both nodes are automatically created if they do not already exist.
Instructions
[graph] Add a directed edge src → dst. Both nodes are auto-created.
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": {
"name": "<name>",
"src": "<src>",
"dst": "<dst>"
},
"name": "graph_graph_add_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| src | Yes | ||
| dst | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |