Matt
04/14/2026, 6:12 PMor blocks, when you do something like BAML type AgentAction = ReplyToUser | ReadFile | Glob...
## Glob
**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
**Parameters:**
- `pattern` (string, required): The glob pattern to match files against
- `path` (string, optional): The directory to search in. If not specified, the current working directory will be used.Vaibhav (BAML 🐑)
04/15/2026, 2:51 PMVaibhav (BAML 🐑)
04/15/2026, 2:52 PMVaibhav (BAML 🐑)
04/15/2026, 2:52 PMVaibhav (BAML 🐑)
04/15/2026, 2:53 PMVaibhav (BAML 🐑)
04/15/2026, 2:53 PMVaibhav (BAML 🐑)
04/15/2026, 2:53 PMhoist_classes option, so that helps some cases since you can just hosit some names upMatt
04/15/2026, 5:06 PMMatt
04/15/2026, 5:13 PM