ambari_services_restartcomponents
Restart specific service components with stale configurations in an Ambari cluster to apply changes. Optionally target particular hosts.
Instructions
Restart specific components that have stale configurations
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>",
"componentName": "<componentName>"
},
"name": "ambari_services_restartcomponents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clusterName | Yes | The name of the cluster | |
| serviceName | Yes | The name of the service | |
| componentName | Yes | The name of the component to restart | |
| hostNames | No | JSON array of host names to restart the component on (optional - restarts all if not provided) | |
| context | No | Context message for the restart operation | Restart components via MCP |