Files
letta-code/src/tools/descriptions/Glob.md
2025-11-01 02:04:37 -07:00

637 B

Glob

  • 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
  • You have the capability to call multiple tools in a single response. It is always better to speculatively perform multiple searches as a batch that are potentially useful.
  • If more than 2,000 files match the pattern, only the first 2,000 will be returned