Translate Social Graphics
translate_graphicsCreates or refreshes translated social-graphics layouts in the requested languages using text translation. Existing target-language edits can be overwritten. Subject to the account's translation allowances.
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": {
"targetLanguages": "<targetLanguages>"
},
"name": "translate_graphics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Alias of generationId (the project id). | |
| variantId | No | Variant to translate. Defaults to the active graphics variant. | |
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. | |
| targetLanguages | Yes | Language codes, e.g. ['de','ja','pt-BR']. Unsupported codes are rejected with the list of issues. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |