Delete database
databaseDeleteDelete an owned app’s managed database (Database page: Delete this database). THIS DESTROYS DATA, keeping no copy: the database, everything in it and its Supabase project go permanently. Requires the human’s agreement to this deletion for this exact app; confirmName is its exact name, letter case included. An operator-run export is separate, never a condition of this deletion. Deleting a running database leaves a copy Tofu already holds (the archive it came from, an operator’s export); with none, the data cannot be restored. A database Tofu is setting up, pausing, resuming or archiving is refused until settled (an archive within hours). An archived database IS its stored archive. Deleting it, or one whose archive stopped with a copy recorded (archive_attention or running again), deletes every copy Tofu holds for this app. A refusal changes nothing; an error can leave the data gone, Tofu’s record kept. archive.message and environment.message say what went and what stays.
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>",
"confirmName": "<confirmName>"
},
"name": "databaseDelete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| confirmName | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| archive | No | ||
| deletedAt | Yes | ||
| projectId | Yes | ||
| environment | Yes | ||
| providerProject | Yes | ||
| providerProjectRemoved | Yes |