Create Rectangle
create_rectangleDraw rectangles in Illustrator at specified coordinates and size, with optional fill, stroke, corner radius, and layer. Runs in background without activating the app.
Instructions
Create a rectangle. Runs without activating Illustrator in default background mode; never invokes Computer Use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| fill | No | Fill color | |
| name | No | Object name | |
| width | Yes | Width | |
| height | Yes | Height | |
| stroke | No | Stroke settings | |
| layer_name | No | Target layer name | |
| corner_radius | No | Corner radius | |
| coordinate_system | No | Coordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native coords, origin at bottom-left, Y-up. Call get_document_info to check which system is active. |