set_chat_photo
Set a new profile photo for a Telegram chat. Specify a local file path; optionally target a specific chat ID or @username.
Instructions
Set a new profile photo for a chat. If chat_id is omitted, targets the default log group.
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": {
"photo": "<photo>"
},
"name": "set_chat_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | Absolute local file path to the new chat photo | |
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group |