env_revert
Restore an environment to its clean snapshot, discarding all changes made since it was forked. Files written in the guest are lost, but it resumes from RAM in seconds rather than rebooting.
Instructions
Discard everything done inside an environment since it was forked, returning it to its clean snapshot. Files written in the guest are lost. Takes seconds, because the snapshot includes RAM and the machine resumes rather than reboots.
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": "env_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name of the environment |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| name | Yes |