send_telegram_photo_direct
Send a base64-encoded image to Telegram as an inline photo for generated charts, diagrams, or screenshots that exist only in memory. Add an optional caption and virtual file name.
Instructions
Sends a base64-encoded image directly to Telegram as an inline photo. Ideal for generated charts, diagrams, or screenshots that exist only in memory.
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": {
"photoContent": "<photoContent>",
"fileName": "<fileName>"
},
"name": "send_telegram_photo_direct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Optional caption text below the photo. | |
| encoding | No | Must be base64 since this is binary image data. | |
| fileName | Yes | A virtual file name for the image (e.g. chart.png, diagram.jpg). | |
| photoContent | Yes | The complete image content as a base64-encoded string. |