# SchemaAnnotationError

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/tools/base/SchemaAnnotationError)

Raised when `args_schema` is missing or has an incorrect type annotation.

## Signature

```python
SchemaAnnotationError()
```

## Extends

- `TypeError`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/1c3a4186cf2ba4f28face59118ac7786de009f91/libs/core/langchain_core/tools/base.py#L90)