List PCF controls
list_componentsBrowse the PCFHub catalog by category, tag, author, control type, host or text, paged and sorted. Use it to enumerate or narrow the catalog; use search for a plain-language question about what a control should do, and get_component for one control in full. Filters take slugs, which list_taxonomy supplies. Nothing here fails on bad input: an unrecognised sort falls back to the default, and filters matching nothing return an empty page — so read total and sort from the result rather than assuming the filters applied.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Where the control has to run. A control supporting both hosts matches either. | |
| page | No | Defaults to 1. | |
| sort | No | Defaults to relevance when there is a query, newest otherwise. | |
| tags | No | Tag slugs, from list_taxonomy. A control must carry every tag given. | |
| query | No | Words to match against names, taglines and descriptions. | |
| author | No | An author slug, from list_taxonomy. | |
| category | No | A category slug, from list_taxonomy. | |
| per_page | No | Defaults to 24; at most 48. | |
| control_type | No | field binds one column on a form; dataset renders a view; virtual is a React control; grid_customizer changes how an editable grid renders cells. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | The page returned. | |
| sort | Yes | The sort actually applied, which is the default when none was given or the one given was not recognised. | |
| total | Yes | Controls matching the filters, across every page. | |
| perPage | Yes | ||
| lastPage | Yes | The highest page number for these filters. | |
| components | Yes |