list_alarms
Retrieve all alarms in an Oracle Cloud Infrastructure compartment to monitor their queries, severity levels, states, and notification destinations.
Instructions
List all alarms in a compartment.
Args:
compartment_id: OCID of the compartment to list alarms from
Returns:
List of alarms with their query, severity, state, and destinations
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": {
"compartment_id": "<compartment_id>"
},
"name": "list_alarms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes |