get_style

Get a style with Wavegrain's MCP server: the get_style tool needs the read permission. Inputs, outputs and an example call.

Get a style. Permission: read. Read-only: changes nothing.

One style's layouts, slots and sample sheet, with its spec when you wrote it or the fields you may change when it is Wavegrain's; with brandId, how it takes on that brand.

Inputs

InputTypeRequiredNotes
styleIdstringyesA style id from list_styles. up to 200 characters
versionintegernoAn older version to read. Default: the current one. 1 to 9007199254740991
brandIdstringnoAlso show how the style takes on this brand. up to 200 characters

The fields inside an object or a list are in the JSON Schema at /developers/mcp-tools.json.

Returns

FieldTypeNotes
styleobjectThe style.
versionnumberThe version read.
notestringWhat changed in this version.
specobjectThe full spec, for a style you wrote yourself.
editableobjectWavegrain's styles: the fields you may change with edit_style (on your copy from copy_style); the rest of the layout stays Wavegrain's.
layoutsobject[]Each slide layout of the style.
brandFitobjectHow the style takes on the brand given as brandId.

Example call

Send it to POST https://wavegrain.com/api/mcp with an access key that has the read permission; Authentication shows how to make one.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_style",
    "arguments": {
      "styleId": "<styleId>"
    }
  }
}

The call shows only the required inputs, with placeholder values: put your own in.

Something wrong or missing? Write to support@wavegrain.com.