get_ontology_class_tree
Retrieve the hierarchical tree structure for an ontology class, showing its ancestor path and sibling nodes to understand its position in the ontology hierarchy.
Instructions
Fetch the hierarchical tree structure for a given class in an ontology.
Use this tool to retrieve the ancestor path and sibling nodes for a specific class IRI in a BioPortal ontology. This is useful for understanding where a term sits in the ontology hierarchy.
Args: class_iri: IRI of the class to get the tree for (e.g., "http://purl.obolibrary.org/obo/MONDO_0005180") ontology_acronym: Ontology acronym to search within (e.g., "MONDO", "CHEBI")
Returns: BioPortal response containing the class tree hierarchy
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_iri | Yes | ||
| ontology_acronym | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||