list_compartments
Retrieve a list of compartments within an Oracle Cloud Infrastructure tenancy or parent compartment, with filtering options for subtree and pagination.
Instructions
List compartments under a parent (default: tenancy).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | No | ||
| limit | No | ||
| page | No | ||
| subtree | No |