Translate Text
translate_textTranslate a single text into a target language using Google or your configured AI provider, with optional source-language detection and engine override.
Instructions
Translate one piece of text with Google or the configured AI provider (BYOK).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to translate. | |
| 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. |