modo_rollback_action
Undo all changes made since a recorded action was started, then close it. Halts safely if it detects an undo step that isn't the bridge's, so the user's own edits are never reverted.
Instructions
Undo every change made since modo_begin_action and close the action. Stops, and says so, when it reaches an undo step that is not the bridge's (the user changed something meanwhile), so the user's work is never undone.
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": "modo_rollback_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | This chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |