ambari_services_restartservice
Restart a specific service in an Apache Ambari cluster. Supports both standard restart and rolling restart with a custom context message.
Instructions
Restart a specific service on the cluster
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": {
"clusterName": "<clusterName>",
"serviceName": "<serviceName>"
},
"name": "ambari_services_restartservice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clusterName | Yes | The name of the cluster | |
| serviceName | Yes | The name of the service to restart | |
| context | No | Context message for the restart operation | Restart service via MCP |
| restartType | No | Type of restart operation | RESTART |