restart_all_services
Restart all services in the Ambari cluster by stopping and starting them in sequence. Ideal for applying configuration changes or recovering from cluster-wide issues.
Instructions
Restarts all services in the Ambari cluster (stop all, then start all).
[Tool Role]: Dedicated tool for automated bulk restart of all Ambari services, ensuring safe stop and start sequence.
[Core Functions]:
Stop all running services and wait for completion
Start all services and wait for completion
Return clear success or error message for LLM automation
[Required Usage Scenarios]:
When users request to "restart all services", "bulk restart", "cluster-wide restart"
When troubleshooting or recovering cluster-wide issues
When maintenance or configuration changes require a full restart
Returns: Bulk restart operation result (success: English completion message, failure: English error message) - Success: "All services restart operation completed successfully." - Failure: "Error: ..." with details
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restart_all_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |