Skip to content

Snowflake Basic

Snowflake Basic

Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments. With the Snowflake integration in SquadOS, your agents can run SQL queries, list databases and schemas, explore columns, and describe tables directly in your Snowflake account — without leaving the agent workflow.

This tool uses Basic auth (username/password) (BASIC) to connect.

You will need the following fields:

FieldRequiredDescription
usernameYesYour Snowflake account username.
passwordYesYour Snowflake account password.
accountYesYour Snowflake account identifier in the format orgname-accountname (e.g. myorg-myaccount). Found under Admin → Accounts in Snowflake.

See the Composio documentation to confirm the full list of required connection fields.

  1. Go to app.snowflake.com and log in with a user that has query access to the desired data.
  2. To find your account identifier, go to Admin → Accounts and copy the value shown in the Account column. The format is orgname-accountname.
  3. Make sure the user has the necessary privileges (USAGE on the warehouse, database, and schema that will be queried).
  1. Go to Tools in the side menu (/admin/tools).
  2. Open the Available tab and search for Snowflake Basic.
  3. Click the card to open the details modal and hit Connect.
  4. You’re taken to the secure connection page hosted by Composio, where you enter the credentials obtained above.
  5. Once done, you’re sent back to SquadOS with the account connected and the tool available to your agents. (Connection-flow details in Organization Tools.)

SNOWFLAKE_BASIC_DESCRIBE_TABLE

Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.

NameTypeRequiredDescription
databasestringYesThe name of the Snowflake database containing the table.
table_namestringYesThe name of the table to describe.
schema_namestringYesThe name of the schema within the database that contains the table.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

SNOWFLAKE_BASIC_EXPLORE_COLUMNS

Retrieves a sample of distinct values for specified columns from a Snowflake table.

NameTypeRequiredDescription
limitintegerNoThe maximum number of distinct values to return for each specified column.
databasestringYesThe name of the Snowflake database.
table_namestringYesThe name of the table within the specified schema.
schema_namestringYesThe name of the schema within the specified database.
column_namesarrayNoA list of specific column names to explore. If left empty, all columns in the table will be explored.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

SNOWFLAKE_BASIC_RUN_QUERY

Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.

NameTypeRequiredDescription
querystringYesSQL query to execute; runs within the context of the specified database and schema.
databasestringYesName of the Snowflake database.
schema_namestringYesName of the schema within the specified database.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

SNOWFLAKE_BASIC_SHOW_DATABASES

Retrieves a list of all databases available in the Snowflake account.

NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

SNOWFLAKE_BASIC_SHOW_SCHEMAS

Retrieves a list of all schemas within a specified Snowflake database.

NameTypeRequiredDescription
databasestringYesThe name of the database for which to list schemas.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

SNOWFLAKE_BASIC_SHOW_TABLES

Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.

NameTypeRequiredDescription
databasestringYesThe name of the database containing the schema from which to list tables.
schema_namestringYesThe name of the schema within the specified database for which to list tables.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.