Skip to content

Commit 811474e

Browse files
chore: revert export changes
1 parent bca4bbe commit 811474e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tools/mongodb/read/export.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ export class ExportTool extends MongoDBToolBase {
2121
name: z
2222
.literal("find")
2323
.describe("The literal name 'find' to represent a find cursor as target."),
24-
arguments: z.object(FindArgs).describe("The arguments for 'find' operation."),
24+
arguments: z
25+
.object({
26+
...FindArgs,
27+
limit: FindArgs.limit.removeDefault(),
28+
})
29+
.describe("The arguments for 'find' operation."),
2530
}),
2631
z.object({
2732
name: z

0 commit comments

Comments
 (0)