Get HPO Term
get_termRetrieve full HPO phenotype term records by HP id, label, synonym, or external xref, including definitions, synonyms, cross-references, parents, children, and obsolescence details.
Instructions
Return an HPO phenotype term record: definition, synonyms (exact/related/broad/narrow), alt_ids, subsets, comments, cross-references, direct parents and children, and obsolescence (replaced_by). The term accepts an HP id, a label/synonym, or an external xref CURIE (resolved first). For only the labels of several HP ids, call resolve_terms_batch once. Pass fields=['synonyms', 'definition'] for a sparse projection. Note on synonyms shape: compact (default) returns synonyms as plain strings; standard/full return {text, scope} objects. Signature: get_term(hpo_id, response_mode=, fields=).
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": {
"hpo_id": "<hpo_id>"
},
"name": "get_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Sparse fieldset: return ONLY these top-level keys (for map_cross_ontology, dot into the grouped object, e.g. 'mappings.UMLS'). Identity anchors (hpo_id, name, hpo_version) are always included. An unrecognised field is rejected with invalid_input. Omit for the full payload. | |
| hpo_id | Yes | Canonical HP id for the resolved HPO term (HP:0000118). Legacy `term` arguments are accepted as an alias. | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |