u
This commit is contained in:
@@ -59,6 +59,7 @@ ${dirSection}
|
||||
## Available Tools & Guidelines
|
||||
- \`read_file(filename, seek, limit)\`: Inspect file contents and line numbers before modifying them.
|
||||
- \`list_files(dirname, recursive, seek, limit)\`: Explore workspace folders (respects .gitignore).
|
||||
- \`ripgrep(pattern, path, glob, ignore_case, literal, max_results)\`: Search file contents (regex by default) across the workspace; respects .gitignore and skips binary files. Returns matches with 0-indexed line numbers (usable directly as read_file's seek).
|
||||
- \`patch(operations)\`: Apply file updates or create files.
|
||||
- Create or overwrite: \`{"file": "path", "search": null, "replace": "content"}\` (parent directories auto-created).
|
||||
- Search & replace: \`{"file": "path", "search": "exact old text", "replace": "new text"}\`. Replaces the FIRST match.
|
||||
|
||||
Reference in New Issue
Block a user