Check database progress
databaseReconcileCheck progress on this app’s managed database creation or recovery — Check progress on the dashboard’s Database page. Safe to repeat, and it never creates a second database: Tofu searches only for the attempt it already recorded. An interrupted or failed creation attempt is reconciled against the provider, and the result reports its state. For a restore whose Storage files are still going back (restore.outcome in_progress), the answer carries the restore’s report as it stands (restore), and Tofu puts the files back on its own every few minutes, so a repeated call only reads that report again; the app is reconnected once the last file is back and checked, and restore then reads restored. It returns no credential and cannot run SQL or migrations.
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": "databaseReconcile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| exit | Yes | ||
| state | Yes | ||
| region | Yes | ||
| schema | Yes | ||
| archive | Yes | ||
| enabled | Yes | ||
| message | Yes | ||
| restore | No | ||
| provider | Yes | ||
| nextSteps | Yes | ||
| inactivity | No | ||
| agentPrompt | Yes | ||
| lifecycleMode | No | ||
| storedArchive | No | ||
| environmentKeys | Yes | ||
| lifecycleFailure | Yes | ||
| requiresDeployment | Yes | ||
| manualRetentionSince | No |