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...
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.
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:
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:
{
"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.
Free to start. No card required.
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.
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.
extrude_cut 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 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.
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.
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.
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.