Text translate
text_translateTranslate text across 100 languages using Meta M2M100 1.2B AI. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for terms, then call again with payment.
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": "text_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to translate (1 to 8000 characters). | |
| source | No | Optional source ISO-639-1 language code (default en). | |
| target | Yes | Target ISO-639-1 language code (e.g. es, fr, de, pt, ja, zh, ko, ar, hi, uk, en). | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). |