Undo or Redo
Undo reverses the most recent change to the open workbook (Edit > Undo). Redo reapplies the change most recently undone (Edit > Redo).
APIs called
This tool asks the running Tableau Studio instance, through the local Tableau Studio External Client API, to undo or redo the open workbook. There are no OAuth scopes.
Required arguments
action
undo reverses the most recent change. redo reapplies the change most recently undone.
Example
"undo"
Optional arguments
session
Session ID. Optional when a session is pinned or only one Tableau Studio instance is connected.
Example
"studio-1"
Notes and caveats
- Undo changes the open workbook. It is not a read, and repeating it walks further back through the undo stack.
- Tableau Studio owns the undo history. The tool does not inspect it, and the result does not say which change was undone or redone.
- Moving to another sheet is itself a change, so an undo immediately after a navigation can reverse that navigation.
- When Tableau Studio accepts the request before it has settled, the result says the undo or redo was requested and is still being applied.