query_neighbors
Retrieve the direct neighbors of a vault node—one hop only—including incoming and outgoing edges with relation type, title, and direction for quick graph context.
Instructions
Return the direct neighbors of a vault node — one hop only. Includes both outgoing and incoming edges with their relation type and direction. Each entry: {uid, title, type, rel_type, direction} where direction is 'in' or 'out'.
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": {
"uid": "<uid>"
},
"name": "query_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |