π 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_NAMEDESCRIPTION
π₯οΈ 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`