Skip to content

Commit b647cb3

Browse files
Add documentation for the read_multiple_files action.
1 parent 2a4b7b0 commit b647cb3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/filesystem/index.ts

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

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

9497
const WriteFileArgsSchema = z.object({

0 commit comments

Comments
 (0)