# SparkSQLToolkit

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/agent_toolkits/spark_sql/toolkit/SparkSQLToolkit)

Toolkit for interacting with Spark SQL.

## Signature

```python
SparkSQLToolkit()
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `db` | `unknown` | Yes | SparkSQL. The Spark SQL database. |
| `llm` | `unknown` | Yes | BaseLanguageModel. The language model. |

## Extends

- `BaseToolkit`

## Properties

- `db`
- `llm`
- `model_config`

## Methods

- [`get_tools()`](https://reference.langchain.com/python/langchain-community/agent_toolkits/spark_sql/toolkit/SparkSQLToolkit/get_tools)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/agent_toolkits/spark_sql/toolkit.py#L19)