color_gradient_create
Create a gradient swatch in an open InDesign document by defining its name, gradient type, and color stops. Use linear or radial gradients with custom color positions.
Instructions
Create a gradient swatch
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | linear | |
| stops | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |