pub const GLOB_ABSOLUTE: &str = "Fast file pattern matching tool that works with any codebase size.\n\n- Supports glob patterns like \"**/*.js\" or \"src/**/*.ts\"\n- Returns matching file paths sorted by modification time (newest first)\n- Respects .gitignore rules\n- Use this tool when you need to find files by name patterns\n- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead\n\n### Parameters\n\n- `pattern`: Glob pattern to match files against (required)\n - `*` matches any characters except path separators\n - `**` matches any characters including path separators (recursive)\n - `?` matches a single character\n - `[abc]` matches any character in the brackets\n - `{a,b}` matches either pattern\n- `path`: Absolute directory path to search in (required)\n\n### When to Use This Tool\n\n- Finding files by extension: `**/*.rs`, `**/*.tsx`\n- Finding files by name pattern: `**/test_*.py`, `**/*_spec.js`\n- Locating configuration files: `**/Cargo.toml`, `**/package.json`\n- Finding files in specific directories: `src/**/*.rs`\n\n### When NOT to Use This Tool\n\n- Searching for content inside files - use Grep instead\n- Reading file contents - use Read instead\n- Complex multi-step searches - use Task tool instead\n\n### Examples\n\nFind all Rust files:\n```\npattern: \"**/*.rs\"\npath: \"/home/user/project\"\n```\n\nFind all test files:\n```\npattern: \"**/test_*.py\"\npath: \"/home/user/project\"\n```\n\nFind TypeScript and TSX files:\n```\npattern: \"**/*.{ts,tsx}\"\npath: \"/home/user/project/src\"\n```\n\nFind Cargo.toml files anywhere:\n```\npattern: \"**/Cargo.toml\"\npath: \"/home/user/project\"\n```\n\n### Best Practices\n\n1. You can call multiple tools in a single response. It is always better to speculatively perform multiple searches as a batch that are potentially useful.\n2. Start with broader patterns and narrow down if needed\n3. Use `**` for recursive searches across all subdirectories\n4. Combine with Read tool to examine found files\n5. Results are sorted by modification time - most recently changed files appear first\n";Expand description
Glob tool context for absolute path mode.