Files
python-sdk/pkg/hanzo-tools-fs
zooqueenandHanzo Dev 0834abe2aa style: auto-fix ruff lint and format for Python 3.12
Run ruff check --fix and ruff format across the repo to fix ~495
auto-fixable lint errors (mostly I001 import sorting) and reformat
225 files to match the py312 target.

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-20 21:29:31 -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