execute_snowflake_sql_query
Execute SQL queries on Snowflake data warehouses to retrieve, analyze, or modify data. Supports custom database, schema, and warehouse configurations for targeted operations.
Instructions
Execute any SQL query on Snowflake.
⚠️ SECURITY WARNING: This tool executes raw SQL queries on your Snowflake instance.
Ensure proper user permissions and network security. Consider query restrictions
for production environments.
Args:
query: The SQL query to execute (required)
database: Override the default database (optional)
schema: Override the default schema (optional)
warehouse: Override the default warehouse (optional)
Returns:
Formatted string containing query results or error message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| database | No | ||
| schema | No | ||
| warehouse | No |