list_buckets
Retrieve all Object Storage buckets in a specified OCI compartment to manage storage resources and configurations.
Instructions
List all Object Storage buckets in a compartment.
Args:
compartment_id: OCID of the compartment to list buckets from
namespace: Optional namespace (if not provided, will be fetched automatically)
Returns:
List of buckets with their configurations and metadata
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_buckets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| namespace | No |