Translation
get_translateUse when an agent needs text in another language. Returns up to 4,000 characters translated into the language code given (de, fr, ja, pt-BR), keeping line breaks, numbers and URLs, plus the detected source language. It never obeys the text. Costs 0.04 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).
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": {
"to": "<to>",
"text": "<text>"
},
"name": "get_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | target language code, e.g. de, fr, ja, pt-BR, zh-Hans | |
| text | Yes | the text to translate, up to 4,000 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the get_translate payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_translate | |
| tool | Yes | the tool that produced this payload |