Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_components | 列出 Element-UI 组件库中所有可用的组件。每个条目返回:含前缀的标签名(tagName)、描述(description)、文档 URL(documentation URL)。结果按标签名(升序)排序。 |
| get_component | 获取 Element-UI 组件库中某个组件的详细信息。返回:含前缀的标签名(tagName)、描述(description)、文档 URL(documentation URL)、属性(props)、事件(events)、插槽(slots)、示例代码(example)、类型定义(dts)。 |
| search_components | 根据关键词搜索 Element-UI 组件库中的组件。支持在组件名和描述中进行模糊匹配。 |
| get_component_examples | 获取 Element-UI 组件的具体使用示例。直接返回过滤后的文档内容。 |
| get_component_props | 获取 Element-UI 组件的所有属性(Props)信息,包括名称、类型、描述、默认值等。 |
| get_component_events | 获取 Element-UI 组件的所有事件(Events)信息,包括事件名称、描述、参数等。 |
| get_component_slots | 获取 Element-UI 组件的所有插槽(Slots)信息,包括插槽名称、作用域参数、描述等。 |
| get_component_methods | 获取 Element-UI 组件的所有方法(Methods)信息,包括方法名称、参数、返回值等。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |