photoshop_crop_document
Crop a Photoshop document to specified pixel bounds by providing left, top, right, and bottom coordinates. Adjust the canvas to the exact area needed.
Instructions
Crop the document to specified bounds
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | Yes | Top edge position in pixels | |
| left | Yes | Left edge position in pixels | |
| right | Yes | Right edge position in pixels | |
| bottom | Yes | Bottom edge position in pixels | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |