download_profile_photo
Download Telegram profile photos of users or chats to a file or as inline base64. Choose between 640x640 big or 160x160 small sizes.
Instructions
Скачать аватарку юзера/чата на диск или inline (base64 в ответе).
Args: download_big: True — большая (640x640); False — маленькая (160x160). inline: True — вернуть фото как ImageContent inline (≤ 1 MB), False — записать в файл и вернуть путь.
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": {
"chat": "<chat>"
},
"name": "download_profile_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| inline | No | ||
| download_big | No | ||
| download_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||