update_user
Update an existing user's profile details, including name, email, address, and custom properties.
Instructions
Update a 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": {
"id": "<id>"
},
"name": "update_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the user to update | |
| first_name | No | First name of the user. | |
| middle_name | No | Middle name of the user. | |
| last_name | No | Last name of the user. | |
| No | The e-mail of the user. For admin users this field is ignored due to security concerns. | ||
| locale | No | ||
| wants_newsletter | No | Boolean representing the possibility of the user to receive newsletters. | |
| with_authentication | No | If the user should be able to login and thus receive login details by mail. Only relevant when creating the user. | |
| custom | No | The custom properties of the user. | |
| address_attributes | No | ||
| invoice_address_attributes | No | ||
| label_ids | No | IDs of the labels |