send_local_photo
Send a local image file to a Telegram chat as a full-preview photo, with optional caption, parse mode, and inline buttons.
Instructions
Send a local image file as a full-preview photo.
發送本機圖片檔案,以照片預覽格式呈現。
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_path": "<photo_path>"
},
"name": "send_local_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | No | ||
| parse_mode | No | Markdown | |
| photo_path | Yes | ||
| inline_buttons | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |