rails_get_component_catalog
Returns a catalog of ViewComponent and Phlex components with props, slots, previews, and view usage so you can find reusable components and understand their APIs when building Rails views.
Instructions
Returns ViewComponent and Phlex component catalog: props, slots, previews, which views render each component. Use when: building views with components, understanding component API, finding reusable components. Key params: component (filter by name), detail level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max components to return. Default: 50. | |
| detail | No | Level of detail: summary (names + types), standard (+ props + slots), full (+ sidecar assets + usage) | |
| offset | No | Skip this many components for pagination. Default: 0. | |
| component | No | Component name to show details for (e.g., 'AlertComponent', 'alert') |