Find a measured component
find_componentFind the best React component for a UI task by filtering with style, pattern, and palette options to get ranked, verified results.
Instructions
Rank up to three verified, rendering React components for a UI task using prose, pattern, style, and measured harness results. Failure warnings are excluded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "find_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The UI task or behavior needed. | |
| style | No | Optional exact visual style filter. | |
| palette | No | Optional exact bundled palette slug to append as CSS variables. | |
| pattern | No | Optional exact pattern filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| matches | Yes | ||
| palette | No |