service_update
Modify an existing Docker service by updating its Docker image or adjusting replica count within a DuploCloud tenant.
Instructions
Update an existing service. Provide only the fields to change.
Args: tenant_id: The tenant ID containing the service. name: The service name to update. image: New Docker image (optional). replicas: New replica count (optional).
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>"
},
"name": "service_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | Yes | ||
| name | Yes | ||
| image | No | ||
| replicas | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |