translate_text
Translate text between 13+ languages with an LLM. Arabic-first quality, with formality control (formal/informal) and optional context to disambiguate meaning. Handles both short dictionary-style word lookups and full documents. Returns the translation and, when available, alternative phrasings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to translate. | |
| api_key | No | Optional key (nsk_live_...). Auto-provisioned if omitted. | |
| context | No | Optional background text that improves accuracy (it is not translated). | |
| formality | No | Optional register for the output. | |
| target_lang | Yes | Target language, as a name or code (e.g. English, Arabic, ar, ja, fr). |