ai_translate
Translate text to a target language with optional source language detection and context hints for tone. Requires a service key and active AI Translation add-on.
Instructions
Translate text to a target language. Requires service key and active AI Translation add-on. Supports optional source language and context hint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID | |
| text | Yes | Text to translate (max 10,000 characters) | |
| to | Yes | Target language (ISO 639-1 code, e.g. 'es', 'ja', 'fr') | |
| from | No | Source language (ISO 639-1 code). Auto-detected if omitted | |
| context | No | Context hint for tone/register (max 200 chars, e.g. 'formal business email') |