Send File By Url
send_file_by_urlSend a file to a chat by providing its public URL, specifying the filename and optional caption. The file is sent directly from the URL without being downloaded to the server.
Instructions
Отправляет файл по публичной ссылке — без выкачивания на эту машину.
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>",
"url_file": "<url_file>",
"file_name": "<file_name>"
},
"name": "send_file_by_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | Yes | ||
| url_file | Yes | ||
| file_name | Yes |