suggest_components
Analyzes UI development prompts to recommend suitable components from a private library, generating optimized suggestions for page and form creation.
Instructions
USE WHEN: 用户想要创建/生成/新建/开发页面、组件或界面时。分析用户需求,从私有组件库@private-basic-components中智能推荐最合适的组件,生成包含具体实现建议的优化提示词。自动触发场景:"创建页面"、"生成组件"、"新建界面"、"开发表单"、"实现功能"等所有UI开发任务。
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": {
"prompt": "<prompt>"
},
"name": "suggest_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | 用户的原始需求提示词,例如"生成一个登录页面"、"创建用户列表"、"新建表单组件" |