service_create
Deploy Docker containers as scalable services in DuploCloud tenants by specifying image, replicas, and configuration parameters.
Instructions
Create a new service in a DuploCloud tenant.
Args: tenant_id: The tenant ID to create the service in. name: Name for the new service. image: Docker image to deploy (e.g. nginx:latest). replicas: Number of replicas to run. Defaults to 1.
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": {
"tenant_id": "<tenant_id>",
"name": "<name>",
"image": "<image>"
},
"name": "service_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | Yes | ||
| name | Yes | ||
| image | Yes | ||
| replicas | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |