Create database
databaseCreateCreate a managed database for one owned app — Create database on the dashboard’s Database page. A managed database is part of the Pro plan, and of the account’s plan where it includes one, and it keeps running until it is deleted: confirmed: true represents the human’s agreement to create a database for this exact projectId; an earlier deploy or scan is not that agreement. At most one per app, from the number the account’s plan includes across its apps. An app or account that cannot have one yet is refused before a database is created, with a sentence that says why. It returns non-secret status, never a password, key or connection string. Creation is asynchronous. The result reports the recorded creation state; an interrupted provider attempt remains eligible for reconciliation. It cannot run SQL or migrations, and local-only rows are not copied.
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": "databaseCreate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | americas | |
| confirmed | Yes | ||
| 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 |