imgui_load_snapshot
Restore a previously saved UI snapshot by name to revert the interface to an earlier state, while preserving the current state in the undo stack for potential rollback.
Instructions
Restore a previously saved snapshot by name. The current state is pushed to the undo stack before restoring.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "imgui_load_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the snapshot to restore |