iaas_resize_block_device
Resize a block device by providing its ID and target capacity in GB; optionally apply SDRS recommendations for vSphere SDRS clusters.
Instructions
Resize BlockDevice Resize operation on block device. POST /iaas/api/block-devices/{id}
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": {
"id": "<id>",
"capacityInGB": "<capacityInGB>"
},
"name": "iaas_resize_block_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the block device. (path) | |
| useSdrs | No | Only applicable for vSphere block-devices deployed on SDRS cluster. If set to true, SDRS Recommendation will be used for resize operation. | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about | |
| capacityInGB | Yes | Resize Capacity in GB |