undo
Reverts the last operations in the active SolidWorks model and reports whether the feature tree actually changed, so callers know if any steps were reverted.
Instructions
Undo the last operations in the active model.
SolidWorks accepts an undo with nothing left to undo without complaining, so the response reports whether the feature tree actually changed rather than assuming it did.
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 | How many steps to undo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||