diff options
| author | Olcan <[email protected]> | 2025-04-24 12:15:49 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-24 12:15:49 -0700 |
| commit | d97d2a4f7b239c4f30d8f44bcdad23923b7a6161 (patch) | |
| tree | 08e6389ebfd0b032fe6d9d0221befcd2ad23ff4d | |
| parent | 19ed2ed6305aa12d260a569eec4837d3ccf56f17 (diff) | |
rename read_many_files (#153)
| -rw-r--r-- | packages/server/src/tools/read-many-files.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/server/src/tools/read-many-files.ts b/packages/server/src/tools/read-many-files.ts index eb06d35a..3060a11b 100644 --- a/packages/server/src/tools/read-many-files.ts +++ b/packages/server/src/tools/read-many-files.ts @@ -115,7 +115,7 @@ export class ReadManyFilesTool extends BaseTool< ReadManyFilesParams, ToolResult > { - static readonly Name: string = 'readManyFiles'; + static readonly Name: string = 'read_many_files'; readonly targetDir: string; /** @@ -165,7 +165,7 @@ export class ReadManyFilesTool extends BaseTool< super( ReadManyFilesTool.Name, - 'Read Many Files', + 'ReadManyFiles', `Reads content from multiple text files specified by paths or glob patterns within a configured target directory and concatenates them into a single string. This tool is useful when you need to understand or analyze a collection of files, such as: - Getting an overview of a codebase or parts of it (e.g., all TypeScript files in the 'src' directory). @@ -345,7 +345,7 @@ Default excludes apply to common non-text files and large dependency directories } } - let displayMessage = `### Read Many Files Result (Target Dir: \`${this.targetDir}\`)\n\n`; + let displayMessage = `### ReadManyFiles Result (Target Dir: \`${this.targetDir}\`)\n\n`; if (processedFilesRelativePaths.length > 0) { displayMessage += `Successfully read and concatenated content from **${processedFilesRelativePaths.length} file(s)**.\n`; displayMessage += `\n**Processed Files (up to 10 shown):**\n`; |
