get_hierarchy
Retrieve hierarchical relationships (parents, children, ancestors, descendants) for an ontology term using its CURIE, with configurable traversal depth.
Instructions
Get hierarchical relationships for a term (parents, children, ancestors, descendants).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curie | Yes | Ontology term CURIE | |
| relation | No | Type of relationship to retrieve | parents |
| depth | No | How many levels to traverse (1-5) |