get_media_info
Retrieve media details from a Telegram message by providing chat ID and message ID. Get file type, size, and other metadata.
Instructions
Get information about media in a message
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": {
"messageId": "<messageId>",
"chatId": "<chatId>"
},
"name": "get_media_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat ID containing the message | |
| messageId | Yes | The message ID containing the media |