get_alarm_history
Retrieve historical state changes and transitions for Oracle Cloud Infrastructure alarms to analyze monitoring patterns and troubleshoot issues.
Instructions
Get alarm state history.
Args:
alarm_id: OCID of the alarm
alarm_historytype: Type of history (STATE_TRANSITION_HISTORY, STATE_HISTORY, RULE_HISTORY)
Returns:
List of alarm history entries with timestamps and state changes
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alarm_id": "<alarm_id>"
},
"name": "get_alarm_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alarm_id | Yes | ||
| alarm_historytype | No | STATE_TRANSITION_HISTORY |