Search HPO Terms
search_termsFull-text search HPO phenotype terms by query, synonym, or ID. Returns relevance-ranked results with pagination and optional definition snippets.
Instructions
Full-text search over HPO phenotype term names, synonyms, and definitions (FTS, relevance-ranked). Returns {hpo_id, name, score} -- compact adds a short definition_snippet; standard/full add the complete definition -- plus a pagination block {total, returned, limit, offset, truncated, next_offset}. When truncated, next_commands carries a forward-page step (offset advanced) and a widen step. Obsolete terms are excluded unless include_obsolete=true. Signature: search_terms(query, limit=, offset=, include_obsolete=, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max hits (default 25). | |
| query | Yes | A phenotype label, synonym, HP id (HP:0000118), or external xref CURIE (UMLS:C0036572, SNOMEDCT_US:263681008, ...). | |
| offset | No | Rows to skip for forward paging (default 0). | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |
| include_obsolete | No | Include obsolete terms (default false). |