mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-20 21:05:17 +02:00
Merge pull request #2602 from sebastien-rosset/read_multiple_files
Improve documentation for the `read_multiple_files` action
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user