cloud-sql-list-databases

List Cloud SQL databases in an instance.

About

The cloud-sql-list-databases tool lists all Cloud SQL databases in a specified Google Cloud project and instance.

Compatible Sources

This tool can be used with the following database sources:

Source Name
Cloud SQL Admin

Parameters

The cloud-sql-list-databases tool has two required parameters:

fieldtyperequireddescription
projectstringtrueThe Google Cloud project ID.
instancestringtrueThe Cloud SQL instance ID.

Example

Here is an example of how to configure the cloud-sql-list-databases tool in your tools.yaml file:

kind: source
name: my-cloud-sql-admin-source
type: cloud-sql-admin
---
kind: tool
name: list_my_databases
type: cloud-sql-list-databases
source: my-cloud-sql-admin-source
description: Use this tool to list all Cloud SQL databases in an instance.

Reference

fieldtyperequireddescription
typestringtrueMust be “cloud-sql-list-databases”.
sourcestringtrueThe name of the cloud-sql-admin source to use for this tool.
descriptionstringfalseDescription of the tool that is passed to the agent.



Last modified March 26, 2026: chore(main): release 0.31.0 (#2814) (c6b811c)