Files
python-sdk/pkg/hanzo-tools-fs
zooqueenandHanzo Dev 3e974c1135 fix(lint): resolve all ruff + black errors across all packages
Fix 35 ruff errors (E722, F841, B904, B905, B007, E741, S202, S310,
S306, S110, TID251, UP042, F401) and run black on 526 files.

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-21 23:32:32 -08:00
..
2025-12-27 15:00:11 -08:00

hanzo-tools-fs

Filesystem tools for Hanzo MCP.

Installation

pip install hanzo-tools-fs

Tools

read - Read Files

read(file_path="/path/to/file.py")
read(file_path="/path/to/file.py", offset=100, limit=50)

write - Write Files

write(file_path="/path/to/file.py", content="...")

edit - Edit Files

edit(
    file_path="/path/to/file.py",
    old_string="def old():",
    new_string="def new():"
)

tree - Directory Structure

tree(path="/project", depth=3)

find - File Discovery

find(pattern="*.py", path="/project")
search(pattern="TODO|FIXME", path="./src")

ast - Code Structure

ast(pattern="class.*Service", path="/src")

License

MIT