arango_add_edge
Create a directed edge connecting two existing documents in ArangoDB, with optional attribute payload. Specify collection, from and to IDs.
Instructions
Add an edge document between two vertices with optional attributes.
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": {
"collection": "<collection>",
"from_id": "<from_id>",
"to_id": "<to_id>"
},
"name": "arango_add_edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | ||
| from_id | Yes | _from document id, e.g., users/123 | |
| to_id | Yes | _to document id, e.g., orders/456 | |
| attributes | No | ||
| database | No | Database override |