list_pgs_categories
read-onlyidempotent
List PGS Catalog categories (and their traits) to orient a PGS search.
Global reference data, not specific to the user's samples. Each category has a label, a pgs_count, and its traits (each with an id, label, and pgs_count). Use a category id or trait id to narrow search_pgs_scores(category_id=...) / search_pgs_scores(trait_id=...).
Parameters
This tool takes no parameters.
Response
A list. Each item has these fields.
| Field | Description |
|---|---|
idstring required | Pass as category_id to |
labelstring required | |
pgs_countinteger | null required | |
traitsobject[] required | |
traits[].idstring required | Pass as trait_id to |
traits[].labelstring required | |
traits[].pgs_countinteger | null required |