Undo
undoRevert one or more recent operations in the active SolidWorks model to step back after a failed feature; reports whether the feature tree changed.
Instructions
Undo the last operations in the active model (Edit > Undo).
Use it to step back after a feature went wrong. SolidWorks accepts an undo with
nothing to undo, so the reply says whether the feature tree changed. Needs: an
open document. Changes: reverts the last count operations. Returns: data
with requested_steps, features_before, features_after and tree_changed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | Nothing is required: `count` defaults to 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||