send_photo
Send a photo to a Telegram chat using URL or file_id. Optionally add a caption with Markdown or HTML formatting.
Instructions
Send a photo to a chat.
Args: photo: Photo URL or file_id chat_id: Chat ID or @channel_username (uses TELEGRAM_CHAT_ID if omitted) caption: Photo caption (optional) parse_mode: "Markdown", "MarkdownV2", or "HTML" for caption (optional)
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": "send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | ||
| chat_id | No | ||
| caption | No | ||
| parse_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |