Set or remove a chat photo
telegram_set_chat_photoUpload a local image as a Telegram group or channel photo, or remove the existing photo by setting remove=true. Requires admin rights; reads the file from disk, not a URL.
Instructions
Upload a local image as the group/channel photo, or remove the photo with remove=true. Needs admin rights. The file is read from disk, never from a URL.
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": "telegram_set_chat_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| remove | No | ||
| filePath | No |