oci_kafka_get_oci_cluster_info
Get OCI control plane metadata for a Kafka cluster, including OCID, display name, state, version, and broker shape. Requires cluster ID or environment variable.
Instructions
Get OCI control plane metadata for a Kafka cluster.
Returns the cluster OCID, display name, lifecycle state, Kafka version, broker shape (node count, OCPUs, storage), bootstrap URLs, compartment, and tags.
Args: cluster_id: OCI Kafka cluster OCID (ocid1.kafkacluster.*). Defaults to OCI_CLUSTER_ID environment variable if not provided.
Use this to answer questions like "What is the cluster OCID?", "What is the cluster name?", or "What state is the cluster in?".
If you don't have a cluster_id, first call oci_kafka_list_oci_clusters to discover available clusters and their OCIDs, or ask the user to provide the cluster OCID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |