photoshop_adjust_brightness_contrast
Apply brightness and contrast deltas to the active raster layer for quick exposure or contrast fixes. Runs once as a destructive pixel adjustment, reversible with undo.
Instructions
Apply Image > Adjustments > Brightness/Contrast once to the active layer. Values are deltas on pixels, not an adjustment layer.
Users often say: fix exposure, add contrast, brighten, darken.
Use when: a quick brightness/contrast pass on the current raster layer. Do NOT use when: exposure in stops on an editable layer — use photoshop_adjust_exposure. Do NOT use when: a non-destructive tonal curve — use photoshop_adjust_curves. Do NOT use when: automatic black and white points — use photoshop_auto_levels.
Returns: the brightness and contrast values applied. Preconditions: active document and active layer. Text and Smart Objects are rasterized first. Side effects: destructive pixels, one history step. Calling again applies another delta. Reversible with photoshop_undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contrast | Yes | Contrast adjustment (-100 to 100) | |
| brightness | Yes | Brightness adjustment (-100 to 100) | |
| document_id | Yes | Photoshop document id from photoshop_get_state / photoshop_list_documents. Send null or 0 to use the active document. A positive number activates that document before the tool runs. When no document is open, a stale id does not block the call. |