GhostPaw Telegram
v0.7.9Telegram message mirror, search, sending, and moderation tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tg_read
Read and query the Telegram database: messages, chats, users, reactions, and more. Use when: Use when you need to inspect stored messages, find chats or users, search text, or retrieve reaction and edit history. Not for: Do not use for sending, editing, or deleting messages.
| Parameter | Type | Description |
|---|---|---|
subcommand * | string | Which read operation to perform |
after | integer | After this timestamp (ms) |
before | integer | Before this timestamp (ms) |
chatId | integer | Chat ID |
limit | integer | Max results |
messageId | integer | Message ID |
query | string | Full-text search query |
threadId | integer | Thread ID filter |
userId | integer | User ID |
tg_send
Outbound actions: send, edit, delete, pin/unpin messages, send typing indicator, and forward messages. Use when: Plans only by default. Use createTelegramToolFacade with execute: true and a client to perform actions with configurable limits. Use when you need to send or modify messages, show a typing indicator, or forward a message to another chat. Not for: Do not use for reading or querying stored data.
| Parameter | Type | Description |
|---|---|---|
subcommand * | string | The send subcommand. |
chatId | integer | Chat ID |
fromChatId | integer | Source chat ID |
messageId | integer | Message ID |
parseMode | string | Parse mode (HTML, MarkdownV2) |
replyToMessageId | integer | Reply-to message ID |
text | string | Message text |
toChatId | integer | Destination chat ID |
tg_manage
Moderation and chat administration: ban, unban, restrict, promote, kick users, and query member info. Use when: Plans only by default. Use createTelegramToolFacade with execute: true and a client to perform actions with configurable limits. Use when you need to moderate users, manage chat permissions, or look up member status. Not for: Do not use for sending messages or reading message history.
| Parameter | Type | Description |
|---|---|---|
subcommand * | string | The moderation subcommand. |
canSendMessages | boolean | Whether the user can send messages. |
chatId | integer | The chat ID. |
deleteMessages | boolean | Delete messages on ban. |
isAdmin | boolean | Grant or revoke admin. |
limit | integer | Max members to return. |
status | string | Filter by member status. |
untilDate | integer | Unix timestamp until the action applies. |
userId | integer | The user ID. |
tg_connect
Query bot connection status, configuration, and chat list. Use when: Use to retrieve bot statistics, stored state values, or a list of active chats. Not for: Do not use for sending messages or moderating users.
| Parameter | Type | Description |
|---|---|---|
subcommand * | string | The connect subcommand. |
key | string | The state key to look up. |
limit | integer | Max chats to return. |