hmc_create_optical_media
Create a blank virtual optical media (ISO container) in the repository for a specified VIOS, using its volume group, media name, and size in MB.
Instructions
Create a blank VirtualOpticalMedia (ISO container) in the media repository.
vios_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_vios). Only blank media can be created via the API; media_name is the file name (e.g. 'aix.iso'), size_mb is MediaSize.
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": {
"vios_name_or_uuid": "<vios_name_or_uuid>",
"vg_uuid": "<vg_uuid>",
"media_name": "<media_name>",
"size_mb": "<size_mb>"
},
"name": "hmc_create_optical_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size_mb | Yes | ||
| vg_uuid | Yes | ||
| media_name | Yes | ||
| vios_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |