send_photo
Sends an image from an allowed directory as a Telegram photo through the configured bot, with optional caption and chat ID.
Instructions
Send an image from an allowed directory as a 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": {
"path": "<path>"
},
"name": "send_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| caption | No | ||
| chat_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |