Update user
update_userUpdate an existing user’s identity or client trust settings. Uses Backend API validation. Null clears nullable string fields; omitted fields stay unchanged. Passwords, credential inputs and metadata are rejected. Returns selected safe user fields. dry_run previews only the approved changes without updating the 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": {
"application_id": "<application_id>",
"instance": "<instance>",
"user_id": "<user_id>"
},
"name": "update_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| dry_run | No | ||
| user_id | Yes | ||
| instance | Yes | Instance to target: "development", "production", or a full instance ID (ins_…). | |
| timezone | No | ||
| username | No | ||
| last_name | No | ||
| first_name | No | ||
| external_id | No | ||
| application_id | Yes | Clerk application ID (app_…). | |
| bypass_client_trust | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| body | No | ||
| dry_run | No | ||
| user_id | No |