set_username
Change your @handle (3–20 characters: lowercase letters, numbers, underscore). Your old handle is released. Use check_username first. Two steps: the first call only previews and returns confirm_token; show the preview to the user and repeat the call with confirm_token only after they agree.
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": {
"username": "<username>"
},
"name": "set_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | New handle, with or without @ | |
| confirm_token | No | Omit on the first call to get a preview. After the user agrees, call again with identical arguments plus this token. |