Undo Last Action
revit_undo_lastRevert the last MCP-driven change in Autodesk Revit using Revit's own undo command, refusing safely when the document is inactive or the undo entry does not match.
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.
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": "revit_undo_last"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Open document title/file substring; required when ambiguous. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||