Save Social Graphics
save_graphicsReplaces the supplied complete social-graphics layout data for one language. This is a whole-document save rather than a targeted field patch.
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": {
"socialTemplateId": "<socialTemplateId>",
"socialPrimaryFormat": "<socialPrimaryFormat>",
"graphics": "<graphics>"
},
"name": "save_graphics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graphics | Yes | ||
| language | No | Graphics language (e.g. de, pt-BR). Omit for the source language. Use list_graphics_translations for the saved languages and translate_graphics to add one. | |
| projectId | No | Alias of generationId (the project id). | |
| variantId | No | ||
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. | |
| socialTemplateId | Yes | ||
| socialPrimaryFormat | Yes | The variant's default format (persisted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |