Set my photo
me_set_avatarUpload a profile photo (PNG, JPEG, WebP, SVG or GIF, max 2 MB) from dataBase64 or a public https sourceUrl, and set it as your photo in one step. Returns the updated profile. Signed-in (OAuth) connections only.
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": {
"contentType": "<contentType>"
},
"name": "me_set_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceUrl | No | Public https URL to copy the image from (fetched with private-network protection). | |
| dataBase64 | No | ||
| contentType | Yes | image/png, image/jpeg, image/webp, image/svg+xml or image/gif |