Skip to content

Commit b11c9e0

Browse files
Add documentation for the read_multiple_files action.
1 parent 9300b5b commit b11c9e0

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
@@ -100,7 +100,10 @@ const ReadFileArgsSchema = z.object({
100100
});
101101

102102
const ReadMultipleFilesArgsSchema = z.object({
103-
paths: z.array(z.string()),
103+
paths: z
104+
.array(z.string())
105+
.min(1, "At least one file path must be provided")
106+
.describe("Array of file paths to read. Each path must be a string pointing to a valid file within allowed directories."),
104107
});
105108

106109
const WriteFileArgsSchema = z.object({

0 commit comments

Comments
 (0)