# SheetsToolkit

> **Class** in `langchain_google_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-community/sheets/toolkit/SheetsToolkit)

Toolkit for interacting with Google Sheets.

Inherits from [`BaseToolkit`][langchain_core.tools.base.BaseToolkit].

Provides comprehensive Google Sheets integration with read and write capabilities.

!!! warning "Security Note"

    This toolkit contains tools that can read and write data to Google Sheets.
    Ensure proper authentication and access controls.

!!! info "Authentication Requirements"

    - **Read operations**: Require only API key (for public spreadsheets)
    - **Write operations**: Require OAuth2 credentials (`api_resource`)

## Signature

```python
SheetsToolkit()
```

## Extends

- `BaseToolkit`

## Properties

- `api_resource`
- `api_key`
- `model_config`

## Methods

- [`get_tools()`](https://reference.langchain.com/python/langchain-google-community/sheets/toolkit/SheetsToolkit/get_tools)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/a3f016b2a6c4af535df275545f76fa7424aa39e5/libs/community/langchain_google_community/sheets/toolkit.py#L36)