rollback_to_snapshot
Restore a CityJSON or CityGML dataset to a saved snapshot by index. Use it to undo later edits, but all changes made after that snapshot are discarded.
Instructions
Stellt einen früheren Dataset-Zustand wieder her.
Wie Git-Reset: Kehrt zu einem gespeicherten Zustand zurück. Alle Änderungen nach diesem Snapshot gehen verloren!
Args: snapshot_index: Index des Snapshots (von get_dataset_history() erhalten)
Returns: dict: Informationen über den Rollback
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": {
"snapshot_index": "<snapshot_index>"
},
"name": "rollback_to_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||