proxmox-mcp-server

v1.4.4
proxmox-mcp-server Checked 3 hours ago Published 1 month ago

MCP server for Proxmox VE infrastructure management

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

proxmox_api_raw

Make an arbitrary Proxmox API call for any endpoint not covered by specific tools. Args: method: HTTP method: 'get', 'post', 'put', 'delete'. path: API path (e.g. '/nodes/pve1/qemu/100/status/current'). params: JSON string of parameters (e.g. '{"memory": 4096}').

ParameterTypeDescription
method *string
path *string
paramsstring

list_users

List all users in Proxmox. Args: enabled: Only show enabled users. full: Include detailed info (groups, tokens, etc.).

ParameterTypeDescription
enabledboolean
fullboolean

get_user

Get details for a specific user. Args: userid: User ID (format: 'user@realm', e.g. 'admin@pam').

ParameterTypeDescription
userid *string

create_user

Create a new user. Args: userid: User ID (format: 'user@realm', e.g. 'myuser@pve'). password: Password (only for pve/pam realms). email: Email address. firstname: First name. lastname: Last name. groups: Comma-separated group list. comment: Description. enable: Enable user. expire: Account expiration (Unix epoch, 0 = never).

ParameterTypeDescription
userid *string
commentstring
emailstring
enableboolean
expireinteger
firstnamestring
groupsstring
lastnamestring
passwordstring

update_user

