From a9b6bf7101603937ea6196263737cdecdd47f50c Mon Sep 17 00:00:00 2001 From: Leonardo Grigorio <48296347+leonardogrig@users.noreply.github.com> Date: Thu, 18 Dec 2025 15:18:10 -0300 Subject: [PATCH] Add enterprise options to search parameters Introduces an optional 'enterprise' parameter to the search API, allowing users to specify 'zdr' for zero data retention or 'anon' for anonymous mode. Updates documentation to describe these new options. --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index f1de046..5cc33c2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -418,6 +418,7 @@ The query also supports search operators, that you can use if needed to refine t } \`\`\` **Returns:** Array of search results (with optional scraped content). +**Enterprise:** Use \`enterprise: ["zdr"]\` for zero data retention (no logging, 5x credits) or \`["anon"]\` for anonymous mode (no logging). `, parameters: z.object({ query: z.string().min(1), @@ -429,6 +430,7 @@ The query also supports search operators, that you can use if needed to refine t .array(z.object({ type: z.enum(['web', 'images', 'news']) })) .optional(), scrapeOptions: scrapeParamsSchema.omit({ url: true }).partial().optional(), + enterprise: z.array(z.enum(['default', 'anon', 'zdr'])).optional(), }), execute: async ( args: unknown,