send_photo
Send a photo to a Telegram chat using a URL or file_id. Optionally add a caption to provide context.
Instructions
Send a photo to a chat. photo can be a URL or a file_id already known to Telegram.
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 | ||
| caption | No | ||
| chat_id | Yes |