List database backups
databaseBackupsList the daily backups Tofu keeps of one owned app’s running managed database: one a day, kept for seven days, newest first, each with takenAt (UTC), status and restorable (only a completed backup can be gone back to). restore.requestable reports eligibility for a backup-restore request; when it would not, restore.code and restore.message contain a human-readable explanation. available: false means there is no list — no database, a database that is not running, or a read that failed (unavailable, which says nothing about whether backups exist). It reads no data, returns no credential and changes nothing. The dashboard’s Database page shows the same list under Backups, with Ask for a restore beside each complete copy, with the same recorded backups. One app per call, and a projectId the caller does not own is refused without saying anything about it.
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": {
"projectId": "<projectId>"
},
"name": "databaseBackups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ||
| code | Yes | ||
| backups | Yes | ||
| message | Yes | ||
| restore | Yes | ||
| newestAt | Yes | ||
| available | Yes | ||
| projectId | Yes |