translate_text
Translate text between languages using source and target language codes to convert content for multilingual communication and understanding.
Instructions
Translate text from one language to another
Input Schema
Name | Required | Description | Default |
---|---|---|---|
sourceLang | Yes | Source language code | |
targetLang | Yes | Target language code | |
text | Yes | Text to translate |
Input Schema (JSON Schema)
{
"properties": {
"sourceLang": {
"description": "Source language code",
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"targetLang": {
"description": "Target language code",
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"text": {
"description": "Text to translate",
"type": "string"
}
},
"required": [
"text",
"sourceLang",
"targetLang"
],
"type": "object"
}