get_file_diff
Extract the complete diff for a single file from a loaded diff. Get all changes for one file without fetching the entire chunk.
Instructions
Extract the complete diff for a single file from a loaded diff. Returns the diff --git header and all hunks for that file. Use this when you need changes for one specific file without fetching the entire chunk. Auto-loads the diff file if not already loaded. Supports exact file paths or glob patterns that match exactly one file. Use list_chunks with file_details to see per-file line counts and decide whether to use this tool or get_chunk. CRITICAL: You must use an absolute directory path - relative paths will fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Exact file path or glob pattern matching a single file within the diff (e.g., 'src/main.py', '*.config') | |
| absolute_file_path | Yes | Absolute path to the diff file |