Create Sketch
create_sketchOpen a new sketch on a selected plane or flat face of the active part so you can draw lines, circles, and other sketch entities before extruding or cutting.
Instructions
Open a new sketch on a plane or a flat face 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. Or give face_point, a
point in mm on a flat face of the body: the sketch opens on that face and moves
with it when the model changes. 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 (or face_point), plus name_on_exit when you
gave sketch_name. A face_point not on a flat face fails with
invalid_input.
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. Exactly one of `plane` and `face_point`; `sketch_name` names it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||