translate
CuNi translate. Paste N, get X, or refuse. POST /v1/translate. SKU lab-translate $0.10. Pass payment or the lab returns 402.
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": {
"source": "<source>"
},
"name": "translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Catalog id. Default js. | |
| from | No | py or cuni. Default py. | |
| source | Yes | Program text. CuNi source, except ingest which takes the foreign source. | |
| payment | No | x402 payment header (X-PAYMENT). Omit it and the lab answers 402. |