read_files
Extracts text from Telegram chat files—including PDFs, Office documents, and images—locally without downloading, then saves it as text in the chat folder; omit IDs to process all unread files.
Instructions
Читает текст файлов txt, md, csv, html, pdf, doc, docx, rtf, xlsx, pptx и картинок локально, без скачивания на диск (сканы PDF распознаются), и сохраняет его в text/.txt в папке чата. Без ids — все непрочитанные файлы чата.
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": "<chat>"
},
"name": "read_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| chat | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |