bc_get_term_hierarchical_children
Retrieve hierarchical children of an ontology term from OLS, including subclasses and properties. Provide term and ontology IDs to get an array of children with labels and definitions.
Instructions
Get hierarchical children of an ontology term from OLS. Includes subclasses and hierarchical properties.
Returns: dict: Parent term, hierarchical_children array with id/label/definition, total_children, page_info or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Maximum number of children to return | |
| term_id | Yes | Term ID in CURIE format (e.g., 'EFO:0000001', 'GO:0008150') | |
| ontology_id | Yes | Ontology ID (e.g., 'efo', 'go', 'chebi') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||