update_user
Update a user account by setting email, first and last name, and account type, optionally scoped to a specific inventory, to keep user records and permissions current.
Instructions
Update a user account. All of email, names and account type are set.
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": {
"user_id": "<user_id>",
"email": "<email>",
"first_name": "<first_name>",
"last_name": "<last_name>",
"account_type": "<account_type>"
},
"name": "update_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| user_id | Yes | ||
| last_name | Yes | ||
| first_name | Yes | ||
| account_type | Yes | 2 group administrator, 3 order handler, 4 user, 6 read-only | |
| inventory_id | No | Inventory the account type applies to, if several |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |