Files
googleapis--mcp-toolbox/docs/en/integrations/cloud-sql-admin/tools/cloudsqlmysqlcreateinstance.md
T
wehub-resource-sync e04ed9c211
CF: Deploy Dev Docs / deploy (push) Has been cancelled
Sync Labels / build (push) Has been cancelled
tests / unit tests (macos-latest) (push) Has been cancelled
tests / unit tests (windows-latest) (push) Has been cancelled
tests / unit tests (ubuntu-latest) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:32:45 +08:00

2.8 KiB

title, type, weight, description
title type weight description
cloud-sql-mysql-create-instance docs 2 Create a Cloud SQL for MySQL instance.

About

The cloud-sql-mysql-create-instance tool creates a new Cloud SQL for MySQL instance in a specified Google Cloud project.

Compatible Sources

{{< compatible-sources >}}

Parameters

The cloud-sql-mysql-create-instance tool has the following parameters:

field type required description
project string true The Google Cloud project ID.
name string true The name of the instance to create.
databaseVersion string false The database version for MySQL. If not specified, defaults to the latest available version (e.g., MYSQL_8_4).
rootPassword string true The root password for the instance.
editionPreset string false The edition of the instance. Can be Production or Development. Defaults to Development.

Example

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

kind: source
name: my-cloud-sql-admin-source
type: cloud-sql-admin
---
kind: tool
name: create_my_mysql_instance
type: cloud-sql-mysql-create-instance
source: my-cloud-sql-admin-source
description: "Creates a MySQL instance using `Production` and `Development` presets. For the `Development` template, it chooses a 2 vCPU, 16 GiB RAM, 100 GiB SSD configuration with Non-HA/zonal availability. For the `Production` template, it chooses an 8 vCPU, 64 GiB RAM, 250 GiB SSD configuration with HA/regional availability. The Enterprise Plus edition is used in both cases. The default database version is `MYSQL_8_4`. The agent should ask the user if they want to use a different version."

Reference

field type required description
type string true Must be cloud-sql-mysql-create-instance.
source string true The name of the cloud-sql-admin source to use for this tool.
description string false A description of the tool that is passed to the agent.