send_file
Send a local photo, video, document, or voice file to a Telegram chat with an optional caption.
Instructions
Send a local file (photo, video, document, voice) with an optional 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": "<chat>",
"path": "<path>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| path | Yes | ||
| caption | No | ||
| force_document | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||