search_prefab_components
Search the Prefab component library to retrieve argument names, accepted values, and usage examples for writing component code.
Instructions
Search the Prefab component library.
Use this tool to look up exact argument names, accepted values, and usage examples before writing component code. The skill covers patterns and layout; this tool has the API details.
The query matches component names and descriptions.
Space-separated terms match independently, so
"Card Badge Metric" returns all three.
When a query matches a small number of components, full details
(docstrings, args, examples) are shown automatically. For broad
searches, a compact listing is returned instead. Use detail to
override this behavior.
Args: query: Filter by component name or description. Space-separated terms are OR-matched. detail: Show full docstrings and args. Defaults to automatic (detailed for ≤5 matches, compact otherwise). limit: Max components to return in detail mode (default 8). No limit in compact mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Filter by component name or description. Space-separated terms are OR-matched. | |
| detail | No | Show full docstrings and args. Defaults to automatic (detailed for ≤5 matches, compact otherwise). | |
| limit | No | Max components to return in detail mode (default 8). No limit in compact mode. | |
| components | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |