google_translate
Translate text between languages. Specify target language and optionally source language for accurate translations.
Instructions
Translate text from one language to another using Google Translate.
Sample prompts that trigger this tool: - "Translate 'hello world' to Japanese" - "How do you say 'thank you' in French?" - "Translate this to Spanish: The weather is nice today" - "What does 'Guten Morgen' mean in English?" - "Translate 'I love programming' to Korean"
Args: text: The text to translate. to_language: Target language (e.g. "Spanish", "Japanese", "French", "German", "Korean", "Chinese", "Arabic"). from_language: Source language (optional, auto-detected if empty).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| to_language | Yes | ||
| from_language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |