# BaseSQLDatabaseTool

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/sql_database/tool/BaseSQLDatabaseTool)

Base tool for interacting with a SQL database.

## Signature

```python
BaseSQLDatabaseTool()
```

## Extends

- `BaseModel`

## Properties

- `db`
- `model_config`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/tools/sql_database/tool.py#L22)