send_image
Send an image to a contact, group, or channel via a public URL.
Instructions
Send an image to a contact, group, or channel via a public URL.
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": {
"chatId": "<chatId>",
"imageUrl": "<imageUrl>"
},
"name": "send_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Recipient: phone number, group ID, or channel ID | |
| caption | No | Optional caption | |
| session | No | Session name. Leave out when using a session token (ch_live_...). | me |
| imageUrl | Yes | Public URL of the image |