search_components
Find up to 8 compact component summaries by intent or keyword to select UI elements like buttons, dialogs, or tables for Basecoat UI projects.
Instructions
Find up to 8 compact component summaries by intent and/or query (either field may be omitted). Valid component IDs include: button, card, dialog, dropdown-menu, table, tabs, badge, avatar, input, select, etc. Next step: Call get_component_details or basecoat_component_syntax with the selected component id.
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": "search_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alternative component identifier alias. | |
| name | No | Alternative component identifier alias. | |
| query | No | Direct component ID or name keyword to filter (e.g., "dialog", "button", "table"). | |
| intent | No | Semantic intent or use case (e.g., "modal dialog", "user menu", "data table", "form field"). | |
| componentId | No | Alternative component identifier alias. | |
| environment | No | Target environment (defaults to html). |