# OpenAPIToolkit

> **Class** in `langchain_community`

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

Toolkit for interacting with an OpenAPI API.

*Security Note*: This toolkit contains tools that can read and modify
    the state of a service; e.g., by creating, deleting, or updating,
    reading underlying data.

    For example, this toolkit can be used to delete data exposed via
    an OpenAPI compliant API.

## Signature

```python
OpenAPIToolkit()
```

## Extends

- `BaseToolkit`

## Properties

- `json_agent`
- `requests_wrapper`
- `allow_dangerous_requests`

## Methods

- [`get_tools()`](https://reference.langchain.com/python/langchain-community/agent_toolkits/openapi/toolkit/OpenAPIToolkit/get_tools)
- [`from_llm()`](https://reference.langchain.com/python/langchain-community/agent_toolkits/openapi/toolkit/OpenAPIToolkit/from_llm)

---

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