get_host_details
Retrieve detailed information for a specific Ambari host or all cluster hosts, including hardware specs, state, metrics, and assigned components for monitoring and troubleshooting.
Instructions
Retrieves detailed information for a specific host or all hosts in the Ambari cluster.
[Tool Role]: Dedicated tool for retrieving comprehensive host details including metrics, hardware info, and components.
[Core Functions]:
If host_name provided: Query specific host information
If host_name not provided: Query all hosts and their detailed information
Return host hardware specs, state, metrics, and assigned components
Provide formatted output for LLM automation and cluster management
[Required Usage Scenarios]:
When users request specific host details or host status
When users request all hosts details or cluster-wide host information
When auditing or monitoring individual or all cluster nodes
When troubleshooting host-specific issues
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_host_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_name | No | Name of the specific host to retrieve details for (optional, e.g., "bigtop-hostname0.demo.local") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |