Home Explore Blog CI



zed

crates/assistant_tools/src/find_path_tool/description.md
5b212f70eb14530404003ea1987766a6ed729525fdc71fea00000003000001d8
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.

Chunks
015dcead (1st chunk of `crates/assistant_tools/src/find_path_tool/description.md`)
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.