css__AddFavorite
Adds a custom template to a specified Huawei Cloud CSS cluster by submitting the cluster ID, project ID, template name, and template details.
Instructions
[CSS] 该接口用于添加到自定义模板。
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": {
"cluster_id": "<cluster_id>",
"name": "<name>",
"project_id": "<project_id>",
"template": "<template>"
},
"name": "css__AddFavorite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 配置文件名称。4~32个字符,只能包含数字、字母、中划线和下划线,且必须以字母开头。 | |
| template | Yes | 自定义模板实体对象。 | |
| cluster_id | Yes | 指定添加自定义模板的集群ID。 | |
| project_id | Yes | 项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。 |