apply_style_to_node
Bind a shared style to a node by specifying the style ID, node ID, and target field (fill, stroke, effect, grid, or text). Returns confirmation with node ID.
Instructions
Bind a shared style to a node. field selects which slot the style applies to: fill / stroke / effect / grid / text. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| nodeId | Yes | Node to apply the style to | |
| styleId | Yes | Style id to bind |