get_service_components
Retrieve detailed service components and host assignments from Ambari clusters. Use it for troubleshooting, health checks, or scaling operations by specifying the service name for formatted output.
Instructions
Retrieves detailed components information for a specific service in the Ambari cluster.
[Tool Role]: Dedicated tool for retrieving service component details and host assignments.
[Core Functions]:
List all components for a service, including state and category
Show host assignments and instance counts
Provide formatted output for LLM automation and troubleshooting
[Required Usage Scenarios]:
When users request service component details or host info
When troubleshooting service health or scaling
When users mention component list, host assignments, or service breakdown
Args: service_name: Name of the service (e.g., "HDFS", "YARN", "HBASE")
Returns: Service components detailed information (success: formatted list, failure: English error message)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
service_name | Yes |