构建小程序 npm
wdt_build_npmRuns the official CLI build-npm command to build a WeChat mini program's dependencies, optionally targeting a specified project directory.
Instructions
调用官方 CLI 执行 build-npm,构建项目依赖。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wdt_build_npm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | 小程序项目目录;省略时使用 WECHAT_DEVTOOLS_PROJECT |