mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
- Update docs/mcp/tools/ placeholders with quick refs and links - Create docs/ref/tools/index.md with full package table - Create docs/ref/agent/index.md with topic links - Create docs/ref/mcp/index.md with tool categories - Create docs/tools/index.md as main entry point - Add consistent cross-references between sections
625 B
625 B
Filesystem Tools
File operations with AST analysis.
→ Full documentation: ../../tools/fs.md
Quick Reference
# Read file
read(file_path="/path/to/file.py")
# Write file
write(file_path="/path/to/file.py", content="...")
# Edit file
edit(file_path="/path/to/file.py", old_string="old", new_string="new")
# Directory tree
tree(path="/project", depth=3)
# Find files
find(pattern="*.py", path="/src")
# Search content
search(pattern="TODO", path=".")
# AST analysis
ast(pattern="def test_", path="/tests")
7 tools: read, write, edit, tree, find, search, ast