pve_agent_exec
Execute commands inside a QEMU guest OS using the qemu-agent. Dry-run by default records a plan; set confirm=True to execute and poll for exit status.
Instructions
MUTATION: run a command inside a guest via the qemu-agent (async, polls for result).
Dry-run by default: without confirm=True you get a PLAN recorded to the ledger. Re-call with confirm=True to execute.
Requires PROXIMO_ENABLE_AGENT=1 and the VMID in PROXIMO_AGENT_ALLOWLIST. The command runs INSIDE the guest OS — no undo primitive on this plane.
Returns status="ok" only when the agent reports the process exited. Returns status="running" with pid when the poll deadline is reached before exit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| vmid | Yes | ||
| command | Yes | ||
| confirm | No | ||
| timeout | No | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |