telegram_send_file
Send a local file to a specified Telegram chat after user confirmation. Provide chat ID, file path, and optional caption to deliver the file through your personal account.
Instructions
Send a local file through the personal Telegram account. This changes external state: call only after the user explicitly confirms recipient, file, and caption.
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>",
"file_path": "<file_path>"
},
"name": "telegram_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | Yes | ||
| file_path | Yes |