autoscaling_set_desired_capacity
Set an Auto Scaling Group's desired capacity to scale instances, with required human approval before changes apply.
Instructions
[REQUIRES APPROVAL] Set the desired capacity of an Auto Scaling Group
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": {
"autoScalingGroupName": "<autoScalingGroupName>",
"desiredCapacity": "<desiredCapacity>",
"reason": "<reason>",
"approvalToken": "<approvalToken>"
},
"name": "autoscaling_set_desired_capacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Reason for changing the desired capacity | |
| region | No | AWS region (defaults to configured region) | |
| approvalToken | Yes | Human approval token - this action requires human approval | |
| honorCooldown | No | Whether to honor the default cooldown period | |
| desiredCapacity | Yes | The desired capacity (number of instances) | |
| autoScalingGroupName | Yes | The name of the Auto Scaling Group |