as_restore_backup
Restore a backup file to a specified destination in an Android Studio project. Requires confirm=true and automatically backs up the current destination before overwriting.
Instructions
Restore a previously-created backup file to a destination. Requires confirm=true.
The current destination (if any) is itself backed up before being overwritten.
Args: params (RestoreInput): backup_path, restore_to, confirm.
Returns: str: JSON with the restore result.
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": {
"params": "<params>"
},
"name": "as_restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |