proxmox-mcp-server
v1.4.4MCP 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}').
| Parameter | Type | Description |
|---|---|---|
method * | string | |
path * | string | |
params | string |
list_users
List all users in Proxmox. Args: enabled: Only show enabled users. full: Include detailed info (groups, tokens, etc.).
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | |
full | boolean |
get_user
Get details for a specific user. Args: userid: User ID (format: 'user@realm', e.g. 'admin@pam').
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
userid * | string | |
comment | string | |
email | string | |
enable | boolean | |
expire | integer | |
firstname | string | |
groups | string | |
lastname | string | |
password | string |
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.
| Parameter | Type | Description |
|---|---|---|
userid * | string | |
append | boolean | |
comment | string | |
email | string | |
enable | boolean | |
expire | integer | |
firstname | string | |
groups | string | |
lastname | string |
delete_user
Delete a user. Args: userid: User ID to delete (format: 'user@realm').
| Parameter | Type | Description |
|---|---|---|
userid * | string |
list_user_tokens
List API tokens for a user. Args: userid: User ID (format: 'user@realm').
| Parameter | Type | Description |
|---|---|---|
userid * | string |
get_user_token
Get details for a specific API token. Args: userid: User ID (format: 'user@realm'). tokenid: Token ID.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
tokenid * | string | |
userid * | string | |
comment | string | |
expire | integer | |
privsep | boolean |
delete_user_token
Delete an API token. Args: userid: User ID (format: 'user@realm'). tokenid: Token ID.
| Parameter | Type | Description |
|---|---|---|
tokenid * | string | |
userid * | string |
list_groups
List all user groups.
get_group
Get group details. Args: groupid: Group ID.
| Parameter | Type | Description |
|---|---|---|
groupid * | string |
create_group
Create a new group. Args: groupid: Group ID. comment: Description.
| Parameter | Type | Description |
|---|---|---|
groupid * | string | |
comment | string |
update_group
Update a group. Args: groupid: Group ID. comment: Description.
| Parameter | Type | Description |
|---|---|---|
groupid * | string | |
comment | string |
delete_group
Delete a group. Args: groupid: Group ID.
| Parameter | Type | Description |
|---|---|---|
groupid * | string |
list_roles
List all available roles.
get_role
Get role details and its privileges. Args: roleid: Role ID.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
privs * | string | |
roleid * | string | |
append | boolean |
delete_role
Delete a role. Args: roleid: Role ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
roles * | string | |
delete | boolean | |
groups | string | |
propagate | boolean | |
tokens | string | |
users | string |
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').
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
realm * | string | |
dry_run | boolean | |
enable_new | boolean | |
full | boolean | |
remove_vanished | string |
list_tfa
List TFA (two-factor auth) entries. Args: userid: Filter by user ID (empty = all users).
| Parameter | Type | Description |
|---|---|---|
userid | string |
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).
| Parameter | Type | Description |
|---|---|---|
path | string | |
userid | string |
change_password
Change a user's password. Args: userid: User ID (format: 'user@realm'). password: New password.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
id * | string |
get_backup_job_included_volumes
Get volumes included in a backup job. Args: id: Backup job ID.
| Parameter | Type | Description |
|---|---|---|
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.…
| Parameter | Type | Description |
|---|---|---|
storage * | string | |
all_guests | boolean | |
comment | string | |
compress | string | |
enabled | boolean | |
mailnotification | string | |
mailto | string | |
maxfiles | integer | |
mode | string | |
node | string | |
notes_template | string | |
prune_backups | string | |
schedule | string | |
vmid | string |
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
all_guests | boolean | |
compress | string | |
delete | string | |
enabled | boolean | |
mode | string | |
node | string | |
schedule | string | |
storage | string | |
vmid | string |
delete_backup_job
Delete a scheduled backup job. Args: id: Backup job ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
all_guests | boolean | |
compress | string | |
mode | string | |
stdout | boolean | |
storage | string | |
vmid | string |
get_vzdump_defaults
Get the default vzdump configuration for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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 '/').
| Parameter | Type | Description |
|---|---|---|
node * | string | |
storage * | string | |
volume * | string | |
filepath | string |
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.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
type | string |
get_cluster_tasks
List recent tasks across all nodes in the cluster. Args: limit: Maximum number of tasks to return.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_cluster_log
Get the cluster log (recent events). Args: max_entries: Max log entries.
| Parameter | Type | Description |
|---|---|---|
max_entries | integer |
get_next_vmid
Get the next available VMID in the cluster. Args: vmid: Specific VMID to check availability for (0 = auto-assign).
| Parameter | Type | Description |
|---|---|---|
vmid | integer |
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.
| Parameter | Type | Description |
|---|---|---|
console | string | |
delete | string | |
description | string | |
email_from | string | |
http_proxy | string | |
keyboard | string | |
language | string | |
max_workers | integer |
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.
| Parameter | Type | Description |
|---|---|---|
fingerprint * | string | |
hostname * | string | |
password * | string | |
force | boolean | |
nodeid | integer |
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
target * | string | |
comment | string | |
disable | boolean | |
rate | number | |
schedule | string | |
type | string |
delete_replication_job
Delete a replication job. Args: id: Replication job ID. force: Force removal (skip cleanup). keep: Keep replicated data on target.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
force | boolean | |
keep | boolean |
list_metric_servers
List configured metric servers (InfluxDB, Graphite).
get_metric_server
Get metric server configuration. Args: id: Metric server ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
name * | string |
bulk_start_guests
Bulk start guests across the cluster. Args: vms: Comma-separated list of VMIDs (empty = all).
| Parameter | Type | Description |
|---|---|---|
vms | string |
bulk_shutdown_guests
Bulk shutdown guests across the cluster. Args: vms: Comma-separated list of VMIDs (empty = all).
| Parameter | Type | Description |
|---|---|---|
vms | string |
bulk_migrate_guests
Bulk migrate guests to a target node. Args: target: Target node name. vms: Comma-separated VMIDs.
| Parameter | Type | Description |
|---|---|---|
target * | string | |
vms | string |
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.
| Parameter | Type | Description |
|---|---|---|
flag * | string | |
value * | boolean |
get_ceph_status_node
Get Ceph status from a specific node's perspective. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
list_ceph_osds
List Ceph OSDs on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
dev * | string | |
node * | string | |
db_dev | string | |
encrypted | boolean | |
wal_dev | string |
list_ceph_pools
List Ceph pools. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
name * | string | |
node * | string | |
application | string | |
min_size | integer | |
pg_num | integer | |
size | integer |
list_ceph_monitors
List Ceph monitors. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
list_ceph_managers
List Ceph managers. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
list_ceph_mds
List Ceph metadata servers (MDS, for CephFS). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
list_ceph_fs
List CephFS filesystems. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_ceph_config
Get the raw Ceph configuration. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_ceph_crush_rules
Get Ceph CRUSH rules. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
delete | string | |
ebtables | integer | |
enable | integer | |
log_ratelimit | string | |
policy_in | string | |
policy_out | string |
list_cluster_firewall_rules
List cluster-level firewall rules.
get_cluster_firewall_rule
Get a specific cluster firewall rule. Args: pos: Rule position number.
| Parameter | Type | Description |
|---|---|---|
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…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
type * | string | |
comment | string | |
dest | string | |
dport | string | |
enable | integer | |
iface | string | |
log | string | |
macro | string | |
pos | integer | |
proto | string | |
source | string | |
sport | string |
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.
| Parameter | Type | Description |
|---|---|---|
pos * | integer | |
action | string | |
comment | string | |
delete | string | |
dest | string | |
dport | string | |
enable | integer | |
macro | string | |
moveto | integer | |
proto | string | |
source | string | |
sport | string |
delete_cluster_firewall_rule
Delete a cluster-level firewall rule. Args: pos: Rule position to delete.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
group * | string |
create_firewall_group
Create a new firewall security group. Args: group: Group name. comment: Description.
| Parameter | Type | Description |
|---|---|---|
group * | string | |
comment | string |
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.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
group * | string | |
type * | string | |
comment | string | |
dest | string | |
dport | string | |
enable | integer | |
macro | string | |
proto | string | |
source | string | |
sport | string |
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.
| Parameter | Type | Description |
|---|---|---|
cidr * | string | |
name * | string | |
comment | string |
delete_firewall_alias
Delete a firewall alias. Args: name: Alias name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
comment | string |
list_firewall_ipset_entries
List entries in a firewall IP set. Args: name: IP set name.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
cidr * | string | |
name * | string | |
comment | string | |
nomatch | boolean |
delete_firewall_ipset_entry
Remove an IP/CIDR from an IP set. Args: name: IP set name. cidr: IP address or CIDR to remove.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
delete | string | |
enable | integer | |
log_level_in | string | |
log_level_out | string | |
ndp | integer | |
nf_conntrack_max | integer |
list_node_firewall_rules
List firewall rules for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_firewall_log
Get firewall log for a node. Args: node: The node name. limit: Max entries.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
limit | integer |
get_vm_firewall_options
Get firewall options for a QEMU VM. Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
delete | string | |
dhcp | integer | |
enable | integer | |
ipfilter | integer | |
macfilter | integer | |
policy_in | string | |
policy_out | string |
list_vm_firewall_rules
List firewall rules for a QEMU VM. Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
node * | string | |
type * | string | |
vmid * | integer | |
comment | string | |
dest | string | |
dport | string | |
enable | integer | |
macro | string | |
proto | string | |
source | string |
get_container_firewall_options
Get firewall options for an LXC container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer |
list_container_firewall_rules
List firewall rules for an LXC container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
node * | string | |
type * | string | |
vmid * | integer | |
comment | string | |
dest | string | |
dport | string | |
enable | integer | |
macro | string | |
proto | string | |
source | string |
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
sid * | string | |
comment | string | |
group | string | |
max_relocate | integer | |
max_restart | integer | |
state | string |
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.
| Parameter | Type | Description |
|---|---|---|
sid * | string | |
comment | string | |
delete | string | |
group | string | |
max_relocate | integer | |
max_restart | integer | |
state | string |
delete_ha_resource
Remove a resource from HA management. Args: sid: Resource ID (format: 'type:vmid').
| Parameter | Type | Description |
|---|---|---|
sid * | string |
migrate_ha_resource
Request migration of an HA resource to a different node. Args: sid: Resource ID. node: Target node.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
sid * | string |
relocate_ha_resource
Request relocation of an HA resource to a different node. Args: sid: Resource ID. node: Target node.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
group * | string | |
nodes * | string | |
comment | string | |
nofailback | boolean | |
restricted | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
group * | string | |
comment | string | |
delete | string | |
nodes | string | |
nofailback | boolean | |
restricted | boolean |
delete_ha_group
Delete an HA group. Args: group: Group ID.
| Parameter | Type | Description |
|---|---|---|
group * | string |
list_containers
List all LXC containers on a node with status, memory, CPU, and disk info. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_container_status
Get the current runtime status of a container. Args: node: The node name. vmid: The container ID (CTID).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer |
get_container_config
Get the configuration of a container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer |
get_container_pending
Get pending configuration changes for a container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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'.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
timeframe | string |
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').
| Parameter | Type | Description |
|---|---|---|
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:…
| Parameter | Type | Description |
|---|---|---|
node * | string | |
ostemplate * | string | |
vmid * | integer | |
cores | integer | |
cpulimit | number | |
description | string | |
features | string | |
hostname | string | |
memory | integer | |
mp0 | string | |
nameserver | string | |
net0 | string | |
onboot | boolean | |
password | string | |
pool | string | |
rootfs | string | |
searchdomain | string | |
ssh_public_keys | string | |
start | boolean | |
storage | string | |
swap | integer | |
tags | string | |
unprivileged | boolean |
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…
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
cores | integer | |
cpulimit | number | |
delete | string | |
description | string | |
features | string | |
hostname | string | |
memory | integer | |
nameserver | string | |
net0 | string | |
onboot | ||
searchdomain | string | |
swap | integer | |
tags | string |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
destroy_unreferenced_disks | boolean | |
force | boolean | |
purge | boolean |
start_container
Start a container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer |
stop_container
Hard-stop a container (immediate, like power off). Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
force_stop | boolean | |
timeout | integer |
reboot_container
Reboot a container. Args: node: The node name. vmid: The container ID. timeout: Timeout in seconds.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
timeout | integer |
suspend_container
Suspend (freeze) a container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer |
resume_container
Resume a suspended container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
newid * | integer | |
node * | string | |
vmid * | integer | |
description | string | |
full | boolean | |
hostname | string | |
pool | string | |
snapname | string | |
storage | string | |
target | string |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
target * | string | |
vmid * | integer | |
online | boolean | |
restart | boolean | |
target_storage | string |
convert_container_to_template
Convert a container into a template (irreversible). Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
volume * | string | |
delete_original | boolean | |
storage | string | |
target_vmid | integer | |
target_volume | string |
list_container_snapshots
List all snapshots of a container. Args: node: The node name. vmid: The container ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
snapname * | string | |
vmid * | integer | |
description | string |
delete_container_snapshot
Delete a container snapshot. Args: node: The node name. vmid: The container ID. snapname: Snapshot name. force: Force delete.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
snapname * | string | |
vmid * | integer | |
force | boolean |
rollback_container_snapshot
Rollback a container to a previous snapshot. Args: node: The node name. vmid: The container ID. snapname: Snapshot name.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_config
Get the configuration of a node (description, wakeonlan, etc.). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_dns
Get DNS settings for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_network
Get network interface configuration for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
iface * | string | |
node * | string | |
type * | string | |
address | string | |
autostart | boolean | |
bridge_ports | string | |
comments | string | |
gateway | string | |
netmask | string |
list_node_services
List all system services on a node (pve, ssh, cron, etc.). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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'.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
limit | integer | |
since | string | |
start | integer | |
until | string |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
lastentries | integer | |
since | string | |
startcursor | string | |
until | string |
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.).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
limit | integer | |
start | integer | |
statusfilter | string | |
typefilter | string | |
vmid | integer |
get_task_status
Get the status of a specific task by its UPID. Args: node: The node name. upid: The task UPID string.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
upid * | string | |
limit | integer | |
start | integer |
stop_task
Stop (abort) a running task. Args: node: The node name. upid: The task UPID string.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
upid * | string |
get_node_time
Get the current time and timezone of a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_subscription
Get subscription status for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_apt_update
List available package updates on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
run_apt_update
Refresh the package index on a node (apt update). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_report
Generate a system report for a node (useful for diagnostics). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_disks
List physical disks on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
disk * | string | |
node * | string |
get_node_hardware_pci
List PCI hardware devices on a node (for passthrough). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_hardware_usb
List USB hardware devices on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_capabilities_qemu
Get QEMU capabilities for a node: supported CPU models, machine types, etc. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
scan_type * | string | |
server | string |
wakeonlan_node
Send a Wake-on-LAN magic packet to a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
force | boolean | |
vms | string |
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vms | string |
get_node_hosts
Get the /etc/hosts file content for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_version
Get Proxmox VE version information for a specific node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_netstat
Get network statistics for a node (per-interface traffic). Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_node_aplinfo
List available appliance templates (LXC templates) that can be downloaded. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
storage * | string | |
template * | string |
list_pools
List all resource pools.
get_pool
Get pool configuration and members. Args: poolid: Pool ID.
| Parameter | Type | Description |
|---|---|---|
poolid * | string |
create_pool
Create a resource pool. Args: poolid: Pool ID. comment: Description.
| Parameter | Type | Description |
|---|---|---|
poolid * | string | |
comment | string |
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.
| Parameter | Type | Description |
|---|---|---|
poolid * | string | |
comment | string | |
delete | boolean | |
storage | string | |
vms | string |
delete_pool
Delete a resource pool. Args: poolid: Pool ID.
| Parameter | Type | Description |
|---|---|---|
poolid * | string |
list_acme_accounts
List ACME (Let's Encrypt) accounts.
get_acme_account
Get ACME account details. Args: name: Account name (default: 'default').
| Parameter | Type | Description |
|---|---|---|
name | string |
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.
| Parameter | Type | Description |
|---|---|---|
contact * | string | |
directory | string | |
name | string | |
tos_url | string |
list_acme_plugins
List ACME DNS challenge plugins.
get_acme_plugin
Get ACME plugin configuration. Args: id: Plugin ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
force | boolean |
get_node_certificates
Get certificate info for a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
list_vms
List all QEMU virtual machines on a node with status, memory, CPU, and disk info. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
current | boolean |
get_vm_pending
Get pending configuration changes for a VM (not yet applied). Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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'.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
timeframe | string |
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…
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
agent | string | |
bios | string | |
boot | string | |
cdrom | string | |
cores | integer | |
cpu | string | |
description | string | |
ide2 | string | |
machine | string | |
memory | integer | |
name | string | |
net0 | string | |
onboot | boolean | |
ostype | string | |
pool | string | |
scsi0 | string | |
scsihw | string | |
sockets | integer | |
start | boolean | |
tags | string |
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,…
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
agent | string | |
boot | string | |
cores | integer | |
cpu | string | |
delete | string | |
description | string | |
hotplug | string | |
memory | integer | |
name | string | |
net0 | string | |
onboot | ||
sockets | integer | |
tags | string |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
destroy_unreferenced_disks | boolean | |
purge | boolean |
start_vm
Start a VM. Args: node: The node name. vmid: The VM ID. timeout: Timeout in seconds (0 = default).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
timeout | integer |
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
skiplock | boolean | |
timeout | integer |
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
force_stop | boolean | |
timeout | integer |
reboot_vm
Reboot a VM via ACPI. Args: node: The node name. vmid: The VM ID. timeout: Wait timeout in seconds.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
timeout | integer |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
todisk | boolean |
resume_vm
Resume a suspended/paused VM. Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer |
reset_vm
Hard reset a VM (like pressing the reset button). Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
newid * | integer | |
node * | string | |
vmid * | integer | |
description | string | |
full | boolean | |
name | string | |
pool | string | |
snapname | string | |
storage | string | |
target | string |
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').
| Parameter | Type | Description |
|---|---|---|
node * | string | |
target * | string | |
vmid * | integer | |
online | boolean | |
targetstorage | string | |
with_local_disks | boolean |
convert_vm_to_template
Convert a VM into a template (irreversible). Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
disk * | string | |
node * | string | |
vmid * | integer | |
delete_original | boolean | |
storage | string | |
target_disk | string | |
target_vmid | integer |
list_vm_snapshots
List all snapshots of a VM. Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
snapname * | string | |
vmid * | integer | |
description | string | |
vmstate | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
snapname * | string | |
vmid * | integer | |
force | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
cipassword | string | |
ciuser | string | |
ipconfig0 | string | |
nameserver | string | |
searchdomain | string | |
sshkeys | string |
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'.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
type | string |
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.
| Parameter | Type | Description |
|---|---|---|
command * | ||
node * | string | |
vmid * | integer | |
input_data | string |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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'.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
info_type | string |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
password * | string | |
username * | string | |
vmid * | integer | |
crypted | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
vmid * | integer | |
websocket | boolean |
get_vm_spiceproxy
Create a SPICE proxy connection for a VM console. Args: node: The node name. vmid: The VM ID.
| Parameter | Type | Description |
|---|---|---|
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').
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
vnet * | string | |
zone * | string | |
alias | string | |
tag | integer | |
vlanaware | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
vnet * | string | |
alias | string | |
delete | string | |
tag | integer | |
zone | string |
delete_sdn_vnet
Delete an SDN VNet. Args: vnet: VNet ID.
| Parameter | Type | Description |
|---|---|---|
vnet * | string |
list_sdn_subnets
List subnets for an SDN VNet. Args: vnet: VNet ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
subnet * | string | |
vnet * | string | |
dnszoneprefix | string | |
gateway | string | |
snat | boolean |
list_sdn_zones
List SDN zones.
get_sdn_zone
Get SDN zone configuration. Args: zone: Zone ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
type * | string | |
zone * | string | |
bridge | string | |
dns | string | |
ipam | string | |
mtu | integer | |
nodes | string |
delete_sdn_zone
Delete an SDN zone. Args: zone: Zone ID.
| Parameter | Type | Description |
|---|---|---|
zone * | string |
list_sdn_controllers
List SDN controllers (e.g. EVPN controller).
get_sdn_controller
Get SDN controller configuration. Args: controller: Controller ID.
| Parameter | Type | Description |
|---|---|---|
controller * | string |
list_sdn_ipams
List IPAM (IP Address Management) plugins.
get_sdn_ipam
Get IPAM plugin configuration. Args: ipam: IPAM ID.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | |
type | string |
get_storage_config
Get configuration of a specific storage pool. Args: storage: The storage ID.
| Parameter | Type | Description |
|---|---|---|
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…
| Parameter | Type | Description |
|---|---|---|
storage * | string | |
type * | string | |
content | string | |
datastore | string | |
disable | boolean | |
export | string | |
maxfiles | integer | |
nodes | string | |
path | string | |
pool | string | |
portal | string | |
prune_backups | string | |
server | string | |
shared | boolean | |
target | string | |
thinpool | string | |
vgname | string |
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.
| Parameter | Type | Description |
|---|---|---|
storage * | string | |
content | string | |
delete | string | |
disable | ||
nodes | string | |
prune_backups | string | |
shared |
delete_storage
Delete a storage pool configuration (does not delete data on the backend). Args: storage: The storage ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
content | string | |
enabled | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
storage * | string | |
content | string | |
vmid | integer |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
filename * | string | |
node * | string | |
size * | string | |
storage * | string | |
vmid * | integer | |
format | string |
delete_storage_volume
Delete a volume from storage. Args: node: The node name. storage: The storage ID. volume: The volume ID.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
filename * | string | |
node * | string | |
storage * | string | |
tmpfilename | string |
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).
| Parameter | Type | Description |
|---|---|---|
content * | string | |
filename * | string | |
node * | string | |
storage * | string | |
url * | string | |
checksum | string | |
checksum_algorithm | string |
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'.
| Parameter | Type | Description |
|---|---|---|
node * | string | |
storage * | string | |
timeframe | string |
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).
| Parameter | Type | Description |
|---|---|---|
node * | string | |
storage * | string | |
dry_run | boolean | |
prune_backups | string | |
type | string | |
vmid | integer |
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 '/').
| Parameter | Type | Description |
|---|---|---|
node * | string | |
storage * | string | |
volume * | string | |
filepath | string |
list_lvm_volumes
List LVM volume groups on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
name * | string | |
node * | string | |
add_to_storage | boolean |
list_lvmthin_pools
List LVM thin pools on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
name * | string | |
node * | string | |
add_to_storage | boolean |
list_zfs_pools
List ZFS pools on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
node * | string |
get_zfs_pool
Get details of a ZFS pool. Args: node: The node name. name: ZFS pool name.
| Parameter | Type | Description |
|---|---|---|
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.).
| Parameter | Type | Description |
|---|---|---|
devices * | string | |
name * | string | |
node * | string | |
raidlevel * | string | |
add_to_storage | boolean | |
ashift | integer | |
compression | string |
list_directory_storage
List directory-based storage mounts on a node. Args: node: The node name.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
device * | string | |
name * | string | |
node * | string | |
add_to_storage | boolean | |
filesystem | string |
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').
| Parameter | Type | Description |
|---|---|---|
disk * | string | |
node * | string |