Create service
createServiceProvision a one-click service or Docker Compose deployment on Coolify by specifying project, server, and environment. Supports databases, caches, and raw Docker Compose YAML.
Instructions
Create a one-click service (database, cache, etc.) or a Docker Compose deployment (pass docker_compose_raw with the YAML content). Requires project_uuid, server_uuid, and environment_name (or environment_uuid). Since Coolify v4.1, Docker Compose deployments are services, not applications.
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>"
},
"name": "createService"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | ||
| type | No | ||
| urls | No | ||
| description | No | ||
| server_uuid | Yes | ||
| project_uuid | Yes | ||
| instant_deploy | No | ||
| destination_uuid | No | ||
| environment_name | No | ||
| environment_uuid | No | ||
| docker_compose_raw | No | ||
| force_domain_override | No | ||
| is_container_label_escape_enabled | No |