# ExceptionTool

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/agents/agent/ExceptionTool)

Tool that just returns the query.

## Signature

```python
ExceptionTool()
```

## Extends

- `BaseTool`

## Properties

- `name`
- `description`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/42f8f79293cfb7589e5bc1d74a8ae4dfd0bf15e3/libs/langchain/langchain_classic/agents/agent.py#L983)