Create Document
illustrator_create_documentCreate a new Adobe Illustrator document with specified dimensions, unit, color mode, and artboard count. Launches Illustrator if not already running.
Instructions
Create a new Illustrator document. Launches Illustrator if it is not already running.
Args:
width, height (number): canvas size in the chosen unit
unit ('pt'|'px'|'mm'|'cm'|'in'): default 'px'
color_mode ('RGB'|'CMYK'): 'RGB' for screen, 'CMYK' for print (default 'RGB')
artboards (number): number of artboards (default 1)
Returns the new document's name, size in points, and color mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit for width/height (pt, px, mm, cm, in). Default: px (1px = 1pt). | px |
| width | Yes | Canvas width in the chosen unit. | |
| height | Yes | Canvas height in the chosen unit. | |
| artboards | No | Number of artboards. | |
| color_mode | No | 'RGB' for screen/web, 'CMYK' for print. Default 'RGB'. | RGB |