description property

  1. @override
String get description
override

Human-readable description.

Implementation

@override
String get description =>
    'A powerful search tool built on ripgrep.\n\n'
    'Usage:\n'
    '- ALWAYS use Grep for search tasks. NEVER invoke `grep` or `rg` as a Bash command.\n'
    '- Supports full regex syntax (e.g., "log.*Error", "function\\s+\\w+").\n'
    '- Filter files with glob parameter (e.g., "*.js", "**/*.tsx") or type parameter (e.g., "js", "py").\n'
    '- Output modes: "content" shows matching lines, "files_with_matches" shows only file paths (default), '
    '"count" shows match counts.\n'
    '- Use the Agent tool for open-ended searches requiring multiple rounds.\n'
    '- For cross-line patterns, use multiline: true.';