get_neighbors
Retrieve all direct neighbors of a given node, including edge details, with optional filters for relation type and project path.
Instructions
Get all direct neighbors of a node with edge details.
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": {
"label": "<label>"
},
"name": "get_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| project_path | No | Absolute path to a project directory containing graphify-out/graph.json. Optional — defaults to the graph this server was started with. | |
| relation_filter | No | Optional: filter by relation type |