Remove a sketch shape
delete_sketch_shape
Removes a shape from the sketch.
EditorTools tabAgentMCP
- Needs
- A shape picked in the sketch.
- In the editor
- Sketch, a shape picked: the bin beside its buttons, or Delete.
- Tools tab
- A form of its inputs, filled from what is picked; Run makes the change, one step to undo.
- Agent and MCP
- The chat's agent and MCP clients call
delete_sketch_shape, each call one step to undo. Over MCP it also takesproject,editorandrequest_id.
What it does
Takes a shape out of the sketch. Bodies already made from it stay as they are: a body keeps the profile it was made from, and does not follow its sketch.
Inputs
As the agent and MCP clients send them. One left out takes the default its description gives.
| Input | Type | What it is |
|---|---|---|
| shapeneeded | string | — |
Examples
Given: A sketch holding a 40 × 20 mm rectangle centred on the origin (id plate) with a 6 mm circle in its middle (hole), and a 4 mm square (ring) 30 mm along X.
delete_sketch_shape { "shape": "hole" }Then: The circle is gone; the plate's outline extrudes solid now.