add_user
Create a user account in an inventory and return the new user ID. Specify inventory, email, first and last name, account type, and optional SSO or barcode.
Instructions
Create a user account in an inventory. Returns the user ID.
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": {
"inventory_id": "<inventory_id>",
"email": "<email>",
"first_name": "<first_name>",
"last_name": "<last_name>",
"account_type": "<account_type>"
},
"name": "add_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sso | No | Sign in with SSO, if the license enables it | |
| Yes | |||
| barcode | No | ||
| last_name | Yes | ||
| first_name | Yes | ||
| account_type | Yes | 2 group administrator, 3 order handler, 4 user, 6 read-only | |
| inventory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |