codeartsdeploy__CreateDeployTaskByTemplate
Creates a CodeArts Deploy application or task from a deployment template using the required project, task name, and template details.
Instructions
[CODEARTSDEPLOY] 通过模板新建应用。该接口于2024年09月30日后不再维护,推荐使用新版CreateApp接口。
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": {
"project_id": "<project_id>",
"project_name": "<project_name>",
"task_name": "<task_name>",
"template_id": "<template_id>"
},
"name": "codeartsdeploy__CreateDeployTaskByTemplate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configs | No | 部署参数类 | |
| task_name | Yes | 应用名称 | |
| project_id | Yes | 项目id | |
| template_id | Yes | 部署模板id | |
| project_name | Yes | 项目名称 | |
| slave_cluster_id | No | 自定义slave资源池id |