mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
814 B
814 B
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 - Content Search
search(pattern="TODO|FIXME", path="./src")
ast - Code Structure
ast(pattern="class.*Service", path="/src")
License
MIT