send_document
Send documents or files to any Telegram chat using a URL or file ID, enabling direct file sharing within conversations.
Instructions
Send a document/file to a chat. document can be a URL or a file_id.
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>",
"document": "<document>"
},
"name": "send_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | Yes | ||
| document | Yes |