prompt.ts
1 export const TOOL_NAME_FOR_PROMPT = 'GrepTool' 2 3 export const DESCRIPTION = ` 4 - Fast content search tool that works with any codebase size 5 - Searches file contents using regular expressions 6 - Supports full regex syntax (eg. "log.*Error", "function\\s+\\w+", etc.) 7 - Filter files by pattern with the include parameter (eg. "*.js", "*.{ts,tsx}") 8 - Returns matching file paths sorted by modification time 9 - Use this tool when you need to find files containing specific patterns 10 - When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead 11 `