tools.proxmox_tools module

Proxmox VE hypervisor control via the Proxmox REST API.

Uses the proxmoxer library (see requirements.txt). Authenticate with either a password (user like root@pam) or an API token (user like root@pam!tokenid and password as the token secret).

Security: requires UNSANDBOXED_EXEC — controls foundational infrastructure.

TLS verification is disabled by default (typical self-signed Proxmox certs); use only on trusted networks or terminate TLS elsewhere.

async tools.proxmox_tools.run(host, user, password, node, action, vmid=None, snapshot_name=None, ctx=None)[source]

Execute Proxmox API action and return JSON.

Return type:

str

Parameters: