Telegram send photo
tg_send_photoSend a photo to Telegram with caption and parse mode options. Use image URL or base64 data to notify channels or groups.
Instructions
Send photo via telegram bot
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": "tg_send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | Photo URL or base64 data URI (e.g., data:image/png;base64,... | |
| chat_id | No | Telegram chat id, Default to get from environment variables | |
| caption | No | Photo caption, 0-1024 characters after entities parsing | |
| parse_mode | No | Mode for parsing entities in the caption. [text/MarkdownV2] | |
| reply_to_message_id | No | Identifier of the message that will be replied to |