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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"term_id": "<term_id>",
"ontology_id": "<ontology_id>"
},
"name": "bc_get_term_hierarchical_children"
}
}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 | |||