Back to Genai Toolbox

cloud-sql-create-database

docs/en/integrations/cloud-sql-admin/tools/cloudsqlcreatedatabase.md

1.1.01.4 KB
Original Source

About

The cloud-sql-create-database tool creates a new database in a specified Cloud SQL instance.

Compatible Sources

{{< compatible-sources >}}

Parameters

parametertyperequireddescription
projectstringtrueThe project ID.
instancestringtrueThe ID of the instance where the database will be created.
namestringtrueThe name for the new database. Must be unique within the instance.

Example

yaml
kind: tool
name: create-cloud-sql-database
type: cloud-sql-create-database
source: my-cloud-sql-admin-source
description: "Creates a new database in a Cloud SQL instance."

Reference

fieldtyperequireddescription
typestringtrueMust be "cloud-sql-create-database".
sourcestringtrueThe name of the cloud-sql-admin source to use.
descriptionstringfalseA description of the tool.