73 lines
6.8 KiB
Markdown
73 lines
6.8 KiB
Markdown
# Telegram MCP: каталог инструментов
|
||
|
||
Каталог MCP (12 базовых + 49 расширенных). Базовые отправки send_message/send_html/send_file/schedule_message отправляют сразу; предпросмотр относится к новым операциям изменения. Новые инструменты требуют явный `account`; изменения по умолчанию возвращают `dry_run`. Предпросмотр не является разрешением на применение.
|
||
|
||
| Инструмент | Назначение |
|
||
|---|---|
|
||
| `telegram_send_message` | Отправить текстовое сообщение в Telegram. |
|
||
| `telegram_send_html` | Отправить HTML-оформленное сообщение в Telegram. |
|
||
| `telegram_schedule_message` | Запланировать отправку текстового сообщения на конкретное время (server-side). |
|
||
| `telegram_send_file` | Отправить файл (документ или фото) в Telegram. |
|
||
| `telegram_read_history` | Прочитать последние сообщения из чата. |
|
||
| `telegram_get_messages` | Прочитать конкретные сообщения без загрузки истории. |
|
||
| `telegram_search_messages` | Поиск сообщений в доступных диалогах или одном chat; json/toon и выбор fields. |
|
||
| `telegram_list_stories` | Список сохранённых в профиле (pinned) или действующих (active) историй. |
|
||
| `telegram_get_story` | Прочитать метаданные и подпись одной истории по username и ID. |
|
||
| `telegram_download_story_media` | Скачать фото или видео истории во временную локальную папку (не более 30 МБ). |
|
||
| `telegram_wait_for_reply` | Ждать ответ от бота/собеседника в чате после сообщения с указанным id. |
|
||
| `telegram_auth_status` | Проверить авторизацию выбранного аккаунта в tg-cli. |
|
||
| `telegram_list_folders` | Read folder order, rules, included/excluded/pinned peer IDs and revision. Does not read messages. |
|
||
| `telegram_list_dialogs` | Read metadata from a resumable daemon snapshot; limit 1..500, offset 0..50000. Pass cursor/next_offset, honor retry_at; refresh starts a new scan. muted=null inherits defaults. |
|
||
| `telegram_update_folder` | Create or patch an ordinary folder. Omitted fields are preserved; supplied lists replace those lists. Preview first; apply requires preview revision. Shared folders are refused. |
|
||
| `telegram_delete_folder` | Delete an ordinary folder only, not its chats. Preview first; apply requires revision. |
|
||
| `telegram_reorder_folders` | Reorder folders; include every current ID exactly once, including All Chats when returned. Apply requires revision. |
|
||
| `telegram_set_archived` | Archive or unarchive one chat. |
|
||
| `telegram_set_chat_pinned` | Pin or unpin a dialog in its main/archive list. Folder pins use update_folder. |
|
||
| `telegram_set_unread` | Set or clear the manual unread mark; does not reset message read receipts. |
|
||
| `telegram_mark_read` | Mark messages read up to max_id; this changes read receipts. |
|
||
| `telegram_set_mute` | Set mute expiry Unix seconds: 0 unmute, 2147483647 indefinitely. Preserves other notification fields. |
|
||
| `telegram_save_draft` | Save a plain-text draft; empty text clears it. Does not send a message. |
|
||
| `telegram_get_notification_settings` | Read per-chat notification overrides. inherited=true means account defaults apply. |
|
||
| `telegram_list_scheduled_messages` | Read the server-side scheduled message queue. |
|
||
| `telegram_cancel_scheduled_messages` | Cancel selected scheduled messages. |
|
||
| `telegram_send_scheduled_now` | Send selected scheduled messages now. Never retry automatically after timeout. |
|
||
| `telegram_get_chat_info` | Read chat details. |
|
||
| `telegram_resolve_peer` | Resolve username or marked ID. |
|
||
| `telegram_get_invite_info` | Inspect invite without joining. |
|
||
| `telegram_get_user_profile` | Read accessible user profile. |
|
||
| `telegram_list_members` | List accessible members; Telegram may restrict completeness. |
|
||
| `telegram_list_topics` | List forum topics. |
|
||
| `telegram_list_pinned_messages` | Read pinned messages. |
|
||
| `telegram_list_contacts` | Read contacts. |
|
||
| `telegram_list_blocked_users` | Read blocked users. |
|
||
| `telegram_search_public_chats` | Search by name; does not join or contact anyone. |
|
||
| `telegram_search_contacts` | Search by name; does not join or contact anyone. |
|
||
| `telegram_get_history_page` | Read history with date bounds and topic selection; no read receipts. |
|
||
| `telegram_search_media` | Search messages by media type and optional text. |
|
||
| `telegram_get_replies` | Read replies/comments on a post. |
|
||
| `telegram_join_chat` | Join a group/channel. May send a join request. |
|
||
| `telegram_leave_chat` | Leave a group/channel. |
|
||
| `telegram_block_user` | Block a user. |
|
||
| `telegram_unblock_user` | Unblock a user. |
|
||
| `telegram_delete_contact` | Delete a contact from your address book. |
|
||
| `telegram_add_contact` | Add a contact; first_name is required for phone-number input. |
|
||
| `telegram_send_reply` | Send plain text, reply, forum message or channel comment. Do not retry a timed-out send. |
|
||
| `telegram_edit_message` | Edit a sent message. |
|
||
| `telegram_forward_messages` | Forward selected messages to destination. |
|
||
| `telegram_delete_messages` | Delete selected messages. Explicit for_everyone controls revocation; Telegram chat permissions still apply. |
|
||
| `telegram_react` | Add or remove a reaction. |
|
||
| `telegram_pin_message` | Pin a message, silent by default. |
|
||
| `telegram_unpin_message` | Unpin a message. |
|
||
| `telegram_download_media` | Download message attachments to an absolute local path. Existing files are not overwritten. |
|
||
| `telegram_download_profile_photo` | Download an accessible current profile photo; no overwrite. |
|
||
| `telegram_create_chat` | Create a supergroup or channel. |
|
||
| `telegram_edit_chat` | Change chat title/description with available administrator rights. |
|
||
| `telegram_send_poll` | Send an ordinary poll. Anonymous by default. |
|
||
| `telegram_audit_folders` | Read-only resumable folder audit: cursor/refresh, scan_limit up to 50000, category notification defaults, membership and overlap. Honor retry_at; audit_pending is not an empty audit. complete=false means partial scan. No message bodies/read receipts. |
|
||
| `telegram_get_folder_chats` | Compute folder membership using peers, rules and inherited mute settings. Inspect complete and note before interpreting counts. |
|
||
|
||
## Related
|
||
|
||
- [Документация](README.md)
|
||
- [README](../README.md)
|
||
- [Сценарии](../examples/scenarios.md)
|