send_file
Send a local file, photo, video, or voice note to a Telegram chat with an optional caption or voice-note conversion so agents can deliver media.
Instructions
Send a local file, photo, video or voice note.
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 | ||
| as_voice | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |