| tools | [{"name":"create_document","description":"Create a new Photoshop document with specified dimensions, resolution and color mode.","source_file":"scripts/create_document.py","read_only":false,"destructive":false,"idempotent":false},{"name":"export_document","description":"Export the active document to a file (PNG, JPG, TIFF, PSD). Returns the output path.","source_file":"scripts/export_document.py","read_only":false,"destructive":false,"idempotent":true},{"name":"save_document","description":"Save the active Photoshop document in its current format.","source_file":"scripts/save_document.py","read_only":false,"destructive":false,"idempotent":true},{"name":"resize_canvas","description":"Resize the canvas of the active document (changes document dimensions without scaling content).","source_file":"scripts/resize_canvas.py","read_only":false,"destructive":false,"idempotent":true},{"name":"resize_image","description":"Scale the active document to new dimensions (resamples content).","source_file":"scripts/resize_image.py","read_only":false,"destructive":false,"idempotent":true},{"name":"flatten_image","description":"Flatten all layers in the active document into a single background layer.","source_file":"scripts/flatten_image.py","read_only":false,"destructive":true,"idempotent":true},{"name":"merge_visible_layers","description":"Merge all visible layers in the active document.","source_file":"scripts/merge_visible_layers.py","read_only":false,"destructive":true,"idempotent":true}] |