Undo Last Action
revit_undo_lastRevert the last MCP action in a live Revit model via Revit's own undo command. Returns a refusal reason when the document isn't active or safety conditions aren't met.
Instructions
Undo the last MCP action through Revit's own undo command. Runs only when the target document is active, no command is pending and Revit's last undo entry is the one this session recorded; otherwise the result carries a refusal reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Title or file name substring of the target open document; needed when several are open. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||