Translate a message to chat
translate_messageTranslates a message into a specified language and posts it to chat. Supports Twitch, YouTube, and Facebook.
Instructions
Translate a message into a target language and post it to chat. "language" is a code like "en", "es", or "fr".
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": {
"message": "<message>",
"language": "<language>"
},
"name": "translate_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message to translate. | |
| language | Yes | Target language code, e.g. "en". | |
| platform | No | Platform. | twitch |
| username | No | Optional username to attribute the message to. |