获取项目信息
getProjectInfoRetrieve project name, type, and SVN status to confirm packaging prerequisites and check version control before starting a build.
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": "getProjectInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | 本地工程的根路径 |