modo_undo_last
Revert the most recent assistant-made change in Modo as a single undo step. It only undoes bridge actions and skips undo to protect your own edits, reporting when it does nothing.
Instructions
Undo the newest change the assistant made in Modo (one call of modo_run_python, modo_run_command, modo_set_channels ... is one undo step). Safe against the user's own work: if the newest undo step is not the bridge's because something was changed in Modo since, nothing is undone and the answer says so. A call that fails is already undone automatically.
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_undo_last"
}
}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 |