photoshop_get_selection_bounds
Reads the pixel bounds of the active selection in document coordinates to support precise region-based edits or measurements.
Instructions
Read the active pixel selection bounds in document pixels (read-only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool verifies that this document is already active and fails closed if another tab is active. It never switches the active Photoshop document automatically. |