get_branch_children
Retrieve immediate child terms for a branch in an ontology to explore hierarchy or populate controlled vocabulary dropdowns.
Instructions
Fetch all immediate children terms for a given branch in an ontology.
Use this tool to retrieve the child terms under a specific branch IRI in a BioPortal ontology. This is useful for exploring the hierarchy of an ontology or populating dropdown options for a controlled vocabulary.
Args: branch_iri: IRI of the branch to get children for (e.g., "http://purl.obolibrary.org/obo/CHEBI_23367") ontology_acronym: Ontology acronym to search within (e.g., "CHEBI", "HRAVS")
Returns: BioPortal response containing child terms with their prefLabels
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_iri | Yes | ||
| ontology_acronym | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||