ljs_read
Retrieves the complete usage guide for a specific LJS Vue3 plugin, including installation, examples, and known pitfalls to avoid writing code that compiles but runs incorrectly.
Instructions
读取某个 LJS 插件的完整使用指南(何时用/不用、安装、可复制示例、典型错误对照、已知坑)。确定要用某个包后调它,一次拿到全部用法。特别注意「已知坑」章节:里面是作者在生产中踩过的坑(如某些组件 data 为空时跳过列宽计算、导出有 1s 内部延时),跳过会写出能编译但运行不对的代码。
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": {
"plugin": "<plugin>"
},
"name": "ljs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plugin | Yes | npm 包名,如 moving-numbers-vue3 | |
| section | No | 可选:只看某个章节,如「安装与引入」「典型错误对照」 |