snapshot_restore
Restore a GNS3 project to a previous snapshot, overwriting the current lab state to revert to a known configuration.
Instructions
Restore the project to a snapshot. The current state is overwritten.
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_id": "<snapshot_id>"
},
"name": "snapshot_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot_id | Yes | ||
| project_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||