Describe a SPOKE node's actual relationships (degree profile)
describe_nodeProfile a node's actual connections in the SPOKE knowledge graph: relationship types, neighbor labels, direction, and counts. Use it to pick traversals or verify absent edges before querying.
Instructions
Show what a node is ACTUALLY connected to: its relationship types, the neighbour label on the other end, the direction, and the count for each.
Use this to (a) decide which relationship to traverse for a question, and (b) avoid thrashing - if a node has no edge of the type you expected (e.g. a disease with no PRESENTS_DpS symptoms, or no LOCALIZES_DlA anatomy), this tells you immediately so you can report the absence instead of guessing more queries. Also ideal for open-ended "how is X connected / what is near X" questions. The node is resolved first (handles case / apostrophes / ids).
Returns {node:{label,name,identifier}, relationships:[{dir, rel, neighbor_label, count}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional node label to disambiguate (e.g. 'Disease', 'Gene', 'Compound'). | |
| query | Yes | Name or identifier of the node to profile (e.g. "Parkinson's disease", 'TP53', 'DOID:8778'). |