Graph neighbors
graph_neighborsTraverse the studio graph from a node up to depth hops (bidirectional by default). Node types: participant, class_session, instructor, offering, location, membership_plan, specialty. Returns reachable nodes with the relationship path.
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": {
"node_type": "<node_type>",
"node_id": "<node_id>"
},
"name": "graph_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rels | No | Only follow these relationships (e.g. ["BOOKED","TAUGHT_BY"]). | |
| depth | No | 1-5, default 2. | |
| node_id | Yes | ||
| direction | No | Default both. | |
| node_type | Yes |