hmc_list_memory_pools
List shared memory pools on a managed system via HMC CLI, showing pool size and associated LPAR names.
Instructions
List shared memory pools on a managed system via the HMC CLI.
Runs lshwres -r mempool -m <system_name> on the HMC via SSH and
returns one dict per pool with fields such as pool_name, size,
lpar_names, and curr_lpar_names (comma-separated).
The system may be given by CLI name or by UUID; a UUID is resolved to its CLI name via REST (falling back to an lssyscfg lookup over SSH when the REST API is unreachable) before the command runs.
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": {
"system_name_or_uuid": "<system_name_or_uuid>"
},
"name": "hmc_list_memory_pools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_name_or_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |