create_database
Provision a database on Coolify by specifying its type, server UUID, project UUID, and environment name. Supports PostgreSQL, MySQL, MariaDB, MongoDB, Redis, ClickHouse, Dragonfly, and KeyDB.
Instructions
Create a new database. Valid types: postgresql, mysql, mariadb, mongodb, redis, clickhouse, dragonfly, keydb
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": {
"type": "<type>",
"server_uuid": "<server_uuid>",
"project_uuid": "<project_uuid>",
"environment_name": "<environment_name>"
},
"name": "create_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Database type (postgresql, mysql, mariadb, mongodb, redis, clickhouse, dragonfly, keydb) | |
| server_uuid | Yes | Server UUID | |
| project_uuid | Yes | Project UUID | |
| environment_name | Yes | Environment name | |
| name | No | Database name (optional, auto-generated if not provided) | |
| description | No | Database description | |
| image | No | Docker image for the database | |
| is_public | No | Make database publicly accessible | |
| public_port | No | Public port for the database | |
| instant_deploy | No | Deploy immediately after creation |