telegram_send_photo
Send a photo to a Telegram chat from a public URL or absolute local file path, with an optional caption and target chat ID.
Instructions
Send a photo via a public URL or an absolute local file path (max 10 MB for photos).
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": "telegram_send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | Public https:// URL or absolute path to a local image file. | |
| caption | No | Optional caption (max 1024 chars). | |
| chat_id | No | Target chat ID (user, group, or channel). Omit to use TELEGRAM_DEFAULT_CHAT_ID. | |
| parse_mode | No | Caption parse mode. |