Create Sketch
create_sketchOpens a new 2D sketch on a chosen plane of the active part, ready for drawing lines, circles, and other entities, with optional naming for the feature tree.
Instructions
Open a new sketch on a plane of the active part, ready for lines, circles and other sketch entities.
Use it first in every feature: sketch, draw, exit_sketch, then
create_extrusion or create_cut_extrude. Planes: Front, Top, Right (or XY,
XZ, YZ), or a plane made by create_reference_plane. Coordinates in the sketch
are mm from the origin. Needs: an open part. Changes: adds a sketch and opens it
for editing; give sketch_name and exit_sketch names it that when it closes
it (SolidWorks won't rename an open sketch). Returns: sketch with name (the
name in the feature tree now) and plane, plus name_on_exit when you gave
sketch_name.
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": {
"input_data": "<input_data>"
},
"name": "create_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The sketch. `plane` is required; `sketch_name` names it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||