Skip to content

Commit fbec84b

Browse files
Add documentation for the read_multiple_files action.
1 parent 60eb7c2 commit fbec84b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/filesystem/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ const ReadMediaFileArgsSchema = z.object({
8787
});
8888

8989
const ReadMultipleFilesArgsSchema = z.object({
90-
paths: z.array(z.string()),
90+
paths: z
91+
.array(z.string())
92+
.min(1, "At least one file path must be provided")
93+
.describe("Array of file paths to read. Each path must be a string pointing to a valid file within allowed directories."),
9194
});
9295

9396
const WriteFileArgsSchema = z.object({

0 commit comments

Comments
 (0)