Undo
visio_undoReverses the most recent editing actions in the active Visio document, moving back the number of steps specified, just like pressing Ctrl+Z.
Instructions
Undo the last actions in Visio, exactly as Ctrl+Z would.
This undoes whatever is on top of Visio's undo stack, which may be the user's own last edit rather than yours.
Args: steps: How many steps to undo.
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": "visio_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| page | No | ||
| action | Yes | ||
| detail | Yes | ||
| affected | No | ||
| document | No | ||
| shape_id | No |