List design-system components
list_componentsLists every design-system component with its native element, variants, parts, and import so agents can write matching UI; call before writing UI and filter by query, kind, or limit.
Instructions
List every component in the project design system with a one-line description, the native element it renders, its variant values, its parts and its import. Icons (components that render an ) are named on one line per import, or per folder for icons with a module each, five or more to a line. Call this before writing UI in this project. query, kind and limit narrow a long list. At a monorepo root, pass path for the project of the file you are editing; without it, every project is listed, each component with its package.
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 |
|---|---|---|---|
| kind | No | "icon": only the components that render an <svg>, one by one. "component": all the others. | |
| path | No | In a monorepo served from its root: the file you are editing, or a project folder, relative to the root, to answer from that project. Without it, every project is listed together. Ignored in a single project. When the server was started outside your project, pass the file as an absolute path: the project is found from it. | |
| limit | No | Most components to list one by one. | |
| query | No | Only components with this text in their name, their parts' names or their description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icons | No | Without `kind`: icons, the components that render an <svg>, by name, five or more per module, or per folder for icons with a module each. | |
| omitted | No | Matching components left out by `limit`. | |
| components | Yes | The components listed one by one, after `query`, `kind` and `limit`. |