Get HPO Term Parents
get_term_parentsRetrieve the direct is_a parents (immediate broader phenotype terms) of an HPO term.
Instructions
Return the direct is_a parents (immediate broader phenotype terms) of an HPO term. Use get_term_ancestors for the full transitive set. Signature: get_term_parents(hpo_id, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| name | No | ||
| _meta | No | ||
| count | No | ||
| field | No | ||
| hpo_id | No | ||
| message | No | ||
| parents | No | ||
| success | No | ||
| retryable | No | ||
| candidates | No | ||
| error_code | No | ||
| hpo_version | No | ||
| allowed_values | No | ||
| recovery_action | No |