get_current_alerts
Retrieve current alerts from your Ambari cluster, filtering by service, host, state, or maintenance status. Deprecated: use get_alerts_history with mode='current' instead.
Instructions
Retrieve current alerts from Ambari cluster.
DEPRECATED: This function is deprecated in favor of get_alerts_history with mode="current". This wrapper is maintained for backward compatibility.
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_current_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | detailed | |
| host_name | No | ||
| cluster_name | No | ||
| service_name | No | ||
| state_filter | No | ||
| definition_name | No | ||
| maintenance_state | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |