pin_style

Pin a style to a brand with Wavegrain's MCP server: the pin_style tool needs the write permission. Inputs, outputs and an example call.

Pin a style to a brand. Permission: write. Changes saved work.

Pin a tailored style to a brand, so posts of its purpose use it when no style is named. Answers the brand's pinned styles.

Inputs

InputTypeRequiredNotes
brandIdstringyesA brand id from list_brands. up to 200 characters
styleIdstringyesA style id from list_styles. up to 200 characters

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

Returns

FieldTypeNotes
brandIdstringThe brand.
pinnedobject[]The brand's pinned styles after this call.

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": "pin_style",
    "arguments": {
      "brandId": "<brandId>",
      "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.