Home Explore Blog CI



zed

1st chunk of `crates/assistant_tools/src/find_path_tool/description.md`
015dceadce2ddbc00048bd10cba47a3971cfe9a7e75064a900000001000001d8
Fast file path pattern matching tool that works with any codebase size

- Supports glob patterns like "**/*.js" or "src/**/*.ts"
- Returns matching file paths sorted alphabetically
- Prefer the `grep` tool to this tool when searching for symbols unless you have specific information about paths.
- Use this tool when you need to find files by name patterns
- Results are paginated with 50 matches per page. Use the optional 'offset' parameter to request subsequent pages.

Title: File Path Pattern Matching Tool
Summary
This tool efficiently finds file paths matching glob patterns (e.g., `**/*.js`) within a codebase of any size. It returns alphabetically sorted, paginated results (50 matches per page, adjustable with the 'offset' parameter). It's recommended for file name pattern searches, while `grep` is better for symbol searches unless you have path information.