# InvalidTool

> **Class** in `langchain_classic`

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

Tool that is run when invalid tool name is encountered by agent.

## Signature

```python
InvalidTool()
```

## Extends

- `BaseTool`

## Properties

- `name`
- `description`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/02991cb4cf2063d51a07268edafb05fe53de1826/libs/langchain/langchain_classic/agents/tools.py#L11)