service_restart
Restart a Docker service to trigger rolling redeployment in DuploCloud infrastructure. Specify tenant ID and service name to initiate the restart process.
Instructions
Restart a service, triggering a rolling redeployment.
Args: tenant_id: The tenant ID containing the service. name: The service name to restart.
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_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | Yes | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |