vw_revert_last
Undo the last MCP write in the active Vectorworks document, removing created objects and restoring changed or deleted geometry, attributes, records, and positions; call repeatedly to step further back.
Instructions
Undo exactly the last MCP write in the active document: deletes what a tool created, restores objects a tool changed or deleted (geometry, attributes, class, name, group and stacking position) and restores record fields. Call repeatedly to step further back. (Vectorworks' own Cmd-Z merges consecutive MCP edits.) Raw vw_exec_python edits can't be reverted this way. Restored objects get new UUIDs (returned in mapping).
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": "vw_revert_last"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||