neighbors
Retrieve single-hop graph edges touching an ID, optionally filtered by direction or edge type, to inspect connected nodes in a redraft project.
Instructions
Single-hop edges touching id, optionally filtered by type/direction.
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": "neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| direction | No | both | |
| edge_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |