send_photo_file
Send a local photo file to a Telegram chat. Provide the absolute file path and optionally a caption with Markdown or HTML formatting.
Instructions
Send a local photo file to a chat.
Args: file_path: Absolute path to the photo file on disk 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": {
"file_path": "<file_path>"
},
"name": "send_photo_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| chat_id | No | ||
| caption | No | ||
| parse_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |