Translate Batch
translate_batchTranslates up to 50 texts in a single call, using batched Google requests or AI per text, and auto-detects source language when needed.
Instructions
Translate up to 50 texts in one call (one batched Google request, or one AI call per text).
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": {
"texts": "<texts>"
},
"name": "translate_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | The texts to translate, in order. | |
| engine | No | Translation engine override: google (free) or ai (BYOK). | |
| source_lang | No | Source language code, or "auto" to detect. Defaults to auto. | |
| target_lang | No | Target language code (e.g. en, zh-CN, ja). Defaults to the server config. |