From b647cb3019f8c0fe33818cd88ec623b21f8b42bf Mon Sep 17 00:00:00 2001 From: "Sebastien Rosset (serosset)" Date: Fri, 22 Aug 2025 10:59:29 -0700 Subject: [PATCH] Add documentation for the read_multiple_files action. --- src/filesystem/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/filesystem/index.ts b/src/filesystem/index.ts index d732c4d2a6..7888196285 100644 --- a/src/filesystem/index.ts +++ b/src/filesystem/index.ts @@ -88,7 +88,10 @@ const ReadMediaFileArgsSchema = z.object({ }); const ReadMultipleFilesArgsSchema = z.object({ - paths: z.array(z.string()), + paths: z + .array(z.string()) + .min(1, "At least one file path must be provided") + .describe("Array of file paths to read. Each path must be a string pointing to a valid file within allowed directories."), }); const WriteFileArgsSchema = z.object({