Undo changes
clo_undoUndo one or more project-changing tool calls by restoring patterns, seams, fabrics, colorways, and 3D drape to their prior state. Manual CLO edits since that point are discarded; redo recovers them.
Instructions
Undo the last tool call that changed the project, or several, by restoring the garment as it was before. Works for everything the tools change, including simulation, moves and deletions: patterns, seams, fabrics, colorways and the 3D drape all come back. It also discards anything the user changed by hand in CLO since that point (clo_redo brings it back). The avatar and scene are not part of the history. Restoring resets the list in CLO's own History panel.
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": "clo_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Restore even though CLO now has a different project open than the one the history was recorded in. | |
| steps | No | How many changes to step over (default 1). | |
| to_checkpoint | No | Instead of counting steps, go back to the checkpoint with this label. |