File tools give Claude the ability to read and modify any file in your codebase. Every file operation requires your permission on first use unless you’ve set a permissive mode.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/killlowkey/claude-code/llms.txt
Use this file to discover all available pages before exploring further.
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.