Update the account
update_accountChange the current user's own account, the same things Account settings changes: first and last name, public @handle, and profile photo (from a link the user sent, base64 bytes, or none to remove it). Pass only what changes. Use it when the user tells you their name or asks to change their handle or photo, instead of sending them to settings. A handle someone else holds, one kept for Replo, or a second rename within 30 days is refused, and nothing in the call is saved; confirm a handle rename with the user first, since links naming the old @handle/name keep working only until someone else takes it. A refusal names the field (handle or profileImage) and what was already saved. Returns the account as saved.
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_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | The user's new public @handle, without the @: 3 to 30 lowercase letters, digits and hyphens, not taken and not kept for Replo. It shows with their photo on everything they publish, and can change once every 30 days. Links naming the old @handle keep working until someone else takes it. Omit to keep it. | |
| lastName | No | The user's last name; an empty string for a mononym. Omit to keep it. | |
| firstName | No | The user's first name. Omit to keep it. | |
| profileImage | No | A new profile photo, from a link or base64 bytes, or none to remove it and show a drawn face. Omit to keep it. |