codeartsdeploy__CreateApp
Creates a new application in Huawei Cloud CodeArts Deploy from a template within a specified project, supporting draft creation and optional deployment task configuration.
Instructions
[CODEARTSDEPLOY] 新建应用。
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": {
"create_type": "<create_type>",
"is_draft": "<is_draft>",
"name": "<name>",
"project_id": "<project_id>"
},
"name": "codeartsdeploy__CreateApp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 应用名称 | |
| trigger | No | 部署任务触发场景配置 | |
| group_id | No | 分组id | |
| is_draft | Yes | 是否为草稿 | |
| project_id | Yes | 项目id | |
| create_type | Yes | 创建类型,创建类型只有一个'template',即根据模板创建 | |
| description | No | 描述 | |
| arrange_infos | No | 部署任务列表信息 | |
| slave_cluster_id | No | 自定义slave资源池id |