Expand description
File operation tools with composable functionality.
This module provides the FileOpsTool for file discovery and listing operations,
along with supporting utilities for diff previews and path helpers.
Structs§
- File
OpsTool - File operations tool with multiple modes
Functions§
- build_
diff_ preview - Build a unified diff preview between before and after content.
- diff_
preview_ error_ skip - Create a diff preview response when an error prevents diff generation.
- diff_
preview_ size_ skip - Create a diff preview response when content exceeds the size limit.
- diff_
preview_ suppressed - Create a diff preview response when inline diffs are suppressed due to too many changes.
- is_
image_ path - Check whether a path looks like an image file based on extension.