telegram_send_photo
Send a photo to a Telegram chat using a file path, URL, or file_id. Optionally add a caption with Markdown or HTML formatting.
Instructions
Send a photo to a Telegram chat.
Accepts a local file path, a public HTTP(S) URL, or a Telegram file_id. Optionally include a caption (supports Markdown/HTML).
Args: params (SendPhotoInput): chat_id, photo source, optional caption/parse_mode.
Returns: str: JSON with the sent Message object or an error description.
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": {
"params": "<params>"
},
"name": "telegram_send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |