Files
claude-code-mirror/claude-code源码-中文注释/src/tools/GlobTool/prompt.ts
2026-04-03 13:01:19 +08:00

8 lines
439 B
TypeScript

export const GLOB_TOOL_NAME = 'Glob'
export const DESCRIPTION = `- Fast file pattern matching tool that works with any codebase size
- Supports glob patterns like "**/*.js" or "src/**/*.ts"
- Returns matching file paths sorted by modification time
- Use this tool when you need to find files by name patterns
- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead`