mesa_ols_get_term_hierarchy
Fetch the immediate child terms of an OLS ontology term to traverse its class hierarchy one level at a time. Enables step-by-step ontology exploration.
Instructions
List the direct children of an OLS term. Use this to walk an ontology's class hierarchy one level at a time.
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": {
"ontology_id": "<ontology_id>",
"iri": "<iri>"
},
"name": "mesa_ols_get_term_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iri | Yes | Full IRI of the parent term. | |
| size | No | Max children to return. | |
| ontology_id | Yes | Ontology identifier (e.g. 'envo'). |