get_undo_redo_status
Check a project's undo and redo availability and history so you can enable buttons and show accurate tooltips.
Instructions
Get the current undo/redo status for a project.
Returns information about available undo/redo operations:
canUndo: Whether undo is available
canRedo: Whether redo is available
currentSequence: Current position in the operation history
totalOperations: Total number of operations in history
undoDescription: Description of the operation that would be undone
redoDescription: Description of the operation that would be redone
Use this to determine if undo/redo buttons should be enabled and to show tooltips.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project ID to get undo/redo status for |