Translate text
translate_textTranslate text into a chosen target language with optional source language, HTML/plain text, and delivery policy controls.
Instructions
Translates text into a target language using the current translation request format.
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": {
"model": "<model>",
"text": "<text>",
"target_language": "<target_language>"
},
"name": "translate_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| user | No | ||
| model | Yes | ||
| mime_type | No | ||
| source_language | No | ||
| target_language | Yes | ||
| X-TokenLab-Delivery-Policy | No | Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Veri… |