Delete app
projectDeleteDelete one app this account owns, with its managed database if it has one — Danger zone on the dashboard’s Settings page. This is permanent: its hosting is removed, its address goes offline and its database goes with everything in it (databaseDeleted: true). Requires confirmed: true, representing the human’s agreement to delete this exact projectId and its database — an earlier upload, scan or deploy is not that agreement; without the literal nothing is sent. Keeping the data takes an export or a transfer to the user’s own Supabase organization, which Tofu makes on request before the deletion. It deletes exactly one app per call — there is no bulk form — and a projectId the caller does not own is refused without saying anything about it. A repeat for an app this account already deleted answers with that deletion’s result (alreadyDeleted: true) instead of deleting anything twice. It cannot delete a domain or a hosting account, and returns no credential.
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>",
"confirmed": "<confirmed>"
},
"name": "projectDelete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| alreadyDeleted | Yes | ||
| databaseDeleted | No | ||
| providerProject | Yes | ||
| providerProjectRemoved | Yes |