arango_shortest_path
Compute the shortest path between two vertices in ArangoDB, with support for direction and graph or edge collections.
Instructions
Compute the shortest path between two vertices (by graph or edge collections).
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": {
"start_vertex": "<start_vertex>",
"end_vertex": "<end_vertex>"
},
"name": "arango_shortest_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_vertex | Yes | ||
| end_vertex | Yes | ||
| direction | No | OUTBOUND | |
| graph | No | ||
| edge_collections | No | ||
| return_paths | No | ||
| database | No | Database override |