get_file
Retrieve file information and download path from Telegram servers using a file ID.
Instructions
Get information about a file stored on Telegram servers. Returns file path for downloading.
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": {
"file_id": "<file_id>"
},
"name": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID received from Telegram (e.g., from a photo, document, etc.) |