# langchain_snowflake

> Python package

📖 [View in docs](https://reference.langchain.com/python/langchain-snowflake)

## Classes

- [`SnowflakeCortexSearchRetriever`](https://reference.langchain.com/python/langchain-snowflake/retrievers/SnowflakeCortexSearchRetriever)
- [`SnowflakeValidationUtils`](https://reference.langchain.com/python/langchain-snowflake/_validation_utils/SnowflakeValidationUtils)
- [`MCPToolWrapper`](https://reference.langchain.com/python/langchain-snowflake/mcp_integration/MCPToolWrapper)
- [`SnowflakeErrorHandler`](https://reference.langchain.com/python/langchain-snowflake/_error_handling/SnowflakeErrorHandler)
- [`SnowflakeToolErrorHandler`](https://reference.langchain.com/python/langchain-snowflake/_error_handling/SnowflakeToolErrorHandler)
- [`SnowflakeRestApiErrorHandler`](https://reference.langchain.com/python/langchain-snowflake/_error_handling/SnowflakeRestApiErrorHandler)
- [`CortexSentimentTool`](https://reference.langchain.com/python/langchain-snowflake/tools/cortex_functions/CortexSentimentTool)
- [`CortexSummarizerTool`](https://reference.langchain.com/python/langchain-snowflake/tools/cortex_functions/CortexSummarizerTool)
- [`CortexTranslatorTool`](https://reference.langchain.com/python/langchain-snowflake/tools/cortex_functions/CortexTranslatorTool)
- [`CortexCompleteTool`](https://reference.langchain.com/python/langchain-snowflake/tools/cortex_functions/CortexCompleteTool)
- [`SnowflakeCortexAnalyst`](https://reference.langchain.com/python/langchain-snowflake/tools/analyst/SnowflakeCortexAnalyst)
- [`SnowflakeToolResponse`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/SnowflakeToolResponse)
- [`SnowflakeCortexAnalystOutput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/SnowflakeCortexAnalystOutput)
- [`SnowflakeQueryOutput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/SnowflakeQueryOutput)
- [`CortexSentimentOutput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexSentimentOutput)
- [`CortexSummarizerOutput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexSummarizerOutput)
- [`CortexTranslatorOutput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexTranslatorOutput)
- [`CortexCompleteOutput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexCompleteOutput)
- [`SnowflakeCortexAnalystInput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/SnowflakeCortexAnalystInput)
- [`SnowflakeQueryInput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/SnowflakeQueryInput)
- [`CortexSentimentInput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexSentimentInput)
- [`CortexSummarizerInput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexSummarizerInput)
- [`CortexTranslatorInput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexTranslatorInput)
- [`CortexCompleteInput`](https://reference.langchain.com/python/langchain-snowflake/tools/_base/CortexCompleteInput)
- [`SnowflakeQueryTool`](https://reference.langchain.com/python/langchain-snowflake/tools/query/SnowflakeQueryTool)
- [`SnowflakeCortexAgent`](https://reference.langchain.com/python/langchain-snowflake/agents/base/SnowflakeCortexAgent)
- [`ThreadManagement`](https://reference.langchain.com/python/langchain-snowflake/agents/threads/ThreadManagement)
- [`AgentInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentInput)
- [`AgentOutput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentOutput)
- [`FeedbackInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/FeedbackInput)
- [`AgentUsageMetadata`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentUsageMetadata)
- [`AgentProfile`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentProfile)
- [`AgentInstructions`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentInstructions)
- [`BudgetConfig`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/BudgetConfig)
- [`OrchestrationConfig`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/OrchestrationConfig)
- [`ModelConfig`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/ModelConfig)
- [`ToolSpec`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/ToolSpec)
- [`Tool`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/Tool)
- [`ToolResource`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/ToolResource)
- [`AgentCreateInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentCreateInput)
- [`AgentUpdateInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/AgentUpdateInput)
- [`RunMessage`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/RunMessage)
- [`RunInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/RunInput)
- [`RunOutput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/RunOutput)
- [`EnhancedAgentInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/EnhancedAgentInput)
- [`ThreadUpdateInput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/ThreadUpdateInput)
- [`FeedbackOutput`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/FeedbackOutput)
- [`StreamingMetadata`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/StreamingMetadata)
- [`StreamingChunk`](https://reference.langchain.com/python/langchain-snowflake/agents/schemas/StreamingChunk)
- [`FeedbackManagement`](https://reference.langchain.com/python/langchain-snowflake/agents/feedback/FeedbackManagement)
- [`AgentManagement`](https://reference.langchain.com/python/langchain-snowflake/agents/management/AgentManagement)
- [`RunManagement`](https://reference.langchain.com/python/langchain-snowflake/agents/runs/RunManagement)
- [`SqlExecutionClient`](https://reference.langchain.com/python/langchain-snowflake/_connection/sql_client/SqlExecutionClient)
- [`SnowflakeConnectionMixin`](https://reference.langchain.com/python/langchain-snowflake/_connection/base/SnowflakeConnectionMixin)
- [`SnowflakeAuthUtils`](https://reference.langchain.com/python/langchain-snowflake/_connection/auth_utils/SnowflakeAuthUtils)
- [`RestApiClient`](https://reference.langchain.com/python/langchain-snowflake/_connection/rest_client/RestApiClient)
- [`RestApiRequestBuilder`](https://reference.langchain.com/python/langchain-snowflake/_connection/rest_client/RestApiRequestBuilder)
- [`SnowflakeSessionManager`](https://reference.langchain.com/python/langchain-snowflake/_connection/session_manager/SnowflakeSessionManager)
- [`ChatSnowflake`](https://reference.langchain.com/python/langchain-snowflake/chat_models/base/ChatSnowflake)
- [`SnowflakeAuth`](https://reference.langchain.com/python/langchain-snowflake/chat_models/auth/SnowflakeAuth)
- [`SnowflakeUtils`](https://reference.langchain.com/python/langchain-snowflake/chat_models/utils/SnowflakeUtils)
- [`SnowflakeMetadataFactory`](https://reference.langchain.com/python/langchain-snowflake/chat_models/utils/SnowflakeMetadataFactory)
- [`SnowflakeStreaming`](https://reference.langchain.com/python/langchain-snowflake/chat_models/streaming/SnowflakeStreaming)
- [`SnowflakeTools`](https://reference.langchain.com/python/langchain-snowflake/chat_models/tools/SnowflakeTools)
- [`SnowflakeStructuredOutput`](https://reference.langchain.com/python/langchain-snowflake/chat_models/structured_output/SnowflakeStructuredOutput)

## Functions

- [`create_session_from_env()`](https://reference.langchain.com/python/langchain-snowflake/create_session_from_env)
- [`create_session_from_connection_string()`](https://reference.langchain.com/python/langchain-snowflake/create_session_from_connection_string)
- [`create_session_from_pat()`](https://reference.langchain.com/python/langchain-snowflake/create_session_from_pat)
- [`create_session_from_key_pair()`](https://reference.langchain.com/python/langchain-snowflake/create_session_from_key_pair)
- [`get_default_session()`](https://reference.langchain.com/python/langchain-snowflake/get_default_session)
- [`format_cortex_search_documents()`](https://reference.langchain.com/python/langchain-snowflake/formatters/format_cortex_search_documents)
- [`create_langchain_tool_from_mcp()`](https://reference.langchain.com/python/langchain-snowflake/mcp_integration/create_langchain_tool_from_mcp)
- [`filter_compatible_mcp_tools()`](https://reference.langchain.com/python/langchain-snowflake/mcp_integration/filter_compatible_mcp_tools)
- [`bind_mcp_tools()`](https://reference.langchain.com/python/langchain-snowflake/mcp_integration/bind_mcp_tools)
