Add documentation for the read_multiple_files action.

This commit is contained in:
Sebastien Rosset (serosset)
2025-08-22 10:59:29 -07:00
committed by Sebastien Rosset
parent 2a4b7b0649
commit b647cb3019

View File

@@ -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({