List all resources in a compartment
list_compartment_resourcesEnumerate all resources in an Oracle Cloud Infrastructure compartment using Resource Search, based on the compartment OCID.
Instructions
Enumerate every resource in a compartment (via Resource Search).
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": {
"compartmentId": "<compartmentId>"
},
"name": "list_compartment_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartmentId | Yes | Compartment OCID |