translate_message
Translates messages between languages while preserving conversation context, helping AI assistants maintain coherent multilingual conversations and chat sessions.
Instructions
Translate a message between languages with conversation context. Perfect for facilitating multilingual conversations.
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>",
"target_language": "<target_language>"
},
"name": "translate_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message text to translate | |
| platform | No | Platform type (facebook, whatsapp, slack, discord, mcp) | mcp |
| sender_id | No | ID of the message sender (optional) | |
| recipient_id | No | ID of the message recipient (optional) | |
| conversation_id | No | Unique conversation identifier for context (optional, will generate if not provided) | |
| source_language | No | Source language code (optional, defaults to "auto" for auto-detection) | auto |
| target_language | Yes | Target language code (e.g., "es" for Spanish, "fr" for French, "zh" for Chinese) |