# FileSearchTool

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/file_management/file_search/FileSearchTool)

Tool that searches for files in a subdirectory that match a regex pattern.

## Signature

```python
FileSearchTool()
```

## Extends

- `BaseFileToolMixin`
- `BaseTool`

## Properties

- `name`
- `args_schema`
- `description`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/tools/file_management/file_search.py#L29)