FileReadTool
Reads the contents of a file. Supports plain text, source code, images, PDFs, and Jupyter notebooks. Usage pattern:- Plain text and source code (any extension)
- Images (PNG, JPG, GIF, WebP)
- PDFs
- Jupyter notebooks (
.ipynb)
FileWriteTool
Creates a new file or overwrites an existing one with complete content. Usage pattern:FileEditTool
Performs a precise string replacement within a file — replaces an exactoldString with a newString. This is the primary tool for modifying existing code.
Usage pattern:
- Claude reads the target file
- Identifies the exact string to replace
- Substitutes it with the new content
- The replacement must be unique — if the string appears multiple times, Claude uses enough surrounding context to identify the correct instance
GlobTool
Searches for files matching a glob pattern. Returns matching paths sorted by modification time. Usage pattern:NotebookEditTool
Reads and edits Jupyter notebook (.ipynb) files, operating at the cell level.
Usage pattern:
All file operations are logged in the session. Use
/diff to review all changes Claude has made before committing.