gemini_translate
Translate text into a target language using Gemini. Supports automatic source language detection.
Instructions
Translate text to a target language using Gemini
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": {
"text": "<text>",
"targetLanguage": "<targetLanguage>"
},
"name": "gemini_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to translate | |
| model | No | Model to use (default: gemini-3.1-pro-preview) | |
| sourceLanguage | No | The source language (auto-detected if omitted) | |
| targetLanguage | Yes | The language to translate into |