edit_sketch
Reopen an existing SOLIDWORKS sketch for editing so draw tools, relations, and dimensions can modify it; close it to rebuild dependent features. Refused while another sketch is open.
Instructions
Reopen an existing sketch (for example 'Sketch1') for editing. The draw tools, add_sketch_relation and add_sketch_dimension then act on it, and close_sketch rebuilds the features made from it. Refused while another sketch is open.
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": {
"sketch": "<sketch>"
},
"name": "edit_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch | Yes | Name of the sketch in the feature tree, e.g. 'Sketch1' |