get_hpo_ancestors
Retrieve all ancestor terms for any HPO term, navigating the phenotype hierarchy to find higher-level terms using the term ID.
Instructions
Get all ancestor terms for a given HPO term (all terms higher in the hierarchy)
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": {
"id": "<id>"
},
"name": "get_hpo_ancestors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | HPO term ID (e.g., HP:0001234 or just 0001234) | |
| max | No | Maximum number of ancestors to return (default: 50) | |
| offset | No | Number of results to skip for pagination (default: 0) |