Critical Risk →

extrude_cut

Create a cut extrusion to remove material from an existing solid body. The sketch must be placed on a face of an existing body and contain a closed profile. This removes material by extruding the sketch profile into the solid body. Parameters: - depth: Cut depth in mm (default: 25) - reverse: Cut...

How to control extrude_cut ↓

What extrude_cut does on SolidWorks MCP Server

AI agents call extrude_cut to permanently remove resources in SolidWorks MCP Server — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Critical Risk

Why extrude_cut needs a policy

This tool permanently removes material from a 3D solid body in SolidWorks. While SolidWorks has undo functionality in interactive sessions, an AI agent invoking this via MCP is performing an irreversible destructive modification to the CAD model geometry. Material removal in parametric CAD can have cascading effects on dependent features, making misuse high severity.

From the tool's definition 'Create a cut extrusion to remove material from an existing solid body' and 'This removes material by extruding the sketch profile into the solid body'

Documented attack patterns abuse exactly the kind of access extrude_cut gives an agent:

How to control extrude_cut

PolicyLayer is an MCP gateway — it sits between your AI agents and SolidWorks MCP Server, and nothing reaches the server without passing your rules. This is the rule we recommend for extrude_cut:

policy.json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "extrude_cut"
  ]
}

extrude_cut disappears from the agent's tool list entirely, and any attempt to call it is denied. The rest of the server keeps working.

  1. Create a free account and register SolidWorks MCP Server — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
RESTRICT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about extrude_cut

What does the extrude_cut tool do? +

Create a cut extrusion to remove material from an existing solid body. The sketch must be placed on a face of an existing body and contain a closed profile. This removes material by extruding the sketch profile into the solid body. Parameters: - depth: Cut depth in mm (default: 25) - reverse: Cut in opposite direction (default: false) - draft: Draft angle in degrees (default: 0, max: 89) Use this tool for: - Creating holes (circular sketches) - Creating pockets (rectangular sketches) - Creating complex cutouts (any closed sketch profile) Returns the feature ID of the created cut extrusion. It is categorised as a Destructive tool in the SolidWorks MCP Server MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on extrude_cut? +

Register the SolidWorks MCP Server MCP server in PolicyLayer and add a rule for extrude_cut: 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 SolidWorks MCP Server. Nothing to install.

What risk level is extrude_cut? +

extrude_cut is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit extrude_cut? +

Yes. Add a rate_limit block to the extrude_cut 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.

How do I block extrude_cut completely? +

Set action: deny in the PolicyLayer policy for extrude_cut. 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.

What MCP server provides extrude_cut? +

extrude_cut is provided by the SolidWorks MCP Server MCP server (jianzhichun/solidworks-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every SolidWorks MCP Server tool call.

Start from SolidWorks MCP Server, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

84 SolidWorks MCP Server tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.