Update Post
update_postUpdate a Wavegen post atomically: edit caption/hashtags, modify slide overlay text/style/position/size, replace images inside image overlays (slideEdits[].overlays[].image) or slide backgrounds (slideEdits[].backgroundImage) via AI generate, stock search, brand asset, HTTPS URL, or base64 image data, swap palette colors globally via replaceColors, or reorder/drop slides via slideOrder. Returns updated post details and rendered preview images of edited slides.
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": {
"postId": "<postId>"
},
"name": "update_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | Wavegen post ID to update. | |
| caption | No | Updated post caption (description). | |
| hashtags | No | ||
| slideEdits | No | Per-slide edits (text/image/shape overlays, background color, or background image replacement). | |
| slideOrder | No | New ordering of existing 0-based slide indices; omitted indices are removed. | |
| firstComment | No | ||
| replaceColors | No | Find-and-replace hex colors across all slides and overlays in this post. | |
| includePreviews | No | Whether to render and return updated slide preview images (defaults to true). |