recommend_component
Matches a plain-language UI use case to Compass components using deterministic metadata, returning ranked recommendations for choosing the right component.
Instructions
Recommends Compass components for a plain-language UI use case using deterministic metadata matching.
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": {
"useCase": "<useCase>"
},
"name": "recommend_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum recommendations to return. Defaults to 5 when omitted, with a hard maximum of 10. | |
| useCase | Yes | Plain-language UI need to match against Compass metadata (for example: booking form input or pricing summary card). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| query | Yes | ||
| guidance | No | ||
| resultType | Yes | ||
| recommendations | Yes |