# GrepSchema

> **Class** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/middleware/filesystem/GrepSchema)

Input schema for the `grep` tool.

## Signature

```python
GrepSchema()
```

## Extends

- `BaseModel`

## Properties

- `pattern`
- `path`
- `glob`
- `output_mode`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a9e6e4f7ad7fe161dd9affc3d74bb19784aca70b/libs/deepagents/deepagents/middleware/filesystem.py#L167)