graph_node
Inspects one code symbol’s declaration and exact incoming/outgoing relations by node ID or label, with confirm mode to re-read its witness.
Instructions
One symbol in full: its declaration, what reaches it, what it reaches. Resolves EXACTLY (node id, then label), never free text. mode=confirm re-reads its witness.
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": "graph_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Node id `<relpath>#<sym>` or an exact label. | |
| kind | No | Far ends of this kind only. | |
| mode | No | ||
| depth | No | ||
| project | No | ||
| relation | No | One relation only. | |
| direction | No | in = who reaches it, out = what it reaches. | both |