Graph find path
graph_find_pathFind the shortest relationship path (if any) between two nodes — e.g. how a member connects to an instructor, or two members to each other.
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": {
"from_type": "<from_type>",
"from_id": "<from_id>",
"to_type": "<to_type>",
"to_id": "<to_id>"
},
"name": "graph_find_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_id | Yes | ||
| from_id | Yes | ||
| to_type | Yes | ||
| from_type | Yes | ||
| max_depth | No | 1-6, default 4. |