cloud-sql-admin-execute-many

A “cloud-sql-admin-execute-many” tool executes multiple SQL statements against a specific Cloud SQL instance provided at runtime.

About

The cloud-sql-admin-execute-many tool executes multiple SQL statements against a specific Cloud SQL instance identified by project, instanceId, and database parameters provided at runtime.

This tool is useful for executing arbitrary SQL queries across multiple database instances without needing to configure a separate tool for each instance.

Note: This tool is intended for developer assistant workflows with human-in-the-loop and shouldn’t be used for production agents.

Compatible Sources

This tool can be used with the following database sources:

Source Name
Cloud SQL Admin Source

Parameters

The following parameters are required at runtime when invoking the tool:

ParameterTypeDescription
projectstringThe GCP project ID.
instanceIdstringThe Cloud SQL instance ID.
databasestringThe database name.
sqlstringThe SQL statement to execute.

Example

kind: tool
name: execute_sql_many_tool
type: cloud-sql-admin-execute-many
source: my-cloud-sql-admin-source
description: Use this tool to execute sql statements on a specific instance.

Reference

fieldtyperequireddescription
typestringtrueMust be “cloud-sql-admin-execute-many”.
sourcestringtrueName of the cloud-sql-admin source.
descriptionstringtrueDescription of the tool that is passed to the agent.