diff options
| author | cperry-goog <[email protected]> | 2025-06-07 10:47:30 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-07 10:47:30 -0700 |
| commit | 63757d6a7ae6dcff47e912578903ed4040b2b82f (patch) | |
| tree | 243f231880d3456ae0c055a9deccf3c23a84c113 /docs/tools/multi-file.md | |
| parent | dcaecde844fd21d101bbb76c41163919373543d2 (diff) | |
docs: update and reorganize documentation (#806)
Diffstat (limited to 'docs/tools/multi-file.md')
| -rw-r--r-- | docs/tools/multi-file.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/tools/multi-file.md b/docs/tools/multi-file.md index 6347a374..9ee66ab7 100644 --- a/docs/tools/multi-file.md +++ b/docs/tools/multi-file.md @@ -11,6 +11,7 @@ This document provides details on the `read_many_files` tool. - `include` (list[string], optional): Additional glob patterns to include. These are merged with `paths` (e.g., `["*.test.ts"]` to specifically add test files if they were broadly excluded, or `["images/*.jpg"]` to include specific image types). - `recursive` (boolean, optional): Whether to search recursively. This is primarily controlled by `**` in glob patterns. Defaults to `true`. - `useDefaultExcludes` (boolean, optional): Whether to apply a list of default exclusion patterns (e.g., `node_modules`, `.git`, non image/pdf binary files). Defaults to `true`. + - `respect_git_ignore` (boolean, optional): Whether to respect .gitignore patterns when finding files. Defaults to true. - **Behavior:** - The tool searches for files matching the provided `paths` and `include` patterns, while respecting `exclude` patterns and default excludes (if enabled). - For text files: it reads the content of each matched file (attempting to skip binary files not explicitly requested as image/PDF) and concatenates it into a single string, with a separator `--- {filePath} ---` between the content of each file. Uses UTF-8 encoding by default. |
