load_diff
Parse and load large diff files with custom chunking settings for specific analysis needs, enabling efficient navigation of changes without loading entire files.
Instructions
Parse and load a diff file with custom chunking settings. Use this tool ONLY when you need non-default settings (custom chunk sizes, filtering patterns). Otherwise, use list_chunks, get_chunk, or find_chunks_for_files which auto-load with optimal defaults. CRITICAL: You must use an absolute directory path - relative paths will fail. The diff file will be too large for direct reading, so you MUST use diffchunk tools for navigation. When using tracking documents for analysis, remember to clean up tracking state before presenting final results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| absolute_file_path | Yes | Absolute path to the diff file to load | |
| max_chunk_lines | No | Maximum lines per chunk | |
| skip_trivial | No | Skip whitespace-only changes | |
| skip_generated | No | Skip generated files and build artifacts | |
| include_patterns | No | Comma-separated glob patterns for files to include | |
| exclude_patterns | No | Comma-separated glob patterns for files to exclude |