Create Coolify Database
coolify_create_databaseProvision a new database (PostgreSQL, MySQL, etc.) on a Coolify server. Specify project, server, destination, and engine type to deploy.
Instructions
Create a new database resource. For Devon's Flavor B apps, this is typically PostgreSQL 16 deployed on the same VPS. Supported types: postgresql, mysql, mariadb, mongodb, redis, keydb, clickhouse, dragonfly.
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": {
"project_uuid": "<project_uuid>",
"server_uuid": "<server_uuid>",
"destination_uuid": "<destination_uuid>",
"type": "<type>",
"instance": "<instance>"
},
"name": "coolify_create_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Database display name | |
| type | Yes | Database engine type | |
| image | No | Docker image (e.g. postgres:16-alpine) | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| is_public | No | Expose publicly (default: false — internal only) | |
| description | No | Database description | |
| public_port | No | Public port if is_public=true | |
| server_uuid | Yes | Server UUID | |
| project_uuid | Yes | UUID of the target project | |
| destination_uuid | Yes | Destination UUID | |
| environment_name | No | Environment name | production |