Translate a received message
translate_messageTranslates one received text, website chat or email into the business language, as tapping Translate under it does, and saves the translation on the message (a repeat returns the saved translation with no new AI call). kind 'email' for an email, a text or chat otherwise. Nothing is sent and the original is never changed. Pass the same idempotency_key when retrying.
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": {
"message_id": "<message_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "translate_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| message_id | Yes | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |