create_user
Add a new local user to pfSense with username, password, privileges, expiration, and SSH key options for access control.
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 |
|---|---|---|---|
| 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 | |||