Update a user
update_userChange a user's name, email, or both by providing the user ID and at least one of those fields; omitted fields stay unchanged.
Instructions
Change a user's name, email, or both. Give the id and at least one of name or email. Fields left out are unchanged.
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 | The user id, a positive integer | |
| name | No | The user's name, up to 30 characters | |
| No | The user's email address, up to 30 characters |