Update an existing user. Args: userid: User ID (format: 'user@realm'). email: Email address. firstname: First name. lastname: Last name. groups: Comma-separated group list. comment: Description. enable: Enable/disable user. expire: Account expiration (Unix epoch, 0 = never, -1 = don't change). append: Append groups instead of replacing.

ParameterTypeDescription
userid *string
appendboolean
commentstring
emailstring
enableboolean
expireinteger
firstnamestring
groupsstring
lastnamestring

delete_user

Delete a user. Args: userid: User ID to delete (format: 'user@realm').

ParameterTypeDescription
userid *string

list_user_tokens

List API tokens for a user. Args: userid: User ID (format: 'user@realm').

ParameterTypeDescription
userid *string

get_user_token

Get details for a specific API token. Args: userid: User ID (format: 'user@realm'). tokenid: Token ID.

ParameterTypeDescription
tokenid *string
userid *string

create_user_token

Create a new API token for a user. Returns the token value (shown only once). Args: userid: User ID (format: 'user@realm'). tokenid: Token ID (alphanumeric). comment: Token description. privsep: Enable privilege separation (token has own permissions, not user's full permissions). expire: Expiration (Unix epoch, 0 = never).

ParameterTypeDescription
tokenid *string
userid *string
commentstring
expireinteger
privsepboolean

delete_user_token

Delete an API token. Args: userid: User ID (format: 'user@realm'). tokenid: Token ID.

ParameterTypeDescription
tokenid *string
userid *string

list_groups

List all user groups.

get_group

Get group details. Args: groupid: Group ID.

ParameterTypeDescription
groupid *string

create_group

Create a new group. Args: groupid: Group ID. comment: Description.

ParameterTypeDescription
groupid *string
commentstring

update_group

Update a group. Args: groupid: Group ID. comment: Description.

ParameterTypeDescription
groupid *string
commentstring

delete_group

Delete a group. Args: groupid: Group ID.

ParameterTypeDescription
groupid *string

list_roles

List all available roles.

get_role

Get role details and its privileges. Args: roleid: Role ID.

ParameterTypeDescription
roleid *string

create_role

Create a new role with specific privileges. Args: roleid: Role ID. privs: Comma-separated list of privileges (e.g. 'VM.Allocate,VM.Config.Disk,VM.PowerMgmt').

ParameterTypeDescription
privs *string
roleid *string

update_role

Update role privileges. Args: roleid: Role ID. privs: Comma-separated list of privileges. append: Append privileges instead of replacing.

ParameterTypeDescription
privs *string
roleid *string
appendboolean

delete_role

Delete a role. Args: roleid: Role ID.

ParameterTypeDescription
roleid *string

get_acl

Get the full ACL (access control list) — shows all permission assignments.

update_acl

Add or remove ACL entries (permission assignments). Args: path: Object path (e.g. '/', '/vms/100', '/storage/local', '/pool/mypool'). roles: Comma-separated role list. users: Comma-separated user list (format: 'user@realm'). groups: Comma-separated group list. tokens: Comma-separated token list (format: 'user@realm!tokenid'). propagate: Propagate permissions to child objects. delete: Remove the ACL entry instead of adding.

ParameterTypeDescription
path *string
roles *string
deleteboolean
groupsstring
propagateboolean
tokensstring
usersstring

list_auth_domains

List configured authentication realms/domains (PAM, PVE, LDAP, AD, OpenID).

get_auth_domain

Get authentication domain configuration. Args: realm: Realm ID (e.g. 'pam', 'pve', 'my-ldap').

ParameterTypeDescription
realm *string

sync_auth_domain

Sync users/groups from an external auth domain (LDAP/AD). Args: realm: Realm ID to sync. dry_run: Only show what would change. full: Full sync (not just incremental). enable_new: Enable newly synced users. remove_vanished: Comma-separated: 'entry' (remove users), 'properties' (clear), 'acl' (remove ACLs).

ParameterTypeDescription
realm *string
dry_runboolean
enable_newboolean
fullboolean
remove_vanishedstring

list_tfa

List TFA (two-factor auth) entries. Args: userid: Filter by user ID (empty = all users).

ParameterTypeDescription
useridstring

get_permissions

Check effective permissions for a user on a given path. Args: userid: User to check (empty = current user). path: Object path to check (empty = root).

ParameterTypeDescription
pathstring
useridstring

change_password

Change a user's password. Args: userid: User ID (format: 'user@realm'). password: New password.

ParameterTypeDescription
password *string
userid *string

list_backup_jobs

List all scheduled backup jobs (vzdump) in the cluster.

get_backup_job

Get details of a specific backup job. Args: id: Backup job ID.

ParameterTypeDescription
id *string

get_backup_job_included_volumes

Get volumes included in a backup job. Args: id: Backup job ID.

ParameterTypeDescription
id *string

create_backup_job

Create a scheduled backup job. Args: storage: Target storage ID for backups. schedule: Schedule in systemd calendar format (e.g. 'daily', 'weekly', '02:00'). all_guests: Backup all guests. vmid: Comma-separated VMIDs to back up (if not all_guests). node: Only back up guests on this node. mode: Backup mode: 'snapshot', 'suspend', 'stop'. compress: Compression: 'none', 'lzo', 'gzip', 'zstd'. mailnotification: 'always' or 'failure'. mailto: Comma-separated email addresses.…

ParameterTypeDescription
storage *string
all_guestsboolean
commentstring
compressstring
enabledboolean
mailnotificationstring
mailtostring
maxfilesinteger
modestring
nodestring
notes_templatestring
prune_backupsstring
schedulestring
vmidstring

update_backup_job

Update a scheduled backup job. Args: id: Backup job ID. storage: Target storage ID. schedule: Schedule in systemd calendar format. all_guests: Backup all guests. vmid: Comma-separated VMIDs. node: Node filter. mode: Backup mode. compress: Compression. enabled: Enable/disable. delete: Comma-separated properties to delete.

ParameterTypeDescription
id *string
all_guestsboolean
compressstring
deletestring
enabledboolean
modestring
nodestring
schedulestring
storagestring
vmidstring

delete_backup_job

Delete a scheduled backup job. Args: id: Backup job ID.

ParameterTypeDescription
id *string

create_vzdump

Start an immediate backup (vzdump) on a node. Args: node: The node to run the backup on. vmid: Comma-separated VMIDs (required if not all_guests). all_guests: Back up all guests on the node. storage: Target storage (empty = default). mode: Backup mode: 'snapshot', 'suspend', 'stop'. compress: Compression: 'none', 'lzo', 'gzip', 'zstd'. stdout: Write to stdout instead of storage.

ParameterTypeDescription
node *string
all_guestsboolean
compressstring
modestring
stdoutboolean
storagestring
vmidstring

get_vzdump_defaults

Get the default vzdump configuration for a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_vzdump_extractconfig

Extract the guest configuration from a vzdump backup archive. Args: node: The node name. volume: Backup volume ID (e.g. 'local:backup/vzdump-qemu-100-2024_01_01-00_00_00.vma.zst').

ParameterTypeDescription
node *string
volume *string

list_backup_file_restore

List files in a vzdump backup for single-file restore. Args: node: The node name. storage: Storage ID. volume: Backup volume ID. filepath: Path within the backup (default '/').

ParameterTypeDescription
node *string
storage *string
volume *string
filepathstring

download_file_restore

Download a file from a vzdump backup. Args: node: The node name. storage: Storage ID. volume: Backup volume ID. filepath: Path of the file to download from the backup.

ParameterTypeDescription
filepath *string
node *string
storage *string
volume *string

get_version

Get the Proxmox VE API version information.

get_cluster_status

Get cluster status (nodes online, quorum, HA state).

get_cluster_resources

List all resources across the cluster (VMs, containers, storage, nodes). Args: type: Filter by type: 'vm', 'storage', 'node', 'sdn', 'pool' (empty = all).

ParameterTypeDescription
typestring

get_cluster_tasks

List recent tasks across all nodes in the cluster. Args: limit: Maximum number of tasks to return.

ParameterTypeDescription
limitinteger

get_cluster_log

Get the cluster log (recent events). Args: max_entries: Max log entries.

ParameterTypeDescription
max_entriesinteger

get_next_vmid

Get the next available VMID in the cluster. Args: vmid: Specific VMID to check availability for (0 = auto-assign).

ParameterTypeDescription
vmidinteger

get_cluster_options

Get datacenter/cluster-wide options (keyboard layout, console, language, etc.).

update_cluster_options

Update datacenter/cluster-wide options. Args: keyboard: Keyboard layout (e.g. 'en-us', 'de'). language: Default language. console: Default console viewer: 'applet', 'vv', 'html5', 'xtermjs'. http_proxy: HTTP proxy URL. email_from: Default email sender address. max_workers: Max parallel workers. description: Datacenter description. delete: Comma-separated settings to delete.

ParameterTypeDescription
consolestring
deletestring
descriptionstring
email_fromstring
http_proxystring
keyboardstring
languagestring
max_workersinteger

get_cluster_config

Get the current cluster configuration (corosync, nodes, join info).

get_cluster_config_nodes

List nodes configured in the cluster.

get_cluster_join_info

Get info needed to join a node to this cluster.

join_cluster

Join a node to an existing cluster. Args: hostname: Hostname/IP of existing cluster node. fingerprint: SSL fingerprint of the cluster node. password: Root password of the cluster node. nodeid: Force specific node ID. force: Force join even with warnings.

ParameterTypeDescription
fingerprint *string
hostname *string
password *string
forceboolean
nodeidinteger

get_cluster_totem

Get the corosync totem configuration.

list_replication_jobs

List all replication jobs in the cluster.

get_replication_job

Get a specific replication job configuration. Args: id: Replication job ID (format: GUEST-JOBNUM, e.g. '100-0').

ParameterTypeDescription
id *string

create_replication_job

Create a storage replication job. Args: id: Job ID (format: GUEST-JOBNUM, e.g. '100-0'). target: Target node. type: Replication type (currently only 'local'). schedule: Schedule in systemd calendar format (default '*/15' = every 15 min). comment: Description. rate: Rate limit in mbps. disable: Create disabled.

ParameterTypeDescription
id *string
target *string
commentstring
disableboolean
ratenumber
schedulestring
typestring

delete_replication_job

Delete a replication job. Args: id: Replication job ID. force: Force removal (skip cleanup). keep: Keep replicated data on target.

ParameterTypeDescription
id *string
forceboolean
keepboolean

list_metric_servers

List configured metric servers (InfluxDB, Graphite).

get_metric_server

Get metric server configuration. Args: id: Metric server ID.

ParameterTypeDescription
id *string

list_notification_endpoints

List all configured notification endpoints (sendmail, gotify, smtp, webhook).

list_notification_targets

List all notification targets.

list_notification_matchers

List all notification matchers (rules that route notifications).

test_notification_target

Send a test notification to a target. Args: name: Target name.

ParameterTypeDescription
name *string

bulk_start_guests

Bulk start guests across the cluster. Args: vms: Comma-separated list of VMIDs (empty = all).

ParameterTypeDescription
vmsstring

bulk_shutdown_guests

Bulk shutdown guests across the cluster. Args: vms: Comma-separated list of VMIDs (empty = all).

ParameterTypeDescription
vmsstring

bulk_migrate_guests

Bulk migrate guests to a target node. Args: target: Target node name. vms: Comma-separated VMIDs.

ParameterTypeDescription
target *string
vmsstring

get_ceph_status_cluster

Get Ceph cluster status (health, monitors, OSDs, PGs).

get_ceph_metadata

Get Ceph metadata (versions, services across nodes).

get_ceph_flags

Get Ceph global flags (noout, noscrub, etc.).

set_ceph_flags

Set a Ceph global flag. Args: flag: Flag name (noout, noscrub, nobackfill, norebalance, nodown, noup, etc.). value: True to set, False to unset.

ParameterTypeDescription
flag *string
value *boolean

get_ceph_status_node

Get Ceph status from a specific node's perspective. Args: node: The node name.

ParameterTypeDescription
node *string

list_ceph_osds

List Ceph OSDs on a node. Args: node: The node name.

ParameterTypeDescription
node *string

create_ceph_osd

Create a new Ceph OSD on a device. Args: node: The node name. dev: Block device for the OSD (e.g. '/dev/sdb'). db_dev: Separate block device for DB. wal_dev: Separate block device for WAL. encrypted: Encrypt the OSD.

ParameterTypeDescription
dev *string
node *string
db_devstring
encryptedboolean
wal_devstring

list_ceph_pools

List Ceph pools. Args: node: The node name.

ParameterTypeDescription
node *string

create_ceph_pool

Create a new Ceph pool. Args: node: The node name. name: Pool name. size: Number of replicas (default 3). min_size: Minimum replicas for I/O (default 2). pg_num: Number of placement groups (default 128). application: Pool application (rbd, cephfs, rgw).

ParameterTypeDescription
name *string
node *string
applicationstring
min_sizeinteger
pg_numinteger
sizeinteger

list_ceph_monitors

List Ceph monitors. Args: node: The node name.

ParameterTypeDescription
node *string

list_ceph_managers

List Ceph managers. Args: node: The node name.

ParameterTypeDescription
node *string

list_ceph_mds

List Ceph metadata servers (MDS, for CephFS). Args: node: The node name.

ParameterTypeDescription
node *string

list_ceph_fs

List CephFS filesystems. Args: node: The node name.

ParameterTypeDescription
node *string

get_ceph_config

Get the raw Ceph configuration. Args: node: The node name.

ParameterTypeDescription
node *string

get_ceph_crush_rules

Get Ceph CRUSH rules. Args: node: The node name.

ParameterTypeDescription
node *string

list_scheduled_jobs

List all scheduled cluster jobs (realm-sync, etc.).

list_realm_sync_jobs

List realm synchronization jobs.

list_pci_mappings

List PCI device mappings for passthrough.

list_usb_mappings

List USB device mappings for passthrough.

list_dir_mappings

List directory mappings.

get_cluster_firewall_options

Get cluster-wide firewall options (enable, policy_in, policy_out, etc.).

set_cluster_firewall_options

Set cluster-wide firewall options. Args: enable: 1 to enable, 0 to disable, -1 to not change. policy_in: Default input policy: 'ACCEPT', 'REJECT', 'DROP'. policy_out: Default output policy: 'ACCEPT', 'REJECT', 'DROP'. log_ratelimit: Log rate limit (e.g. 'enable=1,rate=1/second,burst=5'). ebtables: 1 to enable ebtables rules, 0 to disable, -1 to not change. delete: Comma-separated options to delete.

ParameterTypeDescription
deletestring
ebtablesinteger
enableinteger
log_ratelimitstring
policy_instring
policy_outstring

list_cluster_firewall_rules

List cluster-level firewall rules.

get_cluster_firewall_rule

Get a specific cluster firewall rule. Args: pos: Rule position number.

ParameterTypeDescription
pos *integer

create_cluster_firewall_rule

Create a cluster-level firewall rule. Args: action: 'ACCEPT', 'DROP', 'REJECT'. type: 'in', 'out', 'group'. enable: 1 = enabled, 0 = disabled. source: Source address/range (CIDR or alias). dest: Destination address/range. proto: Protocol (tcp, udp, icmp, etc.). sport: Source port(s). dport: Destination port(s). iface: Network interface. macro: Use predefined macro (e.g. 'SSH', 'HTTP', 'HTTPS', 'Ping'). comment: Description. log: Log level: 'em…

ParameterTypeDescription
action *string
type *string
commentstring
deststring
dportstring
enableinteger
ifacestring
logstring
macrostring
posinteger
protostring
sourcestring
sportstring

update_cluster_firewall_rule

Update a cluster-level firewall rule. Args: pos: Rule position to update. action: 'ACCEPT', 'DROP', 'REJECT'. enable: 1 = enabled, 0 = disabled, -1 = don't change. source: Source address/range. dest: Destination address/range. proto: Protocol. sport: Source port(s). dport: Destination port(s). macro: Predefined macro. comment: Description. moveto: Move rule to this position. delete: Comma-separated properties to delete.

ParameterTypeDescription
pos *integer
actionstring
commentstring
deletestring
deststring
dportstring
enableinteger
macrostring
movetointeger
protostring
sourcestring
sportstring

delete_cluster_firewall_rule

Delete a cluster-level firewall rule. Args: pos: Rule position to delete.

ParameterTypeDescription
pos *integer

list_firewall_groups

List firewall security groups (reusable sets of rules).

get_firewall_group_rules

List rules in a firewall security group. Args: group: Security group name.

ParameterTypeDescription
group *string

create_firewall_group

Create a new firewall security group. Args: group: Group name. comment: Description.

ParameterTypeDescription
group *string
commentstring

create_firewall_group_rule

Add a rule to a firewall security group. Args: group: Security group name. action: 'ACCEPT', 'DROP', 'REJECT'. type: 'in', 'out'. enable: 1 = enabled, 0 = disabled. source: Source address/range. dest: Destination address/range. proto: Protocol. sport: Source port(s). dport: Destination port(s). macro: Predefined macro. comment: Description.

ParameterTypeDescription
action *string
group *string
type *string
commentstring
deststring
dportstring
enableinteger
macrostring
protostring
sourcestring
sportstring

list_firewall_aliases

List cluster firewall aliases (named IP addresses/ranges).

create_firewall_alias

Create a firewall alias (named IP address or CIDR). Args: name: Alias name. cidr: IP address or CIDR (e.g. '10.0.0.0/24' or '192.168.1.1'). comment: Description.

ParameterTypeDescription
cidr *string
name *string
commentstring

delete_firewall_alias

Delete a firewall alias. Args: name: Alias name.

ParameterTypeDescription
name *string

list_firewall_ipsets

List cluster firewall IP sets (named groups of IPs).

create_firewall_ipset

Create a new firewall IP set. Args: name: IP set name. comment: Description.

ParameterTypeDescription
name *string
commentstring

list_firewall_ipset_entries

List entries in a firewall IP set. Args: name: IP set name.

ParameterTypeDescription
name *string

add_firewall_ipset_entry

Add an IP/CIDR to an IP set. Args: name: IP set name. cidr: IP address or CIDR. comment: Description. nomatch: Exclude this entry (nomatch).

ParameterTypeDescription
cidr *string
name *string
commentstring
nomatchboolean

delete_firewall_ipset_entry

Remove an IP/CIDR from an IP set. Args: name: IP set name. cidr: IP address or CIDR to remove.

ParameterTypeDescription
cidr *string
name *string

list_firewall_macros

List available firewall macros (predefined rule sets like SSH, HTTP, etc.).

get_firewall_refs

Get available firewall references (aliases, ipsets, names usable in rules).

get_node_firewall_options

Get firewall options for a specific node. Args: node: The node name.

ParameterTypeDescription
node *string

set_node_firewall_options

Set firewall options for a node. Args: node: The node name. enable: 1 = enable, 0 = disable, -1 = don't change. log_level_in: Input log level. log_level_out: Output log level. ndp: 1 = enable NDP, 0 = disable, -1 = don't change. nf_conntrack_max: Max conntrack entries (0 = don't change). delete: Comma-separated options to delete.

ParameterTypeDescription
node *string
deletestring
enableinteger
log_level_instring
log_level_outstring
ndpinteger
nf_conntrack_maxinteger

list_node_firewall_rules

List firewall rules for a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_firewall_log

Get firewall log for a node. Args: node: The node name. limit: Max entries.

ParameterTypeDescription
node *string
limitinteger

get_vm_firewall_options

Get firewall options for a QEMU VM. Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

set_vm_firewall_options

Set firewall options for a QEMU VM. Args: node: The node name. vmid: The VM ID. enable: 1 = enable, 0 = disable. dhcp: 1 = enable DHCP. ipfilter: 1 = enable IP filter. macfilter: 1 = enable MAC filter. policy_in: Input policy. policy_out: Output policy. delete: Comma-separated options to delete.

ParameterTypeDescription
node *string
vmid *integer
deletestring
dhcpinteger
enableinteger
ipfilterinteger
macfilterinteger
policy_instring
policy_outstring

list_vm_firewall_rules

List firewall rules for a QEMU VM. Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

create_vm_firewall_rule

Create a firewall rule for a QEMU VM. Args: node: The node name. vmid: The VM ID. action: 'ACCEPT', 'DROP', 'REJECT'. type: 'in', 'out', 'group'. enable: 1 = enabled, 0 = disabled. source: Source CIDR or alias. dest: Destination CIDR or alias. proto: Protocol. dport: Destination port(s). macro: Predefined macro. comment: Description.

ParameterTypeDescription
action *string
node *string
type *string
vmid *integer
commentstring
deststring
dportstring
enableinteger
macrostring
protostring
sourcestring

get_container_firewall_options

Get firewall options for an LXC container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

list_container_firewall_rules

List firewall rules for an LXC container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

create_container_firewall_rule

Create a firewall rule for an LXC container. Args: node: The node name. vmid: The container ID. action: 'ACCEPT', 'DROP', 'REJECT'. type: 'in', 'out', 'group'. enable: 1 = enabled, 0 = disabled. source: Source CIDR or alias. dest: Destination CIDR or alias. proto: Protocol. dport: Destination port(s). macro: Predefined macro. comment: Description.

ParameterTypeDescription
action *string
node *string
type *string
vmid *integer
commentstring
deststring
dportstring
enableinteger
macrostring
protostring
sourcestring

get_ha_status

Get HA manager status (active, quorum, manager status).

get_ha_manager_status

Get detailed HA manager status.

list_ha_resources

List all HA-managed resources.

get_ha_resource

Get HA resource configuration. Args: sid: HA resource ID (format: 'type:vmid', e.g. 'vm:100' or 'ct:101').

ParameterTypeDescription
sid *string

create_ha_resource

Add a resource to HA management. Args: sid: Resource ID (format: 'type:vmid', e.g. 'vm:100' or 'ct:101'). group: HA group name. max_relocate: Max relocations on failure. max_restart: Max restarts on failure. state: Desired state: 'started', 'stopped', 'enabled', 'disabled', 'ignored'. comment: Description.

ParameterTypeDescription
sid *string
commentstring
groupstring
max_relocateinteger
max_restartinteger
statestring

update_ha_resource

Update an HA resource configuration. Args: sid: Resource ID. group: HA group name. max_relocate: Max relocations (-1 = don't change). max_restart: Max restarts (-1 = don't change). state: Desired state. comment: Description. delete: Comma-separated properties to delete.

ParameterTypeDescription
sid *string
commentstring
deletestring
groupstring
max_relocateinteger
max_restartinteger
statestring

delete_ha_resource

Remove a resource from HA management. Args: sid: Resource ID (format: 'type:vmid').

ParameterTypeDescription
sid *string

migrate_ha_resource

Request migration of an HA resource to a different node. Args: sid: Resource ID. node: Target node.

ParameterTypeDescription
node *string
sid *string

relocate_ha_resource

Request relocation of an HA resource to a different node. Args: sid: Resource ID. node: Target node.

ParameterTypeDescription
node *string
sid *string

list_ha_groups

List HA groups (define which nodes can run HA resources).

get_ha_group

Get HA group configuration. Args: group: Group ID.

ParameterTypeDescription
group *string

create_ha_group

Create an HA group. Args: group: Group ID. nodes: Node list with optional priority (e.g. 'node1:2,node2:1' — higher = preferred). nofailback: If true, don't fail back to higher-priority nodes once recovered. restricted: Only run on nodes in this group (otherwise runs anywhere but prefers group nodes). comment: Description.

ParameterTypeDescription
group *string
nodes *string
commentstring
nofailbackboolean
restrictedboolean

update_ha_group

Update an HA group. Args: group: Group ID. nodes: Node list with optional priority. nofailback: Don't fail back. restricted: Only run on group nodes. comment: Description. delete: Comma-separated properties to delete.

ParameterTypeDescription
group *string
commentstring
deletestring
nodesstring
nofailbackboolean
restrictedboolean

delete_ha_group

Delete an HA group. Args: group: Group ID.

ParameterTypeDescription
group *string

list_containers

List all LXC containers on a node with status, memory, CPU, and disk info. Args: node: The node name.

ParameterTypeDescription
node *string

get_container_status

Get the current runtime status of a container. Args: node: The node name. vmid: The container ID (CTID).

ParameterTypeDescription
node *string
vmid *integer

get_container_config

Get the configuration of a container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

get_container_pending

Get pending configuration changes for a container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

get_container_interfaces

Get network interfaces and IPs of a running container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

get_container_rrddata

Get RRD statistics data for a container (CPU, memory, disk, network over time). Args: node: The node name. vmid: The container ID. timeframe: Time range: 'hour', 'day', 'week', 'month', 'year'.

ParameterTypeDescription
node *string
vmid *integer
timeframestring

get_container_feature

Check if a feature is available for a container (snapshot, clone, copy). Args: node: The node name. vmid: The container ID. feature: Feature to check ('snapshot', 'clone', 'copy').

ParameterTypeDescription
feature *string
node *string
vmid *integer

create_container

Create a new LXC container. Args: node: The node name. vmid: The container ID. ostemplate: Template volume (e.g. 'local:vztmpl/debian-12-standard_12.2-1_amd64.tar.zst'). hostname: Container hostname. password: Root password. ssh_public_keys: SSH public keys (newline delimited). storage: Storage for rootfs (default 'local'). rootfs: Root filesystem spec (e.g. 'local-lvm:8' for 8GB). memory: Memory in MB (default 512). swap: Swap in MB (default 512). cores:…

ParameterTypeDescription
node *string
ostemplate *string
vmid *integer
coresinteger
cpulimitnumber
descriptionstring
featuresstring
hostnamestring
memoryinteger
mp0string
nameserverstring
net0string
onbootboolean
passwordstring
poolstring
rootfsstring
searchdomainstring
ssh_public_keysstring
startboolean
storagestring
swapinteger
tagsstring
unprivilegedboolean

update_container_config

Update the configuration of an existing container. Args: node: The node name. vmid: The container ID. hostname: Container hostname. memory: Memory in MB. swap: Swap in MB. cores: CPU cores. cpulimit: CPU limit (0 = unlimited). net0: Network config. nameserver: DNS nameserver. searchdomain: DNS search domain. onboot: Start on boot. description: Description. features: Comma-separated features. tags: Tags for the container…

ParameterTypeDescription
node *string
vmid *integer
coresinteger
cpulimitnumber
deletestring
descriptionstring
featuresstring
hostnamestring
memoryinteger
nameserverstring
net0string
onboot
searchdomainstring
swapinteger
tagsstring

delete_container

Delete a container. Must be stopped first unless force=True. Args: node: The node name. vmid: The container ID. purge: Remove from replication, HA, backup and ACLs too. destroy_unreferenced_disks: Destroy unreferenced disks. force: Force destroy even if running.

ParameterTypeDescription
node *string
vmid *integer
destroy_unreferenced_disksboolean
forceboolean
purgeboolean

start_container

Start a container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

stop_container

Hard-stop a container (immediate, like power off). Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

shutdown_container

Gracefully shut down a container. Args: node: The node name. vmid: The container ID. timeout: Timeout in seconds before force stop. force_stop: Force stop after timeout.

ParameterTypeDescription
node *string
vmid *integer
force_stopboolean
timeoutinteger

reboot_container

Reboot a container. Args: node: The node name. vmid: The container ID. timeout: Timeout in seconds.

ParameterTypeDescription
node *string
vmid *integer
timeoutinteger

suspend_container

Suspend (freeze) a container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

resume_container

Resume a suspended container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

clone_container

Clone a container. Args: node: The source node name. vmid: The source container ID. newid: ID for the new container. hostname: Hostname for the clone. target: Target node (default: same node). full: Full clone (True) or linked clone (False). storage: Target storage for full clone. description: Description. pool: Resource pool. snapname: Snapshot to clone from.

ParameterTypeDescription
newid *integer
node *string
vmid *integer
descriptionstring
fullboolean
hostnamestring
poolstring
snapnamestring
storagestring
targetstring

migrate_container

Migrate a container to another node. Args: node: The source node. vmid: The container ID. target: Target node name. online: Live migration. restart: Restart container after migration (for non-live). target_storage: Target storage mapping.

ParameterTypeDescription
node *string
target *string
vmid *integer
onlineboolean
restartboolean
target_storagestring

convert_container_to_template

Convert a container into a template (irreversible). Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

resize_container_disk

Resize a container disk/volume. Args: node: The node name. vmid: The container ID. disk: Disk name (e.g. 'rootfs', 'mp0'). size: New size or increment (e.g. '10G', '+2G').

ParameterTypeDescription
disk *string
node *string
size *string
vmid *integer

move_container_volume

Move a container volume to different storage or to another container. Args: node: The node name. vmid: The container ID. volume: Volume name (e.g. 'rootfs', 'mp0'). storage: Target storage. target_vmid: Target container ID. target_volume: Target volume slot. delete_original: Delete original after move.

ParameterTypeDescription
node *string
vmid *integer
volume *string
delete_originalboolean
storagestring
target_vmidinteger
target_volumestring

list_container_snapshots

List all snapshots of a container. Args: node: The node name. vmid: The container ID.

ParameterTypeDescription
node *string
vmid *integer

create_container_snapshot

Create a snapshot of a container. Args: node: The node name. vmid: The container ID. snapname: Snapshot name. description: Snapshot description.

ParameterTypeDescription
node *string
snapname *string
vmid *integer
descriptionstring

delete_container_snapshot

Delete a container snapshot. Args: node: The node name. vmid: The container ID. snapname: Snapshot name. force: Force delete.

ParameterTypeDescription
node *string
snapname *string
vmid *integer
forceboolean

rollback_container_snapshot

Rollback a container to a previous snapshot. Args: node: The node name. vmid: The container ID. snapname: Snapshot name.

ParameterTypeDescription
node *string
snapname *string
vmid *integer

list_nodes

List all nodes in the Proxmox cluster with their status, CPU, memory, and uptime.

get_node_status

Get detailed status of a specific node including CPU, memory, disk, uptime, and kernel info. Args: node: The node name (e.g. 'pve1').

ParameterTypeDescription
node *string

get_node_config

Get the configuration of a node (description, wakeonlan, etc.). Args: node: The node name.

ParameterTypeDescription
node *string

get_node_dns

Get DNS settings for a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_network

Get network interface configuration for a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_network_interface

Get details for a specific network interface. Args: node: The node name. iface: Interface name (e.g. 'vmbr0', 'eth0').

ParameterTypeDescription
iface *string
node *string

create_node_network_interface

Create a network interface on a node. Args: node: The node name. iface: Interface name (e.g. 'vmbr1'). type: Interface type (bridge, bond, eth, alias, vlan, OVSBridge, OVSPort, OVSIntPort, OVSBond). address: IP address (CIDR notation or IP). netmask: Subnet mask. gateway: Default gateway. bridge_ports: Bridge ports (for bridge type). autostart: Whether to start on boot. comments: Comments for the interface.

ParameterTypeDescription
iface *string
node *string
type *string
addressstring
autostartboolean
bridge_portsstring
commentsstring
gatewaystring
netmaskstring

list_node_services

List all system services on a node (pve, ssh, cron, etc.). Args: node: The node name.

ParameterTypeDescription
node *string

manage_node_service

Start, stop, restart, or reload a system service on a node. Args: node: The node name. service: Service name (e.g. 'pvedaemon', 'pveproxy', 'ssh', 'cron', 'postfix'). action: One of 'start', 'stop', 'restart', 'reload'.

ParameterTypeDescription
action *string
node *string
service *string

get_node_syslog

Read system log (syslog) entries from a node. Args: node: The node name. limit: Max number of log lines to return (default 50). start: Start line number. since: Only show entries since this date (YYYY-MM-DD). until: Only show entries until this date (YYYY-MM-DD).

ParameterTypeDescription
node *string
limitinteger
sincestring
startinteger
untilstring

get_node_journal

Read systemd journal entries from a node. Args: node: The node name. lastentries: Max number of entries (default 50). since: Show entries since date/time. until: Show entries until date/time. startcursor: Start cursor for paging.

ParameterTypeDescription
node *string
lastentriesinteger
sincestring
startcursorstring
untilstring

list_node_tasks

List recent tasks on a node. Args: node: The node name. limit: Max tasks to return (default 50). start: Offset for paging. vmid: Filter by VM ID (0 = all). typefilter: Filter by task type (e.g. 'qmstart', 'vzstart', 'vzcreate'). statusfilter: Filter by status ('running', 'ok', 'error', etc.).

ParameterTypeDescription
node *string
limitinteger
startinteger
statusfilterstring
typefilterstring
vmidinteger

get_task_status

Get the status of a specific task by its UPID. Args: node: The node name. upid: The task UPID string.

ParameterTypeDescription
node *string
upid *string

get_task_log

Get log output of a specific task. Args: node: The node name. upid: The task UPID string. limit: Max lines to return. start: Start line number.

ParameterTypeDescription
node *string
upid *string
limitinteger
startinteger

stop_task

Stop (abort) a running task. Args: node: The node name. upid: The task UPID string.

ParameterTypeDescription
node *string
upid *string

get_node_time

Get the current time and timezone of a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_subscription

Get subscription status for a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_apt_update

List available package updates on a node. Args: node: The node name.

ParameterTypeDescription
node *string

run_apt_update

Refresh the package index on a node (apt update). Args: node: The node name.

ParameterTypeDescription
node *string

get_node_report

Generate a system report for a node (useful for diagnostics). Args: node: The node name.

ParameterTypeDescription
node *string

get_node_disks

List physical disks on a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_disk_smart

Get S.M.A.R.T. health data for a disk. Args: node: The node name. disk: Disk device path (e.g. '/dev/sda').

ParameterTypeDescription
disk *string
node *string

get_node_hardware_pci

List PCI hardware devices on a node (for passthrough). Args: node: The node name.

ParameterTypeDescription
node *string

get_node_hardware_usb

List USB hardware devices on a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_capabilities_qemu

Get QEMU capabilities for a node: supported CPU models, machine types, etc. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_storage_scan

Scan for available storage targets (NFS, CIFS, iSCSI, LVM, ZFS, PBS). Args: node: The node name. scan_type: Type to scan: 'nfs', 'cifs', 'iscsi', 'lvm', 'lvmthin', 'zfs', 'pbs'. server: Server address (required for nfs, cifs, iscsi, pbs).

ParameterTypeDescription
node *string
scan_type *string
serverstring

wakeonlan_node

Send a Wake-on-LAN magic packet to a node. Args: node: The node name.

ParameterTypeDescription
node *string

startall_node

Start all VMs and containers on a node (respecting boot order). Args: node: The node name. force: Force start even if already running. vms: Comma-separated list of VMIDs to start (empty = all).

ParameterTypeDescription
node *string
forceboolean
vmsstring

stopall_node

Stop all VMs and containers on a node. Args: node: The node name. vms: Comma-separated list of VMIDs to stop (empty = all).

ParameterTypeDescription
node *string
vmsstring

get_node_hosts

Get the /etc/hosts file content for a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_version

Get Proxmox VE version information for a specific node. Args: node: The node name.

ParameterTypeDescription
node *string

get_node_netstat

Get network statistics for a node (per-interface traffic). Args: node: The node name.

ParameterTypeDescription
node *string

get_node_aplinfo

List available appliance templates (LXC templates) that can be downloaded. Args: node: The node name.

ParameterTypeDescription
node *string

download_appliance_template

Download an appliance template to local storage. Args: node: The node name. storage: Target storage ID. template: Template name to download.

ParameterTypeDescription
node *string
storage *string
template *string

list_pools

List all resource pools.

get_pool

Get pool configuration and members. Args: poolid: Pool ID.

ParameterTypeDescription
poolid *string

create_pool

Create a resource pool. Args: poolid: Pool ID. comment: Description.

ParameterTypeDescription
poolid *string
commentstring

update_pool

Update a resource pool (add/remove members). Args: poolid: Pool ID. comment: Description. vms: Comma-separated VMIDs to add/remove. storage: Comma-separated storage IDs to add/remove. delete: If true, remove the specified vms/storage from the pool instead of adding.

ParameterTypeDescription
poolid *string
commentstring
deleteboolean
storagestring
vmsstring

delete_pool

Delete a resource pool. Args: poolid: Pool ID.

ParameterTypeDescription
poolid *string

list_acme_accounts

List ACME (Let's Encrypt) accounts.

get_acme_account

Get ACME account details. Args: name: Account name (default: 'default').

ParameterTypeDescription
namestring

register_acme_account

Register a new ACME account. Args: contact: Contact email address. directory: ACME directory URL (empty = Let's Encrypt production). name: Account name. tos_url: Terms of service URL to accept.

ParameterTypeDescription
contact *string
directorystring
namestring
tos_urlstring

list_acme_plugins

List ACME DNS challenge plugins.

get_acme_plugin

Get ACME plugin configuration. Args: id: Plugin ID.

ParameterTypeDescription
id *string

get_acme_directories

List known ACME directory URLs.

get_acme_tos

Get the ACME Terms of Service URL.

order_node_certificate

Order/renew ACME certificate for a node. Args: node: The node name. force: Force renewal even if not due.

ParameterTypeDescription
node *string
forceboolean

get_node_certificates

Get certificate info for a node. Args: node: The node name.

ParameterTypeDescription
node *string

list_vms

List all QEMU virtual machines on a node with status, memory, CPU, and disk info. Args: node: The node name.

ParameterTypeDescription
node *string

get_vm_status

Get the current runtime status of a VM (state, CPU, memory, disk, network, uptime). Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

get_vm_config

Get the configuration of a VM. Args: node: The node name. vmid: The VM ID. current: If True, return current (runtime) config. If False, return pending config.

ParameterTypeDescription
node *string
vmid *integer
currentboolean

get_vm_pending

Get pending configuration changes for a VM (not yet applied). Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

get_vm_feature

Check if a specific feature is available/supported for a VM (e.g. snapshot, clone, copy). Args: node: The node name. vmid: The VM ID. feature: Feature to check ('snapshot', 'clone', 'copy').

ParameterTypeDescription
feature *string
node *string
vmid *integer

get_vm_rrddata

Get RRD statistics data for a VM (CPU, memory, disk, network over time). Args: node: The node name. vmid: The VM ID. timeframe: Time range: 'hour', 'day', 'week', 'month', 'year'.

ParameterTypeDescription
node *string
vmid *integer
timeframestring

create_vm

Create a new QEMU virtual machine. Args: node: The node name. vmid: The VM ID number. name: VM name. memory: Memory in MB (default 2048). cores: Number of CPU cores per socket (default 1). sockets: Number of CPU sockets (default 1). cpu: CPU type (default 'host'). ostype: OS type: l26 (Linux 2.6+), win10, win11, wxp, other, etc. scsihw: SCSI controller: virtio-scsi-single, virtio-scsi-pci, lsi, megasas, pvscsi. scsi0: First SCSI disk (e.g. 'local-lvm:32' for 32GB on…

ParameterTypeDescription
node *string
vmid *integer
agentstring
biosstring
bootstring
cdromstring
coresinteger
cpustring
descriptionstring
ide2string
machinestring
memoryinteger
namestring
net0string
onbootboolean
ostypestring
poolstring
scsi0string
scsihwstring
socketsinteger
startboolean
tagsstring

update_vm_config

Update the configuration of an existing VM. Only provided parameters are changed. Args: node: The node name. vmid: The VM ID. name: VM name. memory: Memory in MB. cores: CPU cores per socket. sockets: CPU sockets. cpu: CPU type. net0: Network config. description: Description. onboot: Start on boot. agent: Guest agent config. boot: Boot order. tags: Tags for the VM. hotplug: Hotplug features (disk, network, usb, memory,…

ParameterTypeDescription
node *string
vmid *integer
agentstring
bootstring
coresinteger
cpustring
deletestring
descriptionstring
hotplugstring
memoryinteger
namestring
net0string
onboot
socketsinteger
tagsstring

delete_vm

Delete a VM. The VM must be stopped first. Args: node: The node name. vmid: The VM ID. purge: Remove from replication, HA, backup jobs and ACLs too. destroy_unreferenced_disks: Also destroy unreferenced disks owned by the VM.

ParameterTypeDescription
node *string
vmid *integer
destroy_unreferenced_disksboolean
purgeboolean

start_vm

Start a VM. Args: node: The node name. vmid: The VM ID. timeout: Timeout in seconds (0 = default).

ParameterTypeDescription
node *string
vmid *integer
timeoutinteger

stop_vm

Hard-stop a VM (like pulling the power plug). Prefer shutdown_vm for graceful stop. Args: node: The node name. vmid: The VM ID. timeout: Wait timeout in seconds. skiplock: Ignore locks (requires root).

ParameterTypeDescription
node *string
vmid *integer
skiplockboolean
timeoutinteger

shutdown_vm

Gracefully shut down a VM via ACPI. Falls back to hard stop after timeout if force_stop is true. Args: node: The node name. vmid: The VM ID. timeout: Timeout in seconds before force stop. force_stop: Force stop after timeout (default True).

ParameterTypeDescription
node *string
vmid *integer
force_stopboolean
timeoutinteger

reboot_vm

Reboot a VM via ACPI. Args: node: The node name. vmid: The VM ID. timeout: Wait timeout in seconds.

ParameterTypeDescription
node *string
vmid *integer
timeoutinteger

suspend_vm

Suspend a VM (pause execution or hibernate to disk). Args: node: The node name. vmid: The VM ID. todisk: If True, hibernate to disk. If False, pause in RAM.

ParameterTypeDescription
node *string
vmid *integer
todiskboolean

resume_vm

Resume a suspended/paused VM. Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

reset_vm

Hard reset a VM (like pressing the reset button). Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

clone_vm

Clone a VM to create a new one. Can be a full copy or linked clone. Args: node: The source node name. vmid: The source VM ID. newid: The VMID for the new clone. name: Name for the clone. target: Target node for the clone (default: same node). full: Full clone (True) or linked clone (False). storage: Target storage for full clone. description: Description for the clone. pool: Resource pool. snapname: Snapshot name to clone from.

ParameterTypeDescription
newid *integer
node *string
vmid *integer
descriptionstring
fullboolean
namestring
poolstring
snapnamestring
storagestring
targetstring

migrate_vm

Migrate a VM to another node in the cluster. Args: node: The source node. vmid: The VM ID. target: Target node name. online: Live migration (True) or offline (False). with_local_disks: Migrate local disks as well. targetstorage: Target storage mapping for migration (e.g. 'local-lvm').

ParameterTypeDescription
node *string
target *string
vmid *integer
onlineboolean
targetstoragestring
with_local_disksboolean

convert_vm_to_template

Convert a VM into a template (irreversible). Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

resize_vm_disk

Resize a VM disk. Can only grow, not shrink. Args: node: The node name. vmid: The VM ID. disk: Disk name (e.g. 'scsi0', 'virtio0', 'ide0'). size: New size or size increment (e.g. '50G', '+10G').

ParameterTypeDescription
disk *string
node *string
size *string
vmid *integer

move_vm_disk

Move a VM disk to different storage or attach to another VM. Args: node: The node name. vmid: The VM ID. disk: Source disk name (e.g. 'scsi0'). storage: Target storage ID (for moving to different storage). target_vmid: Target VM ID (for moving disk to another VM). target_disk: Target disk slot on the target VM. delete_original: Delete the original disk after moving.

ParameterTypeDescription
disk *string
node *string
vmid *integer
delete_originalboolean
storagestring
target_diskstring
target_vmidinteger

list_vm_snapshots

List all snapshots of a VM. Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

create_vm_snapshot

Create a snapshot of a VM. Args: node: The node name. vmid: The VM ID. snapname: Snapshot name. description: Snapshot description. vmstate: Include RAM state (for running VMs).

ParameterTypeDescription
node *string
snapname *string
vmid *integer
descriptionstring
vmstateboolean

delete_vm_snapshot

Delete a VM snapshot. Args: node: The node name. vmid: The VM ID. snapname: Snapshot name to delete. force: Force delete even if snapshot is in use.

ParameterTypeDescription
node *string
snapname *string
vmid *integer
forceboolean

rollback_vm_snapshot

Rollback a VM to a previous snapshot (current state will be lost). Args: node: The node name. vmid: The VM ID. snapname: The snapshot name to rollback to.

ParameterTypeDescription
node *string
snapname *string
vmid *integer

get_vm_snapshot_config

Get the configuration stored in a VM snapshot. Args: node: The node name. vmid: The VM ID. snapname: The snapshot name.

ParameterTypeDescription
node *string
snapname *string
vmid *integer

get_vm_cloudinit

Get Cloud-Init configuration for a VM. Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

update_vm_cloudinit

Set Cloud-Init parameters for a VM (user, password, SSH keys, network). Args: node: The node name. vmid: The VM ID. ciuser: Cloud-Init user name. cipassword: Cloud-Init password. sshkeys: SSH public keys (URL-encoded, newline delimited). ipconfig0: IP config for first interface (e.g. 'ip=dhcp' or 'ip=10.0.0.5/24,gw=10.0.0.1'). nameserver: DNS nameserver IP. searchdomain: DNS search domain.

ParameterTypeDescription
node *string
vmid *integer
cipasswordstring
ciuserstring
ipconfig0string
nameserverstring
searchdomainstring
sshkeysstring

dump_vm_cloudinit

Dump the Cloud-Init generated config file (user-data, network-data, or meta-data). Args: node: The node name. vmid: The VM ID. type: Config type: 'user', 'network', or 'meta'.

ParameterTypeDescription
node *string
vmid *integer
typestring

vm_agent_exec

Execute a command inside a VM via the QEMU Guest Agent. Args: node: The node name. vmid: The VM ID. command: The command to execute. A string is split into arguments using POSIX shell rules (quote paths containing spaces). A list is passed through unchanged and is recommended for Windows guest paths with backslashes, since POSIX splitting otherwise strips them. input_data: Data to pass to stdin.

ParameterTypeDescription
command *
node *string
vmid *integer
input_datastring

vm_agent_exec_status

Get the status/result of a command previously executed via the guest agent. Args: node: The node name. vmid: The VM ID. pid: The PID returned by the exec call.

ParameterTypeDescription
node *string
pid *integer
vmid *integer

vm_agent_file_read

Read a file from inside a VM via the guest agent. Args: node: The node name. vmid: The VM ID. file: Absolute file path inside the guest.

ParameterTypeDescription
file *string
node *string
vmid *integer

vm_agent_file_write

Write content to a file inside a VM via the guest agent. Args: node: The node name. vmid: The VM ID. file: Absolute file path inside the guest. content: File content to write.

ParameterTypeDescription
content *string
file *string
node *string
vmid *integer

vm_agent_get_info

Get various system information from a VM via the guest agent. Args: node: The node name. vmid: The VM ID. info_type: Info to retrieve: 'get-osinfo', 'get-host-name', 'get-time', 'get-timezone', 'get-users', 'get-vcpus', 'get-fsinfo', 'get-memory-blocks', 'get-memory-block-info', 'info', 'network-get-interfaces'.

ParameterTypeDescription
node *string
vmid *integer
info_typestring

vm_agent_set_password

Set a user password inside a VM via the guest agent. Args: node: The node name. vmid: The VM ID. username: The username. password: The new password. crypted: If True, password is already encrypted.

ParameterTypeDescription
node *string
password *string
username *string
vmid *integer
cryptedboolean

get_vm_vncproxy

Create a VNC proxy connection ticket for a VM (for console access). Args: node: The node name. vmid: The VM ID. websocket: Use WebSocket connection.

ParameterTypeDescription
node *string
vmid *integer
websocketboolean

get_vm_spiceproxy

Create a SPICE proxy connection for a VM console. Args: node: The node name. vmid: The VM ID.

ParameterTypeDescription
node *string
vmid *integer

send_vm_key

Send a key event to a VM (e.g. ctrl-alt-del). Args: node: The node name. vmid: The VM ID. key: Key combination (e.g. 'ctrl-alt-delete').

ParameterTypeDescription
key *string
node *string
vmid *integer

send_vm_monitor_command

Send a QEMU monitor command to a VM (advanced/low-level). Args: node: The node name. vmid: The VM ID. command: The QEMU monitor command.

ParameterTypeDescription
command *string
node *string
vmid *integer

list_sdn_vnets

List SDN virtual networks (VNets).

get_sdn_vnet

Get SDN VNet configuration. Args: vnet: VNet ID.

ParameterTypeDescription
vnet *string

create_sdn_vnet

Create an SDN VNet. Args: vnet: VNet ID. zone: Zone ID. tag: VLAN tag. alias: Display alias. vlanaware: Enable VLAN-aware bridge.

ParameterTypeDescription
vnet *string
zone *string
aliasstring
taginteger
vlanawareboolean

update_sdn_vnet

Update an SDN VNet. Args: vnet: VNet ID. zone: Zone ID. tag: VLAN tag (-1 = don't change). alias: Display alias. delete: Comma-separated properties to delete.

ParameterTypeDescription
vnet *string
aliasstring
deletestring
taginteger
zonestring

delete_sdn_vnet

Delete an SDN VNet. Args: vnet: VNet ID.

ParameterTypeDescription
vnet *string

list_sdn_subnets

List subnets for an SDN VNet. Args: vnet: VNet ID.

ParameterTypeDescription
vnet *string

create_sdn_subnet

Create a subnet for an SDN VNet. Args: vnet: VNet ID. subnet: Subnet CIDR (e.g. '10.0.0.0/24'). gateway: Gateway IP. snat: Enable SNAT. dnszoneprefix: DNS zone prefix.

ParameterTypeDescription
subnet *string
vnet *string
dnszoneprefixstring
gatewaystring
snatboolean

list_sdn_zones

List SDN zones.

get_sdn_zone

Get SDN zone configuration. Args: zone: Zone ID.

ParameterTypeDescription
zone *string

create_sdn_zone

Create an SDN zone. Args: zone: Zone ID. type: Zone type: 'simple', 'vlan', 'qinq', 'vxlan', 'evpn'. nodes: Comma-separated node list. ipam: IPAM plugin name. dns: DNS plugin name. bridge: Bridge name. mtu: MTU.

ParameterTypeDescription
type *string
zone *string
bridgestring
dnsstring
ipamstring
mtuinteger
nodesstring

delete_sdn_zone

Delete an SDN zone. Args: zone: Zone ID.

ParameterTypeDescription
zone *string

list_sdn_controllers

List SDN controllers (e.g. EVPN controller).

get_sdn_controller

Get SDN controller configuration. Args: controller: Controller ID.

ParameterTypeDescription
controller *string

list_sdn_ipams

List IPAM (IP Address Management) plugins.

get_sdn_ipam

Get IPAM plugin configuration. Args: ipam: IPAM ID.

ParameterTypeDescription
ipam *string

list_sdn_dns

List SDN DNS plugins.

apply_sdn_changes

Apply pending SDN configuration changes to all nodes.

list_storage

List all configured storage pools at the datacenter level. Args: type: Filter by type (dir, lvm, lvmthin, zfspool, nfs, cifs, iscsi, rbd, cephfs, pbs, glusterfs, btrfs). enabled: Only show enabled storage (default True).

ParameterTypeDescription
enabledboolean
typestring

get_storage_config

Get configuration of a specific storage pool. Args: storage: The storage ID.

ParameterTypeDescription
storage *string

create_storage

Create a new storage pool configuration. Args: storage: Storage ID. type: Storage type: dir, lvm, lvmthin, zfspool, nfs, cifs, iscsi, rbd, cephfs, pbs, glusterfs, btrfs. path: File system path (for dir, nfs mounts). server: Server IP/hostname (for nfs, cifs, iscsi, pbs, glusterfs, rbd, cephfs). export: NFS export path. vgname: LVM volume group name. thinpool: LVM thin pool name (for lvmthin). pool: Pool name (for Ceph RBD/CephFS, ZFS). portal: iSCSI portal. target: i…

ParameterTypeDescription
storage *string
type *string
contentstring
datastorestring
disableboolean
exportstring
maxfilesinteger
nodesstring
pathstring
poolstring
portalstring
prune_backupsstring
serverstring
sharedboolean
targetstring
thinpoolstring
vgnamestring

update_storage

Update an existing storage pool configuration. Args: storage: The storage ID to update. content: Content types (images, rootdir, vztmpl, iso, backup, snippets, import). nodes: Allowed nodes (comma-separated). shared: Mark as shared. disable: Disable this storage. prune_backups: Backup retention policy. delete: Comma-separated list of settings to delete.

ParameterTypeDescription
storage *string
contentstring
deletestring
disable
nodesstring
prune_backupsstring
shared

delete_storage

Delete a storage pool configuration (does not delete data on the backend). Args: storage: The storage ID.

ParameterTypeDescription
storage *string

list_node_storage

List storage pools available on a specific node with usage info. Args: node: The node name. content: Filter by content type (images, rootdir, vztmpl, iso, backup). enabled: Only show enabled storage.

ParameterTypeDescription
node *string
contentstring
enabledboolean

get_node_storage_status

Get usage status of a storage pool on a node (total, used, available). Args: node: The node name. storage: The storage ID.

ParameterTypeDescription
node *string
storage *string

list_storage_content

List content of a storage pool (disk images, ISOs, templates, backups). Args: node: The node name. storage: The storage ID. content: Filter by type: 'images', 'rootdir', 'vztmpl', 'iso', 'backup', 'snippets'. vmid: Filter by VM ID.

ParameterTypeDescription
node *string
storage *string
contentstring
vmidinteger

get_storage_volume_info

Get details about a specific volume in storage. Args: node: The node name. storage: The storage ID. volume: The volume ID.

ParameterTypeDescription
node *string
storage *string
volume *string

allocate_storage_volume

Allocate a new disk volume in storage. Args: node: The node name. storage: The storage ID. vmid: VM ID to associate with. filename: Volume name. size: Volume size (e.g. '10G'). format: Disk format (raw, qcow2, vmdk). Auto-detected if empty.

ParameterTypeDescription
filename *string
node *string
size *string
storage *string
vmid *integer
formatstring

delete_storage_volume

Delete a volume from storage. Args: node: The node name. storage: The storage ID. volume: The volume ID.

ParameterTypeDescription
node *string
storage *string
volume *string

upload_to_storage

Upload a file (ISO, template, etc.) to storage. Note: actual file upload must go through the HTTP API directly. Args: node: The node name. storage: The storage ID. content: Content type: 'iso', 'vztmpl', 'snippets', 'import'. filename: Target filename. tmpfilename: Temporary filename for the upload.

ParameterTypeDescription
content *string
filename *string
node *string
storage *string
tmpfilenamestring

download_url_to_storage

Download a file from a URL directly to storage (ISO, template, etc.). Args: node: The node name. storage: The storage ID. url: URL to download from. content: Content type: 'iso', 'vztmpl'. filename: Target filename. checksum: Expected checksum. checksum_algorithm: Checksum algorithm (sha256, sha512, md5).

ParameterTypeDescription
content *string
filename *string
node *string
storage *string
url *string
checksumstring
checksum_algorithmstring

get_storage_rrddata

Get RRD statistics for a storage pool (usage over time). Args: node: The node name. storage: The storage ID. timeframe: Time range: 'hour', 'day', 'week', 'month', 'year'.

ParameterTypeDescription
node *string
storage *string
timeframestring

prune_storage_backups

Prune (delete) old backups from storage according to retention policy. Args: node: The node name. storage: The storage ID. type: Guest type filter ('qemu' or 'lxc'). vmid: Filter by VM ID. prune_backups: Retention spec (e.g. 'keep-last=3,keep-daily=7,keep-weekly=4'). dry_run: If True, only simulate (default True for safety).

ParameterTypeDescription
node *string
storage *string
dry_runboolean
prune_backupsstring
typestring
vmidinteger

list_file_restore

List files in a backup volume for file-level restore (PBS backups). Args: node: The node name. storage: The storage ID. volume: The backup volume ID. filepath: Path inside the backup to list (default '/').

ParameterTypeDescription
node *string
storage *string
volume *string
filepathstring

list_lvm_volumes

List LVM volume groups on a node. Args: node: The node name.

ParameterTypeDescription
node *string

create_lvm

Create a new LVM volume group on a device. Args: node: The node name. name: VG name. device: Block device path (e.g. '/dev/sdb'). add_to_storage: Auto-add as Proxmox storage.

ParameterTypeDescription
device *string
name *string
node *string
add_to_storageboolean

list_lvmthin_pools

List LVM thin pools on a node. Args: node: The node name.

ParameterTypeDescription
node *string

create_lvmthin

Create a new LVM thin pool. Args: node: The node name. name: Thin pool name. device: Block device path. add_to_storage: Auto-add as Proxmox storage.

ParameterTypeDescription
device *string
name *string
node *string
add_to_storageboolean

list_zfs_pools

List ZFS pools on a node. Args: node: The node name.

ParameterTypeDescription
node *string

get_zfs_pool

Get details of a ZFS pool. Args: node: The node name. name: ZFS pool name.

ParameterTypeDescription
name *string
node *string

create_zfs_pool

Create a new ZFS pool. Args: node: The node name. name: Pool name. raidlevel: RAID level: single, mirror, raid10, raidz, raidz2, raidz3, draid, draid2, draid3. devices: Space-separated device paths (e.g. '/dev/sdb /dev/sdc'). add_to_storage: Auto-add as Proxmox storage. ashift: ashift value (default 12). compression: Compression (on, off, lz4, zstd, etc.).

ParameterTypeDescription
devices *string
name *string
node *string
raidlevel *string
add_to_storageboolean
ashiftinteger
compressionstring

list_directory_storage

List directory-based storage mounts on a node. Args: node: The node name.

ParameterTypeDescription
node *string

create_directory_storage

Create a directory-based storage mount from a device. Args: node: The node name. name: Storage name. device: Block device path. filesystem: Filesystem type (ext4, xfs). add_to_storage: Auto-add as Proxmox storage.

ParameterTypeDescription
device *string
name *string
node *string
add_to_storageboolean
filesystemstring

initialize_gpt

Initialize a disk with GPT partition table (WARNING: destroys all data). Args: node: The node name. disk: Disk device path (e.g. '/dev/sdb').

ParameterTypeDescription
disk *string
node *string