Files
python-sdk/docs/mcp/tools/filesystem.md
T
zeekay 2a8255df59 docs: improve DX with navigation and cross-references
- 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
2026-01-05 17:45:00 -08:00

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`