Metadata-Version: 2.4
Name: hanzo-tools-fs
Version: 0.3.1
Summary: Filesystem tools for Hanzo AI - read, write, edit, search, find
Author-email: Hanzo Industries Inc <dev@hanzo.ai>
License: MIT
Project-URL: Homepage, https://github.com/hanzoai/python-sdk
Keywords: hanzo,tools,filesystem,mcp,ai
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: hanzo-async>=0.1.0
Requires-Dist: grep-ast>=0.8.1
Requires-Dist: ffind>=1.3.0
Requires-Dist: watchdog>=6.0.0
Requires-Dist: mcp>=1.25.0
Requires-Dist: fastmcp>=2.14.1
Requires-Dist: pydantic>=2.12.5
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: ruff>=0.14.0; extra == "dev"

# hanzo-tools-fs

Filesystem tools for Hanzo MCP.

## Installation

```bash
pip install hanzo-tools-fs
```

## Tools

### read - Read Files
```python
read(file_path="/path/to/file.py")
read(file_path="/path/to/file.py", offset=100, limit=50)
```

### write - Write Files
```python
write(file_path="/path/to/file.py", content="...")
```

### edit - Edit Files
```python
edit(
    file_path="/path/to/file.py",
    old_string="def old():",
    new_string="def new():"
)
```

### tree - Directory Structure
```python
tree(path="/project", depth=3)
```

### find - File Discovery
```python
find(pattern="*.py", path="/project")
```

### search - Content Search
```python
search(pattern="TODO|FIXME", path="./src")
```

### ast - Code Structure
```python
ast(pattern="class.*Service", path="/src")
```

## License

MIT
