hmc_run_command
Run arbitrary HMC CLI commands via SSH and capture their output, providing an escape hatch for operations with no dedicated tool.
Instructions
Execute an arbitrary HMC CLI command over SSH and return its output.
WARNING: This tool executes arbitrary commands on the HMC with the
credentials configured in HMC_USER / HMC_PASSWORD (or HMC_SSH_KEY_FILE).
It is an operator escape-hatch equivalent to Ansible hmc_command.
Use only for HMC CLI operations that have no dedicated MCP tool.
Authentication follows the same env-var configuration as all other tools: set HMC_SSH_KEY_FILE to use key-based auth, otherwise password auth is used.
Reference: https://www.ibm.com/docs/en/power10/7063-CR1?topic=hmc-commands
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |