canvas_set_gradient
Apply a gradient to the canvas background using a built-in preset or custom color stops and angle, enabling quick background styling for design compositions.
Instructions
Applies a modern gradient to the canvas background. You can specify a built-in preset ("cyber", "sunset", "emerald", "space", "gold", "candy", "noir") or custom colors array and angle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | Angle in degrees (0 = top to bottom, 90 = left to right, 135 = diagonal) | |
| colors | No | Array of hex/rgba color stops e.g. ["#6C5CFF", "#FF3366"] | |
| preset | No | Preset gradient name |