Delete the active layer
AI agents call photoshop_delete_layer to permanently remove resources in Photoshop MCP Windows-First — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Layer deletion is irreversible data destruction within the document. While Photoshop has an undo stack during a session, an AI agent misusing this tool could permanently lose work, especially if it deletes critical layers in multi-layer compositions or proceeds to save the document. The impact is high because it destroys user content without recovery options once committed.
From the tool's definition Tool name includes 'delete' and description states 'Delete the active layer' — this irreversibly removes a layer from a Photoshop document, which cannot be undone programmatically by an AI agent once the document is saved.
Attacks that exploit this kind of access
Delete the active layer. It is categorised as a Destructive tool in the Photoshop MCP Windows-First MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Photoshop MCP Windows-First MCP server in PolicyLayer and add a rule for photoshop_delete_layer: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Photoshop MCP Windows-First. Nothing to install.
photoshop_delete_layer is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the photoshop_delete_layer rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for photoshop_delete_layer. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
photoshop_delete_layer is provided by the Photoshop MCP Windows-First MCP server (rookietopred02-gif/photoshop-mcp-windows-first). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →