Node neighbors
node_neighborsThe nodes one link away from a node, with the type and direction of each link.
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": {
"id": "<id>"
},
"name": "node_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of a doc or node (or of an edge, a message or a share link, where the path says so). | |
| dir | No | `out`, `in` or `both`. Default both. | |
| rel | No | Only links of this relationship type. | |
| limit | No | How many to list. | |
| credential | No | The bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header. |