Guest Agent Command Execution
proxmox_agent_execExecute commands inside Proxmox VMs using the QEMU agent, then check execution status with the returned 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 |
|---|---|---|---|
| pid | No | Process ID returned by agent exec | |
| args | No | Command arguments | |
| node | Yes | Node name where VM is located | |
| vmid | Yes | VM ID number | |
| command | No | Command to execute | |
| timeout | No | Timeout in seconds | |
| operation | Yes | ||
| input-data | No | Input data for stdin | |
| capture-output | No | Capture stdout/stderr |