description property

  1. @override
String get description
override

Human-readable description.

Implementation

@override
String get description =>
    'Performs exact string replacements in files.\n\n'
    'Usage:\n'
    '- You must use the Read tool at least once before editing a file. '
    'This tool will error if you attempt an edit without reading the file first.\n'
    '- When editing text from Read tool output, preserve the exact indentation (tabs/spaces). '
    'Never include line number prefixes in old_string or new_string.\n'
    '- ALWAYS prefer editing existing files. NEVER write new files unless explicitly required.\n'
    '- The edit will FAIL if old_string is not unique in the file. Provide more surrounding '
    'context to make it unique, or use replace_all to change every instance.\n'
    '- Use replace_all for renaming variables or strings across the file.';