AVD snapshot
avd_snapshotSave, load, delete, or list emulator AVD snapshots to reset Android devices deterministically between test runs without a wipe_data cold boot.
Instructions
Manage emulator AVD snapshots (adb emu avd snapshot): action=save|load|delete a named snapshot, or list them. Save a known-good state, then load it to reset the device deterministically between runs — faster than a wipe_data cold boot. Emulator-only.
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": {
"action": "<action>"
},
"name": "avd_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Snapshot name. Required for save/load/delete; ignored for list. | |
| action | Yes | One of: "save", "load", "delete", or "list". | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |