cloud-sql-list-instances Tool
List Cloud SQL instances in a project.
less than a minute
About
The cloud-sql-list-instances tool lists all Cloud SQL instances in a specified
Google Cloud project.
Compatible Sources
This tool can be used with the following database sources:
| Source Name |
|---|
| Cloud SQL Admin Source |
Parameters
The cloud-sql-list-instances tool has one required parameter:
| field | type | required | description |
|---|---|---|---|
| project | string | true | The Google Cloud project ID. |
Example
Here is an example of how to configure the cloud-sql-list-instances tool in
your tools.yaml file:
kind: sources
name: my-cloud-sql-admin-source
type: cloud-sql-admin
---
kind: tools
name: list_my_instances
type: cloud-sql-list-instances
source: my-cloud-sql-admin-source
description: Use this tool to list all Cloud SQL instances in a project.
Reference
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be “cloud-sql-list-instances”. |
| description | string | false | Description of the tool that is passed to the agent. |
| source | string | true | The name of the cloud-sql-admin source to use for this tool. |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.