# EditFileSchema

> **Class** in `deepagents`

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

Input schema for the `edit_file` tool.

## Signature

```python
EditFileSchema()
```

## Extends

- `BaseModel`

## Properties

- `file_path`
- `old_string`
- `new_string`
- `replace_all`

---

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