get_term_children
Retrieve direct child terms of a specific ontology term using its IRI and ontology identifier, with options to include obsolete entities and limit results. Outputs in JSON.
Instructions
Get direct children of a specific term.
Args: term_iri: The IRI of the term ontology: The ontology identifier include_obsolete: Include obsolete entities size: Maximum number of results
Returns: JSON formatted list of child terms
Input Schema
Name | Required | Description | Default |
---|---|---|---|
include_obsolete | No | ||
ontology | Yes | ||
size | No | ||
term_iri | Yes |
Input Schema (JSON Schema)
{
"properties": {
"include_obsolete": {
"default": false,
"title": "Include Obsolete",
"type": "boolean"
},
"ontology": {
"title": "Ontology",
"type": "string"
},
"size": {
"default": 20,
"title": "Size",
"type": "integer"
},
"term_iri": {
"title": "Term Iri",
"type": "string"
}
},
"required": [
"term_iri",
"ontology"
],
"type": "object"
}