mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-26 11:49:36 +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
33 lines
625 B
Markdown
33 lines
625 B
Markdown
# Filesystem Tools
|
|
|
|
File operations with AST analysis.
|
|
|
|
→ **Full documentation: [../../tools/fs.md](../../tools/fs.md)**
|
|
|
|
## Quick Reference
|
|
|
|
```python
|
|
# 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`
|