create_paint_style
Create reusable paint styles from solid or gradient colors, organized with slashes in names. Apply saved styles to nodes or edit them later.
Instructions
Create a reusable local paint (color) style from SOLID or gradient paints (same shape as set_fills); use slashes in the name for folder grouping. Apply it to nodes with apply_style_to_node, or edit it later with update_paint_style. Returns { ok, styleId, name }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Style name, e.g. "Brand/Primary" | |
| paints | Yes | Paints | |
| description | No | Optional style description |