create_sketch
Create a new sketch on a specified plane (front, top, right) in SOLIDWORKS. Returns the sketch name and leaves the sketch in edit mode for adding geometry.
Instructions
Start a new sketch on a named reference plane.
Args: plane_name: One of "front", "top", "right" (lowercase English), OR the Spanish UI names "Alzado" (Front), "Planta" (Top), "Vista lateral" (Right). Spanish UI names are case-sensitive.
Returns the new sketch's name (e.g., "Croquis5") and the resolved plane name. The sketch is left in EDIT mode — call create_rectangle (and other future primitives) to add geometry, then extrude_sketch to close and turn it into a 3D feature.
Caveat: requires a part document (not assembly). Open a fresh part via SW UI before calling.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plane_name": "<plane_name>"
},
"name": "create_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plane_name | Yes |