list_log_groups
Retrieve all log groups within a specified Oracle Cloud Infrastructure compartment to monitor and manage logging resources.
Instructions
List all log groups in a compartment.
Args:
compartment_id: OCID of the compartment to list log groups from
Returns:
List of log groups with their display names and lifecycle states
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_log_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes |