pve_agent_file_write
Write a file inside a Proxmox guest using the QEMU agent. Requires target VM ID, absolute file path, and content. Dry-run mode provides a plan; confirm to execute.
Instructions
MUTATION: write a file inside the guest via the qemu-agent.
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. File path must be absolute. Content is UNCONDITIONALLY redacted from the ledger. No undo primitive on this plane. Smoke-confirm: PVE file-write endpoint and content encoding are unverified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| node | No | ||
| vmid | Yes | ||
| confirm | No | ||
| content | Yes | ||
| 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 |