storybook_list_components
List all Storybook components, optionally filtered by a search term, and return the component hierarchy with story counts in markdown or JSON.
Instructions
List all components registered in the running Storybook instance.
Fetches the Storybook index and returns component titles grouped by hierarchy, with their story counts. Optionally filter by a substring.
Args: params (ListComponentsInput): Validated input parameters containing: - search (Optional[str]): Case-insensitive filter substring - response_format (ResponseFormat): 'markdown' or 'json'
Returns: str: Component listing in the requested format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |