fanar_translate
Translates input text from a source language to a target language defined by a language pair. Optional preprocessing improves translation quality.
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>",
"langpair": "<langpair>"
},
"name": "fanar_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| langpair | Yes | ||
| preprocessing | No |