env_restore
Restore an environment to a named snapshot, discarding all modifications made after that snapshot.
Instructions
Rewind an environment to a named snapshot taken with env_snapshot. Everything done since that snapshot is lost. Use env_revert instead to go back to the environment's original clean state.
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>",
"snap": "<snap>"
},
"name": "env_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name of the environment | |
| snap | Yes | name of the snapshot |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| name | Yes |