adb_snapshot_restore_settings
Restore global and secure Android settings from a saved snapshot to the current device, without installing or uninstalling packages.
Instructions
Restore settings from a saved snapshot to the current device. Only restores global and secure settings — does not install/uninstall packages.
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": {
"snapshotPath": "<snapshotPath>"
},
"name": "adb_snapshot_restore_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| namespace | No | Which settings namespace to restore | both |
| snapshotPath | Yes | Path to the saved snapshot JSON file |