proxmox_agent_exec
Run commands on Proxmox VMs via QEMU agent. Use exec to execute commands with arguments and capture output, or status to check execution status by process ID.
Instructions
Execute commands via QEMU agent. operation=exec: run command | operation=status: check execution status (requires elevated permissions)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name where VM is located | |
| vmid | Yes | VM ID number | |
| command | No | Command to execute | |
| args | No | Command arguments | |
| input-data | No | Input data for stdin | |
| capture-output | No | Capture stdout/stderr | |
| timeout | No | Timeout in seconds | |
| pid | No | Process ID returned by agent exec | |
| operation | Yes |