rhino_layer_delete
Delete a layer by name (in standalone mode the layer is hidden + name-prefixed).
This record as markdown: /tools/easehee-rhino-mcp/rhino-layer-delete.md
What rhino_layer_delete does on Rhino
AI agents call rhino_layer_delete to permanently remove resources in Rhino, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
Why rhino_layer_delete is rated Critical
This tool irreversibly deletes or hides layers in Rhino, a destructive operation that cannot be undone without undo-stack availability. An AI agent with unsupervised access could permanently remove important design layers, losing work. This is more severe than Write (reversible changes) and meets Destructive criteria: deletion of named objects that users cannot easily recover.
From the tool's definition Tool name 'rhino_layer_delete' explicitly uses 'delete' verb; description states 'Delete a layer by name', confirming irreversible removal of data structure (or permanent hiding in standalone mode with name prefix, making layer inaccessible).
Attacks that exploit this kind of access
The rule that runs rhino_layer_delete safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Rhino, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For rhino_layer_delete, this is the rule to start with:
rhino_layer_delete is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Rhino, apply this rule, and every rhino_layer_delete call is checked against it from then on.
Questions about rhino_layer_delete
Delete a layer by name (in standalone mode the layer is hidden + name-prefixed). It is categorised as a Destructive tool in the Rhino MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the Rhino MCP server in PolicyLayer and add a rule for rhino_layer_delete: 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 Rhino. Nothing to install.
rhino_layer_delete 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 rhino_layer_delete 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 rhino_layer_delete. 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.
rhino_layer_delete is provided by the Rhino MCP server (easehee/rhino-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Rhino, and thousands of servers like it.
Across the catalogue