Merge pull request #2602 from sebastien-rosset/read_multiple_files
Improve documentation for the `read_multiple_files` action
This commit is contained in:
commit
338d8af7a6
1 changed files with 4 additions and 1 deletions
|
|
@ -88,7 +88,10 @@ const ReadMediaFileArgsSchema = z.object({
|
||||||
});
|
});
|
||||||
|
|
||||||
const ReadMultipleFilesArgsSchema = 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({
|
const WriteFileArgsSchema = z.object({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue