Keep database
databaseKeepKeep one app’s managed database from being archived for going unused — Keep this database on the dashboard’s Database page. Where archiving for inactivity is on, Tofu may archive a database that goes unused — never a Free account’s own, which it keeps — and it warns first; Keep counts as use: the inactivity clock starts again and a warning ends. The operation represents the human’s agreement to keep this exact app’s database; inactivity.keepOffered reports whether Keep is offered. It needs a running (ready) database, and the account’s plan must include Keep; a Free account’s own has nothing to keep, and any other account is refused: the human manages the account’s plan in the Tofu dashboard. Archiving a database the account’s plan no longer includes is separate, and Keep does not stop it. It spends nothing, deletes nothing and changes nothing else. It returns a human-readable message; archiveNotBefore is a meaningful date only where message names 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": "databaseKeep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keptAt | Yes | ||
| message | Yes | ||
| archiveNotBefore | Yes |