create_user
Creates a new local pfSense user account with password, privileges, certificates, expiration, and optional SSH keys or disabled status.
Instructions
Create a new pfSense local user
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": {
"name": "<name>",
"password": "<password>"
},
"name": "create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Explicit unix UID to assign — use when pfSense nextuid counter is stale/colliding | |
| cert | No | List of certificate refids to associate with the user | |
| name | Yes | Username (login name) | |
| priv | No | List of privileges to assign (e.g., ["page-all", "user-shell-access"]) | |
| descr | No | User description / full name | |
| expires | No | Account expiration date (MM/DD/YYYY format) | |
| disabled | No | Whether the user account starts disabled | |
| ipsecpsk | No | IPsec Pre-Shared Key for this user | |
| password | Yes | User password | |
| authorizedkeys | No | SSH authorized public keys (base64 encoded) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||