diff options
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. |
