telegram_send_image
Send images from your AI coding assistant to Telegram for sharing charts, visualizations, screenshots, and diagrams. Supports PNG, JPG, GIF, and WebP formats with optional captions.
Instructions
发送图片到 Telegram
⚠️ 使用场景:
- 生成了图表、可视化结果
- 创建了截图、示意图
- 需要用户查看图片内容
- 图片格式:PNG, JPG, GIF, WebP 等
参数:
- image_path: 图片文件路径(相对于项目目录或绝对路径)
- caption: 可选说明文字
示例:
telegram_send_image(
image_path="output/chart.png",
caption="性能测试结果图表"
)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
caption | No | 可选说明文字 | |
image_path | Yes | 图片文件路径 |
Input Schema (JSON Schema)
{
"properties": {
"caption": {
"description": "可选说明文字",
"type": "string"
},
"image_path": {
"description": "图片文件路径",
"type": "string"
}
},
"required": [
"image_path"
],
"type": "object"
}