telegram_send_photo
Send a photo from a local file path to a Telegram chat by specifying the chat ID and file path. Optionally include a caption for context.
Instructions
Send a photo to a Telegram chat from a local file path.
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": {
"chatId": "<chatId>",
"filePath": "<filePath>"
},
"name": "telegram_send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Telegram chat ID | |
| caption | No | Optional caption for the photo | |
| filePath | Yes | Absolute path to the image file |