Translate between English and Twi, Ewe or Ga
translate.textUse this when someone wants a short text translated between English and one of Twi, Ewe or Ga, three languages of Ghana: a greeting, a sign, a message to a relative, a line for a card. The text may be up to 300 characters and one side must be English. Do not use it for long documents, for legal, medical or other text where a mistake could cause harm, for names or passwords, or between two Ghanaian languages directly. The text is sent to the Khaya translation service.
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>",
"from": "<from>",
"to": "<to>"
},
"name": "translate.text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The language to translate into. | |
| from | Yes | The language the text is in. | |
| text | Yes | The text to translate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| to | Yes | ||
| from | Yes | ||
| text | Yes | ||
| caution | Yes | ||
| explore_url | No | ||
| translation | Yes |