Bot: send file
bot_send_fileSends a photo, document, video, audio, or voice file from the bot to a chat after confirming the recipient and file with the user. Accepts an http(s) URL or a local path.
Instructions
Send a real photo, document, video, audio or voice file from the bot. Confirm recipient and file with the user first.
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>",
"kind": "<kind>",
"source": "<source>"
},
"name": "bot_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | File type. | |
| source | Yes | http(s) URL, or local path inside BALE_MCP_SEND_DIRS (max 50 MB). | |
| caption | No | Caption. | |
| chat_id | Yes | Chat id (number) or public '@channel' username. |