edit_chat_photo
Update the profile photo of a Telegram chat or channel by uploading an image file. Specify the chat ID and file path to set the new avatar.
Instructions
Установить аватарку чата/канала из файла.
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>",
"file_path": "<file_path>"
},
"name": "edit_chat_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||