mrs__ShrinkCluster
Shrinks an MRS cluster by removing nodes from a specified node group, either by count or by explicit resource IDs, to reduce capacity as needed.
Instructions
[MRS] 对MRS集群进行缩容。
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>",
"node_group_name": "<node_group_name>",
"project_id": "<project_id>"
},
"name": "mrs__ShrinkCluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 缩容节点数量,如果是指定节点缩容,则该参数可以不填。 | |
| cluster_id | Yes | 集群ID | |
| project_id | Yes | 项目ID | |
| resource_ids | No | 缩容节点时指定待删除节点的资源ID列表。 | |
| node_group_name | Yes | 节点组名称 |