cavalry_set_attribute
Set one or more attributes on a Cavalry layer using dot-notation paths like position.x, fontSize, or fill.color. Update layer properties directly for precise control.
Instructions
Set one or more attributes on a Cavalry layer. Attributes use dot-notation paths, e.g. "position.x", "fontSize", "fill.color".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | The layer ID (e.g. from create_layer) | |
| attributes | Yes | Key-value map of attribute paths to values, e.g. {"fontSize": 48, "position.x": 100} |