set_profile_photo
Upload a new Telegram profile photo from a local JPG/JPEG/PNG file up to 10 MB, validate it with dry-run, and keep prior photos in history.
Instructions
Upload a new profile photo from a local .jpg/.jpeg/.png file (max 10 MB). Previous photos stay in your photo history. dry_run=True only validates the file.
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": {
"path": "<path>"
},
"name": "set_profile_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No |