translate
translateTranslate between French (incl. Quebec French) and English. Input: text, target ('fr' | 'en'), optional tone. Costs $0.04 USDC per call (x402 v2, Base or Solana). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/translate with an x402 client.
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 (up to 40,000 characters) | |
| tone | No | Tone of the translation: neutral, formal, casual or quebec (Québec French) | |
| target | Yes | Target language: fr (French) or en (English) |