πŸ“„ File detail

tools/GlobTool/prompt.ts

🧩 .tsπŸ“ 8 linesπŸ’Ύ 439 bytesπŸ“ text
← Back to All Files

🎯 Use case

This module implements the β€œGlobTool” tool (Glob) β€” something the model can call at runtime alongside other agent tools. On the API surface it exposes GLOB_TOOL_NAME and DESCRIPTION β€” mainly types, interfaces, or factory objects.

Generated from folder role, exports, dependency roots, and inline comments β€” not hand-reviewed for every path.

🧠 Inline summary

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

πŸ“€ Exports (heuristic)

  • GLOB_TOOL_NAME
  • DESCRIPTION

πŸ–₯️ Source preview

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`