打包工程
buildPackageRuns the complete project packaging flow: retrieves project info and SVN version, then builds a standard-format package with the version included.
Instructions
完整打包工程,包含获取项目信息、获取SVN版本号、执行打包等全部步骤。支持本地工程的打包,打包结果为带有SVN版本的标准格式。
使用场景:
需要一次性完成整个打包流程
简单的打包任务
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": {
"projectRoot": "<projectRoot>"
},
"name": "buildPackage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | 本地工程的根路径 | |
| saveProjectName | No | 保存项目名称的路径,如果没有当前工程,则使用项目根目录的名称 |