get_cluster_services
Retrieves all Ambari cluster services and their current status to support real-time cluster health checks and service management overviews.
Instructions
Retrieves the list of services with status in an Ambari cluster.
[Tool Role]: Dedicated tool for real-time retrieval of all running services and basic status information in an Ambari cluster
[Core Functions]:
Retrieve cluster service list with status via Ambari REST API
Provide service names, current state, and cluster information
Include detailed link information for each service
Display visual indicators for service status
[Required Usage Scenarios]:
When users mention "service list", "cluster services", "Ambari services"
When cluster status check is needed
When service management requires current status overview
When real-time cluster information is absolutely necessary
[Absolutely Prohibited Scenarios]:
General Hadoop knowledge questions
Service installation or configuration changes
Log viewing or performance monitoring
Requests belonging to other cluster management tools
Returns: Cluster service list with status information (success: service list with status, failure: error message)
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": "get_cluster_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |