send_photo
Send a photo to any Telegram chat by providing the target chat ID or @username along with a photo URL or Telegram file_id, with optional caption and formatting support.
Instructions
Send a photo to a Telegram chat.
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": {
"chat_id": "<chat_id>",
"photo": "<photo>"
},
"name": "send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | HTTP(S) URL of the photo or a Telegram file_id. | |
| caption | No | Optional caption (up to 1024 characters). | |
| chat_id | Yes | Target chat id or @username. | |
| parse_mode | No | Formatting for the caption ("HTML", "Markdown", etc.). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||