AI text translation into 180+ languages
text_translateAI translation of up to 8,000 characters into a target language given as an ISO 639-1 code or English name (with optional region or script, e.g. pt-BR, zh-Hant). Returns the translated text, detected source language, target language, character counts and a truncation flag. Machine translation by Anthropic Claude under a fixed Kit Rx prompt that asks it to keep formatting, numbers, URLs and names; may contain errors; not a certified translation. Price: $0.005 per successful call, paid in USDC with x402 v2; failed calls and calls that match nothing are not charged. AI-generated answer; a call with no arguments returns the stored example answer without a model call.
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>",
"to": "<to>"
},
"name": "text_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target language: ISO 639-1 code (es, ja, zh, de) or English name (Spanish, Japanese), optionally with a region or script subtag (pt-BR, zh-Hant, es-419). | |
| from | No | Source language in the same forms as to. Detected automatically when omitted. | |
| text | Yes | Text to translate, up to 8000 characters (URL-encoded in the query string). Line breaks and Markdown are preserved. |