Translate text
translateTranslates up to 8000 characters into the target language. The source language is detected automatically. Markdown, line breaks and placeholders are preserved. Paid tool: $0.008 per call in USDC via x402 at POST https://x402-tools.com/v1/translate. Calling it here returns the endpoint, price and how to pay.
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": "<target>"
},
"name": "translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to translate (max 8000 characters). | |
| source | No | Optional source language. Detected if omitted. | |
| target | Yes | Target language, as a name or code (e.g. 'Dutch' or 'nl'). |