Update current user
update_current_userUpdate the acting user's own name, metadata or settings; it never touches anyone else's account. Omitted fields are kept, but a provided metadata or settings object replaces the stored one whole. The email address cannot be changed here. Returns the updated account, shaped like get_current_user.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name. Omit to keep the current one. | |
| metadata | No | Free-form JSON object stored on the account. Replaces the whole stored object, so send every key to keep (read it with get_current_user first). Omit to leave it unchanged. | |
| settings | No | The user's own preferences as a JSON object. Replaces the whole stored object, so send every key to keep (read it with get_current_user first). Omit to leave it unchanged. |