查询组件示例
get_component_examplesReturns code examples with title and HTML template for a given component tag, showing real usage patterns.
Instructions
按 tag(如 see-button)返回该组件的可用代码示例(标题 + HTML 模板片段)。用于参考真实用法。
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": {
"tag": "<tag>"
},
"name": "get_component_examples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | 组件标签,见 list_components,如 see-button、see-input |