cloud-sql-admin-execute-many
less than a minute
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:
| Parameter | Type | Description |
|---|---|---|
project | string | The GCP project ID. |
instanceId | string | The Cloud SQL instance ID. |
database | string | The database name. |
sql | string | The 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
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be “cloud-sql-admin-execute-many”. |
| source | string | true | Name of the cloud-sql-admin source. |
| description | string | true | Description of the tool that is passed to the agent. |
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.