list_hosts
Retrieves all registered host names and API links from the Ambari cluster for monitoring or auditing cluster nodes.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |