Restore a database
restore_backupRestores a database from a backup (the last successful one by default) or to a point in time; its current data is replaced, with an approval in production.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restore_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | true: answers once done. | |
| reason | No | Why restore, in one sentence for the person who approves. | |
| instant | No | Restore the database to this instant (ISO 8601), 14 days at most; excludes backup_id. | |
| project | No | The project. | |
| database | No | Database name; the first declared by default. | |
| backup_id | No | The backup (get_environment { view: "backups" }); the last successful one by default. | |
| approval_id | No | The granted approval (its id), when the action needs one. | |
| environment | No | Production or a preview. | production |