tg_translate
Translate Telegram messages or any text into a target language using Telegram's own translator. Specify chat and message IDs, or supply text directly, to receive the translation.
Instructions
Translate messages (or any text) with Telegram's own translator.
Args: to_lang: target language code, e.g. "ru", "en", "de". chat: chat the messages live in. message_ids: which messages to translate (max 20). text: translate this text instead of messages.
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": {
"to_lang": "<to_lang>"
},
"name": "tg_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| text | No | ||
| to_lang | Yes | ||
| message_ids | No |