photoshop_create_document
Create a new empty Photoshop document with set width, height, resolution, and color mode to start a design from scratch when no canvas is open.
Instructions
Create a new empty Photoshop document with specified dimensions and color mode.
Use when: starting a design from scratch or no document is open. Do NOT use when: opening an existing file — use photoshop_open_image.
Returns: created document id and name. Preconditions: none. Side effects: creates a new document and makes it active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Document width in pixels. Default 1920 when the request names no size. | |
| height | No | Document height in pixels. Default 1080 when the request names no size. | |
| colorMode | No | Color mode (RGB, CMYK, Grayscale) | RGB |
| resolution | No | Document resolution in DPI (default: 72) | |
| document_id | No | Ignored. photoshop_create_document and photoshop_open_image do not target an existing tab. Omit this, or send null or 0. |