Upload avatar
upload_avatarUploads a profile photo (png, jpeg or webp, up to 2 MB, base64) to the token owner's own folder. It is attached only when you pass the returned url as photo to save_my_profile.
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": {
"content_type": "<content_type>",
"data_base64": "<data_base64>"
},
"name": "upload_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_base64 | Yes | ||
| content_type | Yes |