create_vm_user
Create a new user account inside a Proxmox VM using the guest agent. Specify node, VM ID, and username, with optional groups, shell, password, or SSH keys.
Instructions
Create a new user in a VM (requires guest agent)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node": "<node>",
"vmid": "<vmid>",
"username": "<username>"
},
"name": "create_vm_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node where VM is located | |
| vmid | Yes | VM ID | |
| shell | No | Shell (e.g., '/bin/bash') | |
| groups | No | Comma-separated list of groups | |
| password | No | Password (optional, for password auth) | |
| ssh_keys | No | SSH public keys (optional, for key auth) | |
| username | Yes | Username to create |