edit_style
Edit a tailored style with Wavegrain's MCP server: the edit_style tool needs the write permission. Inputs, outputs and an example call.
Edit a tailored style. Permission: write. Changes saved work.
Change your tailored style as a new version (full spec or merge patch; only the editable fields of a Wavegrain style); existing slideshows keep theirs. Free.
Inputs
| Input | Type | Required | Notes |
|---|---|---|---|
styleId | string | yes | One of your own styles: from create_style, copy_style or list_styles kind mine. up to 200 characters |
spec | object | no | The whole spec with your changes, as get_style answers it; saved as a new version. |
patch | object | no | A JSON merge patch (RFC 7396) on the spec; arrays replace whole. |
note | string | yes | What changed, in a few words. It becomes the version note. up to 300 characters |
look | string | no | A new one-line description of how the style looks, shown on its Style library card. up to 200 characters |
sample | object | no | A new sample, when the change no longer fits the old one. |
The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.
Returns
| Field | Type | Notes |
|---|---|---|
styleId | string | The style id. |
name | string | The style's name. |
version | number | The version this call saved. |
sampleReady | boolean | True when the sample sheet is ready. |
sampleSheetUrl | string | null | An image of sample slides; null when not ready. |
note | string | What to do next. |
slideshowsOnOlderVersions | object[] | Slideshows still on an older version; rerender_with_style_version moves one to the new version. |
Example call
Send it to POST https://wavegrain.com/api/mcp with an access key that has the write permission; Authentication shows how to make one.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "edit_style",
"arguments": {
"styleId": "<styleId>",
"note": "<note>"
}
}
}
The call shows only the required inputs, with placeholder values: put your own in.
Related tools
import_image: Import an image from a URLexport_slideshow: Export a slideshowcreate_style: Create a tailored stylecopy_style: Copy a tailored stylepin_style: Pin a style to a brandunpin_style: Unpin a style from a brand- All 79 tools
Something wrong or missing? Write to support@wavegrain.com.