gimp_layer_mask
Add, apply, remove, enable, disable, show, or hide layer masks in GIMP with selectable mask types for non-destructive editing.
Instructions
Layer masks. action='add' with type selection|alpha|alpha-transfer|white|black|copy; 'apply' bakes the mask in; 'remove' discards it; 'enable'/'disable' toggle it; 'show'/'hide' preview it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | selection | |
| action | No | add | |
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||