create_volume
Create a Cinder block storage volume of a given size in GiB, optionally from an image, snapshot, or source volume, to provision persistent storage for OpenStack workloads.
Instructions
Create a Cinder volume. Service: Cinder (block storage). Mutates state.
size_gb is the size in gibibytes. image_id, snapshot_id, and source_volume_id are optional sources. The call returns when the API accepts the volume; status may still be creating.
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": {
"size_gb": "<size_gb>"
},
"name": "create_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| size_gb | Yes | ||
| image_id | No | ||
| description | No | ||
| snapshot_id | No | ||
| volume_type | No | ||
| source_volume_id | No | ||
| availability_zone | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||