Translate text
translate_textTranslates text using the org’s configured translation providers, for requests such as "translate X", "say this in Hebrew" or "how do you say...". Draws the org AI token budget and respects the org’s translation privacy setting (fails with translation_disabled when the org has disabled translation). This tool only returns text — it never sends anything.
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": {
"text": "<text>",
"target_language": "<target_language>"
},
"name": "translate_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| source_language | No | Source language; auto-detected when omitted | |
| target_language | Yes | Target language as an ISO 639 code (e.g. "he", "fr") or plain name (e.g. "Hebrew") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| source_language | Yes | ||
| target_language | Yes | ||
| translated_text | Yes |