translate_text
Translate text between languages using the Whissle MCP Server. Specify source and target language codes to convert text accurately. Note: API calls may incur costs.
Instructions
Translate text from one language to another.
⚠️ COST WARNING: This tool makes an API call to Whissle which may incur costs. Only use when explicitly requested by the user.
Args:
text (str): The text to translate
source_language (str): Source language code (e.g., "en" for English)
target_language (str): Target language code (e.g., "es" for Spanish)
Returns:
TextContent with the translated text.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
source_language | Yes | ||
target_language | Yes | ||
text | Yes |
Input Schema (JSON Schema)
{
"properties": {
"source_language": {
"title": "Source Language",
"type": "string"
},
"target_language": {
"title": "Target Language",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
}
},
"required": [
"text",
"source_language",
"target_language"
],
"title": "translate_textArguments",
"type": "object"
}