create_user
Provision new NanoIDP user accounts with username, password, roles, groups, and optional custom attributes to enable OIDC authentication.
Instructions
Create a new user in NanoIDP
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": {
"username": "<username>",
"password": "<password>"
},
"name": "create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address (optional) | ||
| roles | No | List of roles (optional, default: ['USER']) | |
| groups | No | List of groups (optional) | |
| tenant | No | Tenant identifier (optional, default: 'default') | |
| password | Yes | Password for the new user | |
| username | Yes | Username for the new user | |
| attributes | No | Custom key-value attributes (optional) | |
| source_acl | No | Source ACL entries for document-level security | |
| description | No | Display-only note shown in the persona login picker (optional, max 200 chars) | |
| entitlements | No | List of entitlements | |
| identity_class | No | Identity class (e.g., INTERNAL, EXTERNAL) |