hmc_create_media_repository
Create a Virtual Media Repository (VMLibrary) on a VIOS volume group to store ISO images for client partitions. Specify VIOS, volume group, and size.
Instructions
Create the Virtual Media Repository (named VMLibrary) on a Volume Group.
vios_name_or_uuid: accepts either a PartitionName or a UUID (find it with hmc_vios). The repository holds file-backed ISO images for client partitions; only one can exist per VIOS. size_mb is RepositorySize.
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>",
"size_mb": "<size_mb>"
},
"name": "hmc_create_media_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size_mb | Yes | ||
| vg_uuid | Yes | ||
| vios_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |