list_hosts
Retrieve and manage the list of hosts registered in an Ambari cluster using this tool. It queries the Ambari REST API, returns host names and API links, and provides formatted output for cluster monitoring, auditing, and automation tasks.
Instructions
Retrieves the list of hosts in the Ambari cluster.
[Tool Role]: Dedicated tool for listing all hosts registered in the Ambari cluster.
[Core Functions]:
- Query Ambari REST API for host list
- Return host names and API links
- Provide formatted output for LLM automation and cluster management
[Required Usage Scenarios]:
- When users request cluster host list or host details
- When auditing or monitoring cluster nodes
Returns: List of hosts (success: formatted list, failure: error message)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |