Propose translation
post_translateUse this when the user wants a faithful FR/EN translation of a post. It returns a proposal without saving it. An explicit request to translate and replace a named locale authorizes that edit; otherwise present the proposal for approval. Save existing posts with post_update, preserving their publication status.
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": {
"sourceLocale": "<sourceLocale>",
"targetLocale": "<targetLocale>"
},
"name": "post_translate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| postId | No | ||
| excerpt | No | ||
| contentHtml | No | ||
| sourceLocale | Yes | ||
| targetLocale | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| translation | Yes | ||
| sourceLocale | Yes | ||
| targetLocale | Yes |