create_role
Create a new role in Proxmox by specifying a role ID and a comma-separated list of privileges (e.g., VM.Allocate, VM.Config.Disk).
Instructions
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').
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": {
"roleid": "<roleid>",
"privs": "<privs>"
},
"name": "create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privs | Yes | ||
| roleid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |