Deepl Translate
deepl_translateTranslate one or more text strings using DeepL. Requires text (string or array) and target_lang (e.g. "DE", "FR", "JA"). Optionally specify source_lang, formality (more/less/prefer_more/prefer_less), tag_handling (html/xml), and glossary_id. Returns detected source language and translated text.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "Hello, how are you?",
"target_lang": "DE"
},
"name": "deepl_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | String or array of strings. | |
| formality | No | ||
| glossary_id | No | ||
| ignore_tags | No | ||
| source_lang | No | ||
| target_lang | Yes | ||
| tag_handling | No | ||
| splitting_tags | No | ||
| split_sentences | No | ||
| outline_detection | No | ||
| non_splitting_tags | No | ||
| preserve_formatting | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| translations | Yes | Array of translated text results |