Create Gradient
create_gradientCreate linear or radial gradients with custom color stops and apply them as fills to selected objects by UUID, without bringing Illustrator to the foreground.
Instructions
Create a gradient in the document and optionally apply it to objects. Runs without activating Illustrator in default background mode; never invokes Computer Use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Gradient name | |
| type | No | linear | |
| angle | No | Gradient angle (for linear). Note: may not take effect due to a long-standing Illustrator bug (since 2008). | |
| stops | Yes | Gradient stops (minimum 2) | |
| apply_to_uuids | No | UUIDs of objects to apply this gradient as fill |