Translate a message or a string
telegram_translateTranslate Telegram messages or literal text into a target language by passing a chat and message ID or raw text. Specify targetLang as an ISO code such as 'en' or 'id'.
Instructions
Translate text using Telegram's own translation service. Pass chat+messageId to translate an existing message, or text to translate a literal string. targetLang is an ISO code such as 'id' or 'en'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "telegram_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| text | No | ||
| messageId | No | ||
| targetLang | No | en |