--- title: "cloud-sql-get-instance" type: docs weight: 10 description: > Get a Cloud SQL instance resource. --- The `cloud-sql-get-instance` tool retrieves a Cloud SQL instance resource using the Cloud SQL Admin API. {{< notice info >}} This tool uses a `source` of kind `cloud-sql-admin`. The source automatically generates a bearer token on behalf of the user with the `https://www.googleapis.com/auth/sqlservice.admin` scope to authenticate requests. {{< /notice >}} ## Example ```yaml tools: get-sql-instance: kind: cloud-sql-get-instance description: "Get a Cloud SQL instance resource." source: my-cloud-sql-source ``` ## Reference | **field** | **type** | **required** | **description** | | ----------- | :------: | :----------: | ---------------------------------------------------------------------------------------------------------------- | | kind | string | true | Must be "cloud-sql-get-instance". | | description | string | true | A description of the tool. | | source | string | true | The name of the `cloud-sql-admin` source to use. |