set_chat_photo
Update a Telegram chat's profile photo using a file ID, HTTP URL, or local path.
Instructions
Set a new chat photo.
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_id": "<chat_id>",
"photo": "<photo>"
},
"name": "set_chat_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | File ID, HTTP URL, or absolute file path | |
| chat_id | Yes | Chat ID or @username |