telegram_search_media
Searches a specified chat for recent media messages including photos, videos, documents, audio, voice notes, animations, and URLs, returning only message metadata without downloading files.
Instructions
Find recent photos, videos, documents, audio, voice notes, animations, or URL messages inside one known chat. Returns message metadata only; no media is downloaded automatically.
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>",
"kind": "<kind>"
},
"name": "telegram_search_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| limit | No | ||
| query | No | ||
| chat_id | Yes |