send_file
Upload and send local files, images, videos, or documents to a Telegram chat or yourself, with optional captions and reply targeting.
Instructions
Upload and send a local file, image, video, or document to a Telegram chat or 'me'.
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": {
"target": "<target>",
"file_path": "<file_path>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| caption | No | ||
| file_path | Yes | ||
| force_document | No | ||
| reply_to_msg_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |