send_document
Send a document or file to your Telegram user by providing a URL or local file path. Optionally add a caption with formatting.
Instructions
Send a document or file to the configured Telegram user. Accepts a URL or local file path.
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": {
"document": "<document>"
},
"name": "send_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Document caption | |
| document | Yes | URL or local file path of the document to send | |
| parse_mode | No | Caption formatting mode |