Translate Tool
translate-toolTranslate the given text using the translator specified and return the result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "translate-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The translator to use. Supply the translator slug. | |
| text | No | The text to translate. | |
| options | No | Optional translator-specific settings, such as {"style": "superscript"} for small-text. Unknown keys and invalid values are ignored and fall back to the defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input Text | |
| translated | Yes | Translated Text | |
| translator | Yes | Translator used |