@keystrokehq/serpapi 0.0.15 → 0.0.16-integration-id-canonicalization.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,2767 +1,4 @@
1
- import { n as serpApiBundle, r as serpApiOfficialIntegration, t as serpApi } from "./integration-bOOYwziK.mjs";
2
- import { z } from "zod";
3
- import { getAccount, getJson, getJsonBySearchId, getLocations } from "serpapi";
4
- import { createOfficialOperationFactory } from "@keystrokehq/integration-authoring/official";
1
+ import { t as serpApiCredentialSet } from "./serpapi.credential-set-CuEBudaA.mjs";
2
+ import { $ as googlePatentsOperation, $t as appleProductOperation, A as googleVideosLightOperation, At as googleAutocompleteOperation, B as googleSearchOperation, Bt as duckduckgoMapsOperation, C as opentableReviewsOperation, Ct as googleHotelsOperation, D as homeDepotSearchOperation, Dt as googleFinanceMarketsOperation, E as serpApiLocationsOperation, Et as googleFlightsOperation, F as googleTrendsOperation, Ft as ebaySearchOperation, G as googleReverseImageOperation, Gt as bingSearchOperation, H as googleScholarCiteOperation, Ht as braveAiModeOperation, I as googleTravelExploreOperation, It as ebayProductOperation, J as googlePlayMoviesOperation, Jt as bingMapsOperation, K as googleRelatedQuestionsOperation, Kt as bingReverseImageOperation, L as googleShortVideosOperation, Lt as duckduckgoSearchAssistOperation, M as googleTrendsTrendingNowOperation, Mt as googleAiModeOperation, N as googleTrendsNewsOperation, Nt as googleAdsTransparencyOperation, O as homeDepotProductReviewsOperation, Ot as googleFinanceOperation, P as googleTrendsAutocompleteOperation, Pt as facebookProfileOperation, Q as googlePatentsDetailsOperation, Qt as appleReviewsOperation, R as googleShoppingLightOperation, Rt as duckduckgoSearchOperation, S as serpApiSearchArchiveOperation, St as googleHotelsAutocompleteOperation, T as naverAiOverviewOperation, Tt as googleFlightsAutocompleteOperation, U as googleScholarAuthorOperation, Ut as bingVideosOperation, V as googleScholarProfilesOperation, Vt as duckduckgoLightOperation, W as googleScholarOperation, Wt as bingShoppingOperation, X as googlePlayBooksOperation, Xt as bingCopilotOperation, Y as googlePlayGamesOperation, Yt as bingImagesOperation, Z as googlePlayOperation, Zt as baiduSearchOperation, _ as walmartProductOperation, _t as googleImagesRelatedOperation, a as yelpReviewsOperation, at as googleMapsPhotoMetaOperation, b as tripadvisorPlaceOperation, bt as googleHotelsReviewsOperation, c as yandexSearchOperation, ct as googleMapsAutocompleteOperation, d as yahooShoppingOperation, dt as googleLocalOperation, en as appleAppStoreOperation, et as googleNewsLightOperation, f as yahooSearchOperation, ft as googleLightSearchOperation, g as walmartProductReviewsOperation, gt as googleImmersiveProductOperation, h as walmartProductSellersOperation, ht as googleJobsOperation, i as yelpSearchOperation, it as googleMapsPhotosOperation, j as googleVideosOperation, jt as googleAiOverviewOperation, k as homeDepotProductOperation, kt as googleEventsOperation, l as yandexImagesOperation, lt as googleMapsOperation, m as walmartSearchOperation, mt as googleJobsListingOperation, n as youtubeVideoOperation, nn as amazonProductOperation, nt as googleMapsReviewsOperation, o as yelpPlaceOperation, ot as googleMapsDirectionsOperation, p as yahooImagesOperation, pt as googleLensOperation, q as googlePlayProductOperation, qt as bingNewsOperation, r as youtubeSearchOperation, rn as serpApiAccountOperation, rt as googleMapsPostsOperation, s as yandexVideosOperation, st as googleMapsContributorReviewsOperation, t as youtubeVideoTranscriptOperation, tn as amazonSearchOperation, tt as googleNewsOperation, u as yahooVideosOperation, ut as googleLocalServicesOperation, v as tripadvisorSearchOperation, vt as googleImagesLightOperation, w as naverSearchOperation, wt as googleForumsOperation, x as serpApiSearchIndexOperation, xt as googleHotelsPhotosOperation, y as tripadvisorReviewsOperation, yt as googleImagesOperation, z as googleShoppingOperation, zt as duckduckgoNewsOperation } from "./youtube-video-transcript.operation-BoQHn90s.mjs";
5
3
 
6
- //#region src/client.ts
7
- async function serpApiSearch(credentials, engine, params) {
8
- return await getJson({
9
- engine,
10
- api_key: credentials.SERPAPI_API_KEY,
11
- ...params
12
- });
13
- }
14
- async function serpApiGetAccount(credentials) {
15
- return await getAccount({ api_key: credentials.SERPAPI_API_KEY });
16
- }
17
- async function serpApiGetLocations(params = {}) {
18
- return await getLocations(params);
19
- }
20
-
21
- //#endregion
22
- //#region src/factory.ts
23
- const serpApiOperation = createOfficialOperationFactory(serpApi);
24
-
25
- //#endregion
26
- //#region src/amazon/product.ts
27
- const amazonProduct = serpApiOperation({
28
- id: "serpapi.amazon-product",
29
- name: "Amazon Product",
30
- description: "Get Amazon product details via SerpApi",
31
- input: z.object({
32
- product_id: z.string(),
33
- amazon_domain: z.string().optional(),
34
- offers_page_token: z.string().optional()
35
- }),
36
- output: z.object({
37
- search_metadata: z.record(z.string(), z.unknown()).optional(),
38
- search_parameters: z.record(z.string(), z.unknown()).optional(),
39
- product_results: z.record(z.string(), z.unknown()).optional(),
40
- about_item: z.array(z.record(z.string(), z.unknown())).optional(),
41
- bought_together: z.array(z.record(z.string(), z.unknown())).optional(),
42
- compare_with_similar: z.array(z.record(z.string(), z.unknown())).optional(),
43
- product_description: z.string().optional(),
44
- product_details: z.record(z.string(), z.unknown()).optional()
45
- }).passthrough(),
46
- run: async (input, credentials) => {
47
- return await serpApiSearch(credentials, "amazon_product", input);
48
- }
49
- });
50
- const amazonProductTool = amazonProduct;
51
-
52
- //#endregion
53
- //#region src/amazon/search.ts
54
- const amazonSearch = serpApiOperation({
55
- id: "serpapi.amazon-search",
56
- name: "Amazon Search",
57
- description: "Search Amazon via SerpApi",
58
- input: z.object({
59
- k: z.string(),
60
- amazon_domain: z.string().optional(),
61
- department_id: z.string().optional(),
62
- sort_by: z.string().optional(),
63
- price_low: z.number().optional(),
64
- price_high: z.number().optional(),
65
- page: z.number().optional(),
66
- star_rating: z.string().optional(),
67
- delivery: z.string().optional(),
68
- condition: z.string().optional(),
69
- brand: z.string().optional(),
70
- prime: z.boolean().optional()
71
- }),
72
- output: z.object({
73
- search_metadata: z.record(z.string(), z.unknown()).optional(),
74
- search_parameters: z.record(z.string(), z.unknown()).optional(),
75
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
76
- featured_products: z.array(z.record(z.string(), z.unknown())).optional(),
77
- product_ads: z.array(z.record(z.string(), z.unknown())).optional(),
78
- filters: z.array(z.record(z.string(), z.unknown())).optional(),
79
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
80
- }).passthrough(),
81
- run: async (input, credentials) => {
82
- return await serpApiSearch(credentials, "amazon", input);
83
- }
84
- });
85
- const amazonSearchTool = amazonSearch;
86
-
87
- //#endregion
88
- //#region src/apple/app-store.ts
89
- const appleAppStore = serpApiOperation({
90
- id: "serpapi.apple-app-store",
91
- name: "Apple App Store Search",
92
- description: "Search the Apple App Store via SerpApi",
93
- input: z.object({
94
- term: z.string(),
95
- country: z.string().optional(),
96
- lang: z.string().optional(),
97
- num: z.number().optional(),
98
- page: z.number().optional()
99
- }),
100
- output: z.object({
101
- search_metadata: z.record(z.string(), z.unknown()).optional(),
102
- search_parameters: z.record(z.string(), z.unknown()).optional(),
103
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
104
- }).passthrough(),
105
- run: async (input, credentials) => {
106
- return await serpApiSearch(credentials, "apple_app_store", input);
107
- }
108
- });
109
- const appleAppStoreTool = appleAppStore;
110
-
111
- //#endregion
112
- //#region src/apple/product.ts
113
- const appleProduct = serpApiOperation({
114
- id: "serpapi.apple-product",
115
- name: "Apple Product",
116
- description: "Get Apple product details via SerpApi",
117
- input: z.object({
118
- product_id: z.string(),
119
- country: z.string().optional(),
120
- lang: z.string().optional()
121
- }),
122
- output: z.object({
123
- search_metadata: z.record(z.string(), z.unknown()).optional(),
124
- search_parameters: z.record(z.string(), z.unknown()).optional(),
125
- product: z.record(z.string(), z.unknown()).optional()
126
- }).passthrough(),
127
- run: async (input, credentials) => {
128
- return await serpApiSearch(credentials, "apple_product", input);
129
- }
130
- });
131
- const appleProductTool = appleProduct;
132
-
133
- //#endregion
134
- //#region src/apple/reviews.ts
135
- const appleReviews = serpApiOperation({
136
- id: "serpapi.apple-reviews",
137
- name: "Apple Reviews",
138
- description: "Get Apple product reviews via SerpApi",
139
- input: z.object({
140
- product_id: z.string(),
141
- country: z.string().optional(),
142
- lang: z.string().optional(),
143
- sort: z.string().optional(),
144
- page: z.number().optional()
145
- }),
146
- output: z.object({
147
- search_metadata: z.record(z.string(), z.unknown()).optional(),
148
- search_parameters: z.record(z.string(), z.unknown()).optional(),
149
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
150
- }).passthrough(),
151
- run: async (input, credentials) => {
152
- return await serpApiSearch(credentials, "apple_reviews", input);
153
- }
154
- });
155
- const appleReviewsTool = appleReviews;
156
-
157
- //#endregion
158
- //#region src/baidu/search.ts
159
- const baiduSearch = serpApiOperation({
160
- id: "serpapi.baidu-search",
161
- name: "Baidu Search",
162
- description: "Search Baidu via SerpApi",
163
- input: z.object({
164
- q: z.string(),
165
- ct: z.string().optional(),
166
- rn: z.number().optional(),
167
- pn: z.number().optional()
168
- }),
169
- output: z.object({
170
- search_metadata: z.record(z.string(), z.unknown()).optional(),
171
- search_parameters: z.record(z.string(), z.unknown()).optional(),
172
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
173
- ads_results: z.array(z.record(z.string(), z.unknown())).optional(),
174
- answer_box: z.record(z.string(), z.unknown()).optional(),
175
- news_results: z.array(z.record(z.string(), z.unknown())).optional(),
176
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
177
- }).passthrough(),
178
- run: async (input, credentials) => {
179
- return await serpApiSearch(credentials, "baidu", input);
180
- }
181
- });
182
- const baiduSearchTool = baiduSearch;
183
-
184
- //#endregion
185
- //#region src/bing/copilot.ts
186
- const bingCopilot = serpApiOperation({
187
- id: "serpapi.bing-copilot",
188
- name: "Bing Copilot",
189
- description: "Search Bing Copilot via SerpApi",
190
- input: z.object({
191
- q: z.string(),
192
- cc: z.string().optional(),
193
- mkt: z.string().optional(),
194
- device: z.string().optional()
195
- }),
196
- output: z.object({
197
- search_metadata: z.record(z.string(), z.unknown()).optional(),
198
- search_parameters: z.record(z.string(), z.unknown()).optional(),
199
- copilot_response: z.record(z.string(), z.unknown()).optional()
200
- }).passthrough(),
201
- run: async (input, credentials) => {
202
- return await serpApiSearch(credentials, "bing_copilot", input);
203
- }
204
- });
205
- const bingCopilotTool = bingCopilot;
206
-
207
- //#endregion
208
- //#region src/bing/images.ts
209
- const bingImages = serpApiOperation({
210
- id: "serpapi.bing-images",
211
- name: "Bing Images Search",
212
- description: "Search Bing Images via SerpApi",
213
- input: z.object({
214
- q: z.string(),
215
- cc: z.string().optional(),
216
- mkt: z.string().optional(),
217
- first: z.number().optional(),
218
- count: z.number().optional(),
219
- safeSearch: z.string().optional(),
220
- device: z.string().optional()
221
- }),
222
- output: z.object({
223
- search_metadata: z.record(z.string(), z.unknown()).optional(),
224
- search_parameters: z.record(z.string(), z.unknown()).optional(),
225
- images_results: z.array(z.record(z.string(), z.unknown())).optional()
226
- }).passthrough(),
227
- run: async (input, credentials) => {
228
- return await serpApiSearch(credentials, "bing_images", input);
229
- }
230
- });
231
- const bingImagesTool = bingImages;
232
-
233
- //#endregion
234
- //#region src/bing/maps.ts
235
- const bingMaps = serpApiOperation({
236
- id: "serpapi.bing-maps",
237
- name: "Bing Maps Search",
238
- description: "Search Bing Maps via SerpApi",
239
- input: z.object({
240
- q: z.string(),
241
- cc: z.string().optional(),
242
- mkt: z.string().optional(),
243
- device: z.string().optional()
244
- }),
245
- output: z.object({
246
- search_metadata: z.record(z.string(), z.unknown()).optional(),
247
- search_parameters: z.record(z.string(), z.unknown()).optional(),
248
- local_results: z.array(z.record(z.string(), z.unknown())).optional()
249
- }).passthrough(),
250
- run: async (input, credentials) => {
251
- return await serpApiSearch(credentials, "bing_maps", input);
252
- }
253
- });
254
- const bingMapsTool = bingMaps;
255
-
256
- //#endregion
257
- //#region src/bing/news.ts
258
- const bingNews = serpApiOperation({
259
- id: "serpapi.bing-news",
260
- name: "Bing News Search",
261
- description: "Search Bing News via SerpApi",
262
- input: z.object({
263
- q: z.string(),
264
- cc: z.string().optional(),
265
- mkt: z.string().optional(),
266
- first: z.number().optional(),
267
- count: z.number().optional(),
268
- freshness: z.string().optional(),
269
- device: z.string().optional()
270
- }),
271
- output: z.object({
272
- search_metadata: z.record(z.string(), z.unknown()).optional(),
273
- search_parameters: z.record(z.string(), z.unknown()).optional(),
274
- news_results: z.array(z.record(z.string(), z.unknown())).optional()
275
- }).passthrough(),
276
- run: async (input, credentials) => {
277
- return await serpApiSearch(credentials, "bing_news", input);
278
- }
279
- });
280
- const bingNewsTool = bingNews;
281
-
282
- //#endregion
283
- //#region src/bing/reverse-image.ts
284
- const bingReverseImage = serpApiOperation({
285
- id: "serpapi.bing-reverse-image",
286
- name: "Bing Reverse Image Search",
287
- description: "Search Bing Reverse Image via SerpApi",
288
- input: z.object({
289
- image_url: z.string(),
290
- cc: z.string().optional(),
291
- mkt: z.string().optional()
292
- }),
293
- output: z.object({
294
- search_metadata: z.record(z.string(), z.unknown()).optional(),
295
- search_parameters: z.record(z.string(), z.unknown()).optional(),
296
- visual_matches: z.array(z.record(z.string(), z.unknown())).optional(),
297
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
298
- }).passthrough(),
299
- run: async (input, credentials) => {
300
- return await serpApiSearch(credentials, "bing_reverse_image", input);
301
- }
302
- });
303
- const bingReverseImageTool = bingReverseImage;
304
-
305
- //#endregion
306
- //#region src/bing/search.ts
307
- const bingSearch = serpApiOperation({
308
- id: "serpapi.bing-search",
309
- name: "Bing Search",
310
- description: "Search Bing via SerpApi",
311
- input: z.object({
312
- q: z.string(),
313
- location: z.string().optional(),
314
- cc: z.string().optional(),
315
- mkt: z.string().optional(),
316
- first: z.number().optional(),
317
- count: z.number().optional(),
318
- safeSearch: z.enum([
319
- "off",
320
- "moderate",
321
- "strict"
322
- ]).optional(),
323
- device: z.string().optional()
324
- }),
325
- output: z.object({
326
- search_metadata: z.record(z.string(), z.unknown()).optional(),
327
- search_parameters: z.record(z.string(), z.unknown()).optional(),
328
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
329
- ad_results: z.array(z.record(z.string(), z.unknown())).optional(),
330
- answer_box: z.record(z.string(), z.unknown()).optional(),
331
- knowledge_graph: z.record(z.string(), z.unknown()).optional(),
332
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
333
- }).passthrough(),
334
- run: async (input, credentials) => {
335
- return await serpApiSearch(credentials, "bing", input);
336
- }
337
- });
338
- const bingSearchTool = bingSearch;
339
-
340
- //#endregion
341
- //#region src/bing/shopping.ts
342
- const bingShopping = serpApiOperation({
343
- id: "serpapi.bing-shopping",
344
- name: "Bing Shopping Search",
345
- description: "Search Bing Shopping via SerpApi",
346
- input: z.object({
347
- q: z.string(),
348
- cc: z.string().optional(),
349
- mkt: z.string().optional(),
350
- first: z.number().optional(),
351
- count: z.number().optional(),
352
- device: z.string().optional()
353
- }),
354
- output: z.object({
355
- search_metadata: z.record(z.string(), z.unknown()).optional(),
356
- search_parameters: z.record(z.string(), z.unknown()).optional(),
357
- shopping_results: z.array(z.record(z.string(), z.unknown())).optional()
358
- }).passthrough(),
359
- run: async (input, credentials) => {
360
- return await serpApiSearch(credentials, "bing_shopping", input);
361
- }
362
- });
363
- const bingShoppingTool = bingShopping;
364
-
365
- //#endregion
366
- //#region src/bing/videos.ts
367
- const bingVideos = serpApiOperation({
368
- id: "serpapi.bing-videos",
369
- name: "Bing Videos Search",
370
- description: "Search Bing Videos via SerpApi",
371
- input: z.object({
372
- q: z.string(),
373
- cc: z.string().optional(),
374
- mkt: z.string().optional(),
375
- first: z.number().optional(),
376
- count: z.number().optional(),
377
- device: z.string().optional()
378
- }),
379
- output: z.object({
380
- search_metadata: z.record(z.string(), z.unknown()).optional(),
381
- search_parameters: z.record(z.string(), z.unknown()).optional(),
382
- video_results: z.array(z.record(z.string(), z.unknown())).optional()
383
- }).passthrough(),
384
- run: async (input, credentials) => {
385
- return await serpApiSearch(credentials, "bing_videos", input);
386
- }
387
- });
388
- const bingVideosTool = bingVideos;
389
-
390
- //#endregion
391
- //#region src/brave/ai-mode.ts
392
- const braveAiMode = serpApiOperation({
393
- id: "serpapi.brave-ai-mode",
394
- name: "Brave AI Mode",
395
- description: "Search Brave AI Mode via SerpApi",
396
- input: z.object({
397
- q: z.string(),
398
- device: z.string().optional()
399
- }),
400
- output: z.object({
401
- search_metadata: z.record(z.string(), z.unknown()).optional(),
402
- search_parameters: z.record(z.string(), z.unknown()).optional(),
403
- ai_response: z.record(z.string(), z.unknown()).optional()
404
- }).passthrough(),
405
- run: async (input, credentials) => {
406
- return await serpApiSearch(credentials, "brave_ai_mode", input);
407
- }
408
- });
409
- const braveAiModeTool = braveAiMode;
410
-
411
- //#endregion
412
- //#region src/duckduckgo/light.ts
413
- const duckduckgoLight = serpApiOperation({
414
- id: "serpapi.duckduckgo-light",
415
- name: "DuckDuckGo Light Search",
416
- description: "Search DuckDuckGo Light via SerpApi",
417
- input: z.object({
418
- q: z.string(),
419
- kl: z.string().optional(),
420
- safe: z.string().optional(),
421
- device: z.string().optional()
422
- }),
423
- output: z.object({
424
- search_metadata: z.record(z.string(), z.unknown()).optional(),
425
- search_parameters: z.record(z.string(), z.unknown()).optional(),
426
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
427
- }).passthrough(),
428
- run: async (input, credentials) => {
429
- return await serpApiSearch(credentials, "duckduckgo_light", input);
430
- }
431
- });
432
- const duckduckgoLightTool = duckduckgoLight;
433
-
434
- //#endregion
435
- //#region src/duckduckgo/maps.ts
436
- const duckduckgoMaps = serpApiOperation({
437
- id: "serpapi.duckduckgo-maps",
438
- name: "DuckDuckGo Maps Search",
439
- description: "Search DuckDuckGo Maps via SerpApi",
440
- input: z.object({
441
- q: z.string(),
442
- kl: z.string().optional()
443
- }),
444
- output: z.object({
445
- search_metadata: z.record(z.string(), z.unknown()).optional(),
446
- search_parameters: z.record(z.string(), z.unknown()).optional(),
447
- local_results: z.array(z.record(z.string(), z.unknown())).optional()
448
- }).passthrough(),
449
- run: async (input, credentials) => {
450
- return await serpApiSearch(credentials, "duckduckgo_maps", input);
451
- }
452
- });
453
- const duckduckgoMapsTool = duckduckgoMaps;
454
-
455
- //#endregion
456
- //#region src/duckduckgo/news.ts
457
- const duckduckgoNews = serpApiOperation({
458
- id: "serpapi.duckduckgo-news",
459
- name: "DuckDuckGo News Search",
460
- description: "Search DuckDuckGo News via SerpApi",
461
- input: z.object({
462
- q: z.string(),
463
- kl: z.string().optional(),
464
- safe: z.string().optional(),
465
- device: z.string().optional()
466
- }),
467
- output: z.object({
468
- search_metadata: z.record(z.string(), z.unknown()).optional(),
469
- search_parameters: z.record(z.string(), z.unknown()).optional(),
470
- news_results: z.array(z.record(z.string(), z.unknown())).optional()
471
- }).passthrough(),
472
- run: async (input, credentials) => {
473
- return await serpApiSearch(credentials, "duckduckgo_news", input);
474
- }
475
- });
476
- const duckduckgoNewsTool = duckduckgoNews;
477
-
478
- //#endregion
479
- //#region src/duckduckgo/search.ts
480
- const duckduckgoSearch = serpApiOperation({
481
- id: "serpapi.duckduckgo-search",
482
- name: "DuckDuckGo Search",
483
- description: "Search DuckDuckGo via SerpApi",
484
- input: z.object({
485
- q: z.string(),
486
- kl: z.string().optional(),
487
- safe: z.string().optional(),
488
- device: z.string().optional()
489
- }),
490
- output: z.object({
491
- search_metadata: z.record(z.string(), z.unknown()).optional(),
492
- search_parameters: z.record(z.string(), z.unknown()).optional(),
493
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
494
- ad_results: z.array(z.record(z.string(), z.unknown())).optional(),
495
- knowledge_graph: z.record(z.string(), z.unknown()).optional(),
496
- news_results: z.array(z.record(z.string(), z.unknown())).optional(),
497
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
498
- }).passthrough(),
499
- run: async (input, credentials) => {
500
- return await serpApiSearch(credentials, "duckduckgo", input);
501
- }
502
- });
503
- const duckduckgoSearchTool = duckduckgoSearch;
504
-
505
- //#endregion
506
- //#region src/duckduckgo/search-assist.ts
507
- const duckduckgoSearchAssist = serpApiOperation({
508
- id: "serpapi.duckduckgo-search-assist",
509
- name: "DuckDuckGo Search Assist",
510
- description: "Get DuckDuckGo search suggestions via SerpApi",
511
- input: z.object({
512
- q: z.string(),
513
- kl: z.string().optional()
514
- }),
515
- output: z.object({
516
- search_metadata: z.record(z.string(), z.unknown()).optional(),
517
- search_parameters: z.record(z.string(), z.unknown()).optional(),
518
- suggestions: z.array(z.record(z.string(), z.unknown())).optional()
519
- }).passthrough(),
520
- run: async (input, credentials) => {
521
- return await serpApiSearch(credentials, "duckduckgo_search_assist", input);
522
- }
523
- });
524
- const duckduckgoSearchAssistTool = duckduckgoSearchAssist;
525
-
526
- //#endregion
527
- //#region src/ebay/product.ts
528
- const ebayProduct = serpApiOperation({
529
- id: "serpapi.ebay-product",
530
- name: "eBay Product",
531
- description: "Get eBay product details via SerpApi",
532
- input: z.object({
533
- product_id: z.string().optional(),
534
- epid: z.string().optional(),
535
- ebay_domain: z.string().optional()
536
- }).refine((data) => data.product_id || data.epid, { message: "At least one of product_id or epid is required" }),
537
- output: z.object({
538
- search_metadata: z.record(z.string(), z.unknown()).optional(),
539
- search_parameters: z.record(z.string(), z.unknown()).optional(),
540
- product: z.record(z.string(), z.unknown()).optional(),
541
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
542
- }).passthrough(),
543
- run: async (input, credentials) => {
544
- return await serpApiSearch(credentials, "ebay_product", input);
545
- }
546
- });
547
- const ebayProductTool = ebayProduct;
548
-
549
- //#endregion
550
- //#region src/ebay/search.ts
551
- const ebaySearch = serpApiOperation({
552
- id: "serpapi.ebay-search",
553
- name: "eBay Search",
554
- description: "Search eBay via SerpApi",
555
- input: z.object({
556
- _nkw: z.string(),
557
- ebay_domain: z.string().optional(),
558
- _sacat: z.string().optional(),
559
- _udlo: z.number().optional(),
560
- _udhi: z.number().optional(),
561
- _sop: z.string().optional(),
562
- LH_BIN: z.string().optional(),
563
- LH_Auction: z.string().optional(),
564
- LH_ItemCondition: z.string().optional(),
565
- _pgn: z.number().optional()
566
- }),
567
- output: z.object({
568
- search_metadata: z.record(z.string(), z.unknown()).optional(),
569
- search_parameters: z.record(z.string(), z.unknown()).optional(),
570
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
571
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
572
- }).passthrough(),
573
- run: async (input, credentials) => {
574
- return await serpApiSearch(credentials, "ebay", input);
575
- }
576
- });
577
- const ebaySearchTool = ebaySearch;
578
-
579
- //#endregion
580
- //#region src/facebook/profile.ts
581
- const facebookProfile = serpApiOperation({
582
- id: "serpapi.facebook-profile",
583
- name: "Facebook Profile",
584
- description: "Get Facebook profile data via SerpApi",
585
- input: z.object({ page_id: z.string() }),
586
- output: z.object({
587
- search_metadata: z.record(z.string(), z.unknown()).optional(),
588
- search_parameters: z.record(z.string(), z.unknown()).optional(),
589
- profile: z.record(z.string(), z.unknown()).optional()
590
- }).passthrough(),
591
- run: async (input, credentials) => {
592
- return await serpApiSearch(credentials, "facebook_profile", input);
593
- }
594
- });
595
- const facebookProfileTool = facebookProfile;
596
-
597
- //#endregion
598
- //#region src/google/ads-transparency.ts
599
- const googleAdsTransparency = serpApiOperation({
600
- id: "serpapi.google-ads-transparency",
601
- name: "Google Ads Transparency Center",
602
- description: "Search Google Ads Transparency Center via SerpApi",
603
- input: z.object({
604
- advertiser_id: z.string().optional(),
605
- domain: z.string().optional(),
606
- gl: z.string().optional(),
607
- hl: z.string().optional(),
608
- device: z.string().optional()
609
- }),
610
- output: z.object({
611
- search_metadata: z.record(z.string(), z.unknown()).optional(),
612
- search_parameters: z.record(z.string(), z.unknown()).optional(),
613
- ads: z.array(z.record(z.string(), z.unknown())).optional()
614
- }).passthrough(),
615
- run: async (input, credentials) => {
616
- return await serpApiSearch(credentials, "google_ads_transparency_center", input);
617
- }
618
- });
619
- const googleAdsTransparencyTool = googleAdsTransparency;
620
-
621
- //#endregion
622
- //#region src/google/ai-mode.ts
623
- const googleAiMode = serpApiOperation({
624
- id: "serpapi.google-ai-mode",
625
- name: "Google AI Mode",
626
- description: "Search Google AI Mode via SerpApi",
627
- input: z.object({
628
- q: z.string(),
629
- gl: z.string().optional(),
630
- hl: z.string().optional(),
631
- device: z.string().optional()
632
- }),
633
- output: z.object({
634
- search_metadata: z.record(z.string(), z.unknown()).optional(),
635
- search_parameters: z.record(z.string(), z.unknown()).optional(),
636
- ai_response: z.record(z.string(), z.unknown()).optional()
637
- }).passthrough(),
638
- run: async (input, credentials) => {
639
- return await serpApiSearch(credentials, "google_ai_mode", input);
640
- }
641
- });
642
- const googleAiModeTool = googleAiMode;
643
-
644
- //#endregion
645
- //#region src/google/ai-overview.ts
646
- const googleAiOverview = serpApiOperation({
647
- id: "serpapi.google-ai-overview",
648
- name: "Google AI Overview",
649
- description: "Search Google AI Overview via SerpApi",
650
- input: z.object({
651
- q: z.string(),
652
- gl: z.string().optional(),
653
- hl: z.string().optional(),
654
- device: z.string().optional()
655
- }),
656
- output: z.object({
657
- search_metadata: z.record(z.string(), z.unknown()).optional(),
658
- search_parameters: z.record(z.string(), z.unknown()).optional(),
659
- ai_overview: z.record(z.string(), z.unknown()).optional()
660
- }).passthrough(),
661
- run: async (input, credentials) => {
662
- return await serpApiSearch(credentials, "google_ai_overview", input);
663
- }
664
- });
665
- const googleAiOverviewTool = googleAiOverview;
666
-
667
- //#endregion
668
- //#region src/google/autocomplete.ts
669
- const googleAutocomplete = serpApiOperation({
670
- id: "serpapi.google-autocomplete",
671
- name: "Google Autocomplete",
672
- description: "Search Google Autocomplete via SerpApi",
673
- input: z.object({
674
- q: z.string(),
675
- gl: z.string().optional(),
676
- hl: z.string().optional(),
677
- device: z.string().optional()
678
- }),
679
- output: z.object({
680
- search_metadata: z.record(z.string(), z.unknown()).optional(),
681
- search_parameters: z.record(z.string(), z.unknown()).optional(),
682
- suggestions: z.array(z.record(z.string(), z.unknown())).optional()
683
- }).passthrough(),
684
- run: async (input, credentials) => {
685
- return await serpApiSearch(credentials, "google_autocomplete", input);
686
- }
687
- });
688
- const googleAutocompleteTool = googleAutocomplete;
689
-
690
- //#endregion
691
- //#region src/google/events.ts
692
- const googleEvents = serpApiOperation({
693
- id: "serpapi.google-events",
694
- name: "Google Events Search",
695
- description: "Search Google Events via SerpApi",
696
- input: z.object({
697
- q: z.string(),
698
- location: z.string().optional(),
699
- gl: z.string().optional(),
700
- hl: z.string().optional(),
701
- device: z.string().optional()
702
- }),
703
- output: z.object({
704
- search_metadata: z.record(z.string(), z.unknown()).optional(),
705
- search_parameters: z.record(z.string(), z.unknown()).optional(),
706
- events_results: z.array(z.record(z.string(), z.unknown())).optional()
707
- }).passthrough(),
708
- run: async (input, credentials) => {
709
- return await serpApiSearch(credentials, "google_events", input);
710
- }
711
- });
712
- const googleEventsTool = googleEvents;
713
-
714
- //#endregion
715
- //#region src/google/finance.ts
716
- const googleFinance = serpApiOperation({
717
- id: "serpapi.google-finance",
718
- name: "Google Finance Search",
719
- description: "Search Google Finance via SerpApi",
720
- input: z.object({
721
- q: z.string(),
722
- gl: z.string().optional(),
723
- hl: z.string().optional(),
724
- device: z.string().optional()
725
- }),
726
- output: z.object({
727
- search_metadata: z.record(z.string(), z.unknown()).optional(),
728
- search_parameters: z.record(z.string(), z.unknown()).optional(),
729
- summary: z.record(z.string(), z.unknown()).optional(),
730
- graph: z.array(z.record(z.string(), z.unknown())).optional(),
731
- financials: z.record(z.string(), z.unknown()).optional(),
732
- news_results: z.array(z.record(z.string(), z.unknown())).optional()
733
- }).passthrough(),
734
- run: async (input, credentials) => {
735
- return await serpApiSearch(credentials, "google_finance", input);
736
- }
737
- });
738
- const googleFinanceTool = googleFinance;
739
-
740
- //#endregion
741
- //#region src/google/finance-markets.ts
742
- const googleFinanceMarkets = serpApiOperation({
743
- id: "serpapi.google-finance-markets",
744
- name: "Google Finance Markets",
745
- description: "Search Google Finance Markets via SerpApi",
746
- input: z.object({
747
- trend: z.enum([
748
- "indexes",
749
- "most-active",
750
- "gainers",
751
- "losers",
752
- "climate-leaders",
753
- "crypto",
754
- "currencies"
755
- ]).optional(),
756
- gl: z.string().optional(),
757
- hl: z.string().optional(),
758
- device: z.string().optional()
759
- }),
760
- output: z.object({
761
- search_metadata: z.record(z.string(), z.unknown()).optional(),
762
- search_parameters: z.record(z.string(), z.unknown()).optional(),
763
- market_trends: z.array(z.record(z.string(), z.unknown())).optional()
764
- }).passthrough(),
765
- run: async (input, credentials) => {
766
- return await serpApiSearch(credentials, "google_finance_markets", input);
767
- }
768
- });
769
- const googleFinanceMarketsTool = googleFinanceMarkets;
770
-
771
- //#endregion
772
- //#region src/google/flights.ts
773
- const googleFlights = serpApiOperation({
774
- id: "serpapi.google-flights",
775
- name: "Google Flights Search",
776
- description: "Search Google Flights via SerpApi",
777
- input: z.object({
778
- departure_id: z.string(),
779
- arrival_id: z.string(),
780
- outbound_date: z.string(),
781
- return_date: z.string().optional(),
782
- type: z.number().optional(),
783
- travel_class: z.number().optional(),
784
- adults: z.number().optional(),
785
- children: z.number().optional(),
786
- infants_in_seat: z.number().optional(),
787
- infants_on_lap: z.number().optional(),
788
- stops: z.number().optional(),
789
- currency: z.string().optional(),
790
- hl: z.string().optional(),
791
- gl: z.string().optional(),
792
- bags: z.number().optional(),
793
- max_price: z.number().optional(),
794
- exclude_airlines: z.string().optional(),
795
- include_airlines: z.string().optional()
796
- }),
797
- output: z.object({
798
- search_metadata: z.record(z.string(), z.unknown()).optional(),
799
- search_parameters: z.record(z.string(), z.unknown()).optional(),
800
- best_flights: z.array(z.record(z.string(), z.unknown())).optional(),
801
- other_flights: z.array(z.record(z.string(), z.unknown())).optional(),
802
- airports: z.array(z.record(z.string(), z.unknown())).optional(),
803
- price_insights: z.record(z.string(), z.unknown()).optional()
804
- }).passthrough(),
805
- run: async (input, credentials) => {
806
- return await serpApiSearch(credentials, "google_flights", input);
807
- }
808
- });
809
- const googleFlightsTool = googleFlights;
810
-
811
- //#endregion
812
- //#region src/google/flights-autocomplete.ts
813
- const googleFlightsAutocomplete = serpApiOperation({
814
- id: "serpapi.google-flights-autocomplete",
815
- name: "Google Flights Autocomplete",
816
- description: "Search Google Flights Autocomplete via SerpApi",
817
- input: z.object({
818
- q: z.string(),
819
- hl: z.string().optional(),
820
- gl: z.string().optional()
821
- }),
822
- output: z.object({
823
- search_metadata: z.record(z.string(), z.unknown()).optional(),
824
- search_parameters: z.record(z.string(), z.unknown()).optional(),
825
- airports: z.array(z.record(z.string(), z.unknown())).optional()
826
- }).passthrough(),
827
- run: async (input, credentials) => {
828
- return await serpApiSearch(credentials, "google_flights_autocomplete", input);
829
- }
830
- });
831
- const googleFlightsAutocompleteTool = googleFlightsAutocomplete;
832
-
833
- //#endregion
834
- //#region src/google/forums.ts
835
- const googleForums = serpApiOperation({
836
- id: "serpapi.google-forums",
837
- name: "Google Forums Search",
838
- description: "Search Google Forums via SerpApi",
839
- input: z.object({
840
- q: z.string(),
841
- location: z.string().optional(),
842
- gl: z.string().optional(),
843
- hl: z.string().optional(),
844
- device: z.string().optional()
845
- }),
846
- output: z.object({
847
- search_metadata: z.record(z.string(), z.unknown()).optional(),
848
- search_parameters: z.record(z.string(), z.unknown()).optional(),
849
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
850
- }).passthrough(),
851
- run: async (input, credentials) => {
852
- return await serpApiSearch(credentials, "google_forums", input);
853
- }
854
- });
855
- const googleForumsTool = googleForums;
856
-
857
- //#endregion
858
- //#region src/google/hotels.ts
859
- const googleHotels = serpApiOperation({
860
- id: "serpapi.google-hotels",
861
- name: "Google Hotels Search",
862
- description: "Search Google Hotels via SerpApi",
863
- input: z.object({
864
- q: z.string(),
865
- check_in_date: z.string().optional(),
866
- check_out_date: z.string().optional(),
867
- adults: z.number().optional(),
868
- children: z.number().optional(),
869
- children_ages: z.string().optional(),
870
- currency: z.string().optional(),
871
- gl: z.string().optional(),
872
- hl: z.string().optional(),
873
- sort_by: z.number().optional(),
874
- min_price: z.number().optional(),
875
- max_price: z.number().optional(),
876
- rating: z.number().optional(),
877
- amenities: z.string().optional(),
878
- vacation_rentals: z.boolean().optional(),
879
- hotel_class: z.number().optional(),
880
- free_cancellation: z.boolean().optional(),
881
- property_token: z.string().optional(),
882
- device: z.string().optional()
883
- }),
884
- output: z.object({
885
- search_metadata: z.record(z.string(), z.unknown()).optional(),
886
- search_parameters: z.record(z.string(), z.unknown()).optional(),
887
- properties: z.array(z.record(z.string(), z.unknown())).optional(),
888
- ads: z.array(z.record(z.string(), z.unknown())).optional()
889
- }).passthrough(),
890
- run: async (input, credentials) => {
891
- return await serpApiSearch(credentials, "google_hotels", input);
892
- }
893
- });
894
- const googleHotelsTool = googleHotels;
895
-
896
- //#endregion
897
- //#region src/google/hotels-autocomplete.ts
898
- const googleHotelsAutocomplete = serpApiOperation({
899
- id: "serpapi.google-hotels-autocomplete",
900
- name: "Google Hotels Autocomplete",
901
- description: "Search Google Hotels Autocomplete via SerpApi",
902
- input: z.object({
903
- q: z.string(),
904
- gl: z.string().optional(),
905
- hl: z.string().optional()
906
- }),
907
- output: z.object({
908
- search_metadata: z.record(z.string(), z.unknown()).optional(),
909
- search_parameters: z.record(z.string(), z.unknown()).optional(),
910
- suggestions: z.array(z.record(z.string(), z.unknown())).optional()
911
- }).passthrough(),
912
- run: async (input, credentials) => {
913
- return await serpApiSearch(credentials, "google_hotels_autocomplete", input);
914
- }
915
- });
916
- const googleHotelsAutocompleteTool = googleHotelsAutocomplete;
917
-
918
- //#endregion
919
- //#region src/google/hotels-photos.ts
920
- const googleHotelsPhotos = serpApiOperation({
921
- id: "serpapi.google-hotels-photos",
922
- name: "Google Hotels Photos",
923
- description: "Get Google Hotels photos via SerpApi",
924
- input: z.object({
925
- property_token: z.string(),
926
- gl: z.string().optional(),
927
- hl: z.string().optional()
928
- }),
929
- output: z.object({
930
- search_metadata: z.record(z.string(), z.unknown()).optional(),
931
- search_parameters: z.record(z.string(), z.unknown()).optional(),
932
- photos: z.array(z.record(z.string(), z.unknown())).optional()
933
- }).passthrough(),
934
- run: async (input, credentials) => {
935
- return await serpApiSearch(credentials, "google_hotels_photos", input);
936
- }
937
- });
938
- const googleHotelsPhotosTool = googleHotelsPhotos;
939
-
940
- //#endregion
941
- //#region src/google/hotels-reviews.ts
942
- const googleHotelsReviews = serpApiOperation({
943
- id: "serpapi.google-hotels-reviews",
944
- name: "Google Hotels Reviews",
945
- description: "Get Google Hotels reviews via SerpApi",
946
- input: z.object({
947
- property_token: z.string(),
948
- gl: z.string().optional(),
949
- hl: z.string().optional(),
950
- sort_by: z.number().optional(),
951
- next_page_token: z.string().optional()
952
- }),
953
- output: z.object({
954
- search_metadata: z.record(z.string(), z.unknown()).optional(),
955
- search_parameters: z.record(z.string(), z.unknown()).optional(),
956
- reviews: z.array(z.record(z.string(), z.unknown())).optional(),
957
- rating_distribution: z.record(z.string(), z.unknown()).optional()
958
- }).passthrough(),
959
- run: async (input, credentials) => {
960
- return await serpApiSearch(credentials, "google_hotels_reviews", input);
961
- }
962
- });
963
- const googleHotelsReviewsTool = googleHotelsReviews;
964
-
965
- //#endregion
966
- //#region src/google/images.ts
967
- const googleImages = serpApiOperation({
968
- id: "serpapi.google-images",
969
- name: "Google Images Search",
970
- description: "Search Google Images via SerpApi",
971
- input: z.object({
972
- q: z.string(),
973
- location: z.string().optional(),
974
- gl: z.string().optional(),
975
- hl: z.string().optional(),
976
- tbs: z.string().optional(),
977
- chips: z.string().optional(),
978
- ijn: z.number().optional(),
979
- safe: z.string().optional(),
980
- device: z.string().optional()
981
- }),
982
- output: z.object({
983
- search_metadata: z.record(z.string(), z.unknown()).optional(),
984
- search_parameters: z.record(z.string(), z.unknown()).optional(),
985
- images_results: z.array(z.record(z.string(), z.unknown())).optional(),
986
- suggested_searches: z.array(z.record(z.string(), z.unknown())).optional(),
987
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
988
- }).passthrough(),
989
- run: async (input, credentials) => {
990
- return await serpApiSearch(credentials, "google_images", input);
991
- }
992
- });
993
- const googleImagesTool = googleImages;
994
-
995
- //#endregion
996
- //#region src/google/images-light.ts
997
- const googleImagesLight = serpApiOperation({
998
- id: "serpapi.google-images-light",
999
- name: "Google Images Light Search",
1000
- description: "Search Google Images Light via SerpApi",
1001
- input: z.object({
1002
- q: z.string(),
1003
- gl: z.string().optional(),
1004
- hl: z.string().optional(),
1005
- tbs: z.string().optional(),
1006
- ijn: z.number().optional(),
1007
- device: z.string().optional()
1008
- }),
1009
- output: z.object({
1010
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1011
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1012
- images_results: z.array(z.record(z.string(), z.unknown())).optional()
1013
- }).passthrough(),
1014
- run: async (input, credentials) => {
1015
- return await serpApiSearch(credentials, "google_images_light", input);
1016
- }
1017
- });
1018
- const googleImagesLightTool = googleImagesLight;
1019
-
1020
- //#endregion
1021
- //#region src/google/images-related.ts
1022
- const googleImagesRelated = serpApiOperation({
1023
- id: "serpapi.google-images-related",
1024
- name: "Google Images Related Content",
1025
- description: "Search Google Images Related Content via SerpApi",
1026
- input: z.object({
1027
- q: z.string(),
1028
- gl: z.string().optional(),
1029
- hl: z.string().optional(),
1030
- device: z.string().optional()
1031
- }),
1032
- output: z.object({
1033
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1034
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1035
- related_content: z.array(z.record(z.string(), z.unknown())).optional()
1036
- }).passthrough(),
1037
- run: async (input, credentials) => {
1038
- return await serpApiSearch(credentials, "google_images_related_content", input);
1039
- }
1040
- });
1041
- const googleImagesRelatedTool = googleImagesRelated;
1042
-
1043
- //#endregion
1044
- //#region src/google/immersive-product.ts
1045
- const googleImmersiveProduct = serpApiOperation({
1046
- id: "serpapi.google-immersive-product",
1047
- name: "Google Immersive Product",
1048
- description: "Get Google Immersive Product details via SerpApi",
1049
- input: z.object({
1050
- page_token: z.string(),
1051
- gl: z.string().optional(),
1052
- hl: z.string().optional()
1053
- }),
1054
- output: z.object({
1055
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1056
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1057
- product_results: z.record(z.string(), z.unknown()).optional(),
1058
- sellers: z.array(z.record(z.string(), z.unknown())).optional()
1059
- }).passthrough(),
1060
- run: async (input, credentials) => {
1061
- return await serpApiSearch(credentials, "google_immersive_product", input);
1062
- }
1063
- });
1064
- const googleImmersiveProductTool = googleImmersiveProduct;
1065
-
1066
- //#endregion
1067
- //#region src/google/jobs.ts
1068
- const googleJobs = serpApiOperation({
1069
- id: "serpapi.google-jobs",
1070
- name: "Google Jobs Search",
1071
- description: "Search Google Jobs via SerpApi",
1072
- input: z.object({
1073
- q: z.string(),
1074
- location: z.string().optional(),
1075
- gl: z.string().optional(),
1076
- hl: z.string().optional(),
1077
- chips: z.string().optional(),
1078
- ltype: z.string().optional(),
1079
- start: z.number().optional(),
1080
- device: z.string().optional()
1081
- }),
1082
- output: z.object({
1083
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1084
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1085
- jobs_results: z.array(z.record(z.string(), z.unknown())).optional(),
1086
- chips: z.array(z.record(z.string(), z.unknown())).optional()
1087
- }).passthrough(),
1088
- run: async (input, credentials) => {
1089
- return await serpApiSearch(credentials, "google_jobs", input);
1090
- }
1091
- });
1092
- const googleJobsTool = googleJobs;
1093
-
1094
- //#endregion
1095
- //#region src/google/jobs-listing.ts
1096
- const googleJobsListing = serpApiOperation({
1097
- id: "serpapi.google-jobs-listing",
1098
- name: "Google Jobs Listing",
1099
- description: "Get Google Jobs listing details via SerpApi",
1100
- input: z.object({
1101
- q: z.string(),
1102
- gl: z.string().optional(),
1103
- hl: z.string().optional()
1104
- }),
1105
- output: z.object({
1106
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1107
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1108
- job: z.record(z.string(), z.unknown()).optional()
1109
- }).passthrough(),
1110
- run: async (input, credentials) => {
1111
- return await serpApiSearch(credentials, "google_jobs_listing", input);
1112
- }
1113
- });
1114
- const googleJobsListingTool = googleJobsListing;
1115
-
1116
- //#endregion
1117
- //#region src/google/lens.ts
1118
- const googleLens = serpApiOperation({
1119
- id: "serpapi.google-lens",
1120
- name: "Google Lens Search",
1121
- description: "Search Google Lens via SerpApi",
1122
- input: z.object({
1123
- url: z.string(),
1124
- hl: z.string().optional(),
1125
- country: z.string().optional(),
1126
- device: z.string().optional()
1127
- }),
1128
- output: z.object({
1129
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1130
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1131
- visual_matches: z.array(z.record(z.string(), z.unknown())).optional(),
1132
- knowledge_graph: z.array(z.record(z.string(), z.unknown())).optional(),
1133
- text_results: z.array(z.record(z.string(), z.unknown())).optional(),
1134
- reverse_image_search: z.record(z.string(), z.unknown()).optional()
1135
- }).passthrough(),
1136
- run: async (input, credentials) => {
1137
- return await serpApiSearch(credentials, "google_lens", input);
1138
- }
1139
- });
1140
- const googleLensTool = googleLens;
1141
-
1142
- //#endregion
1143
- //#region src/google/light.ts
1144
- const googleLightSearch = serpApiOperation({
1145
- id: "serpapi.google-light-search",
1146
- name: "Google Light Search",
1147
- description: "Search Google Light via SerpApi",
1148
- input: z.object({
1149
- q: z.string(),
1150
- location: z.string().optional(),
1151
- gl: z.string().optional(),
1152
- hl: z.string().optional(),
1153
- tbs: z.string().optional(),
1154
- safe: z.string().optional(),
1155
- start: z.number().optional(),
1156
- num: z.number().optional(),
1157
- device: z.string().optional()
1158
- }),
1159
- output: z.object({
1160
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1161
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1162
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
1163
- answer_box: z.record(z.string(), z.unknown()).optional(),
1164
- knowledge_graph: z.record(z.string(), z.unknown()).optional(),
1165
- related_questions: z.array(z.record(z.string(), z.unknown())).optional(),
1166
- related_searches: z.array(z.record(z.string(), z.unknown())).optional(),
1167
- top_stories: z.array(z.record(z.string(), z.unknown())).optional(),
1168
- pagination: z.record(z.string(), z.unknown()).optional()
1169
- }).passthrough(),
1170
- run: async (input, credentials) => {
1171
- return await serpApiSearch(credentials, "google_light", input);
1172
- }
1173
- });
1174
- const googleLightSearchTool = googleLightSearch;
1175
-
1176
- //#endregion
1177
- //#region src/google/local.ts
1178
- const googleLocal = serpApiOperation({
1179
- id: "serpapi.google-local",
1180
- name: "Google Local Search",
1181
- description: "Search Google Local via SerpApi",
1182
- input: z.object({
1183
- q: z.string(),
1184
- location: z.string().optional(),
1185
- gl: z.string().optional(),
1186
- hl: z.string().optional(),
1187
- ludocid: z.string().optional(),
1188
- lsig: z.string().optional(),
1189
- device: z.string().optional()
1190
- }),
1191
- output: z.object({
1192
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1193
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1194
- local_results: z.array(z.record(z.string(), z.unknown())).optional(),
1195
- ad_results: z.array(z.record(z.string(), z.unknown())).optional()
1196
- }).passthrough(),
1197
- run: async (input, credentials) => {
1198
- return await serpApiSearch(credentials, "google_local", input);
1199
- }
1200
- });
1201
- const googleLocalTool = googleLocal;
1202
-
1203
- //#endregion
1204
- //#region src/google/local-services.ts
1205
- const googleLocalServices = serpApiOperation({
1206
- id: "serpapi.google-local-services",
1207
- name: "Google Local Services Search",
1208
- description: "Search Google Local Services via SerpApi",
1209
- input: z.object({
1210
- q: z.string(),
1211
- place_id: z.string().optional(),
1212
- data_cid: z.string().optional(),
1213
- gl: z.string().optional(),
1214
- hl: z.string().optional(),
1215
- device: z.string().optional()
1216
- }),
1217
- output: z.object({
1218
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1219
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1220
- local_services_results: z.array(z.record(z.string(), z.unknown())).optional()
1221
- }).passthrough(),
1222
- run: async (input, credentials) => {
1223
- return await serpApiSearch(credentials, "google_local_services", input);
1224
- }
1225
- });
1226
- const googleLocalServicesTool = googleLocalServices;
1227
-
1228
- //#endregion
1229
- //#region src/google/maps.ts
1230
- const googleMaps = serpApiOperation({
1231
- id: "serpapi.google-maps",
1232
- name: "Google Maps Search",
1233
- description: "Search Google Maps via SerpApi",
1234
- input: z.object({
1235
- q: z.string(),
1236
- ll: z.string().optional(),
1237
- type: z.string().optional(),
1238
- data: z.string().optional(),
1239
- start: z.number().optional(),
1240
- hl: z.string().optional(),
1241
- gl: z.string().optional(),
1242
- device: z.string().optional()
1243
- }),
1244
- output: z.object({
1245
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1246
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1247
- local_results: z.array(z.record(z.string(), z.unknown())).optional(),
1248
- place_results: z.record(z.string(), z.unknown()).optional()
1249
- }).passthrough(),
1250
- run: async (input, credentials) => {
1251
- return await serpApiSearch(credentials, "google_maps", input);
1252
- }
1253
- });
1254
- const googleMapsTool = googleMaps;
1255
-
1256
- //#endregion
1257
- //#region src/google/maps-autocomplete.ts
1258
- const googleMapsAutocomplete = serpApiOperation({
1259
- id: "serpapi.google-maps-autocomplete",
1260
- name: "Google Maps Autocomplete",
1261
- description: "Search Google Maps Autocomplete via SerpApi",
1262
- input: z.object({
1263
- q: z.string(),
1264
- ll: z.string().optional(),
1265
- hl: z.string().optional(),
1266
- gl: z.string().optional()
1267
- }),
1268
- output: z.object({
1269
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1270
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1271
- suggestions: z.array(z.record(z.string(), z.unknown())).optional()
1272
- }).passthrough(),
1273
- run: async (input, credentials) => {
1274
- return await serpApiSearch(credentials, "google_maps_autocomplete", input);
1275
- }
1276
- });
1277
- const googleMapsAutocompleteTool = googleMapsAutocomplete;
1278
-
1279
- //#endregion
1280
- //#region src/google/maps-contributor-reviews.ts
1281
- const googleMapsContributorReviews = serpApiOperation({
1282
- id: "serpapi.google-maps-contributor-reviews",
1283
- name: "Google Maps Contributor Reviews",
1284
- description: "Get Google Maps contributor reviews via SerpApi",
1285
- input: z.object({
1286
- contributor_id: z.string(),
1287
- hl: z.string().optional(),
1288
- gl: z.string().optional(),
1289
- next_page_token: z.string().optional()
1290
- }),
1291
- output: z.object({
1292
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1293
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1294
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
1295
- }).passthrough(),
1296
- run: async (input, credentials) => {
1297
- return await serpApiSearch(credentials, "google_maps_contributor_reviews", input);
1298
- }
1299
- });
1300
- const googleMapsContributorReviewsTool = googleMapsContributorReviews;
1301
-
1302
- //#endregion
1303
- //#region src/google/maps-directions.ts
1304
- const googleMapsDirections = serpApiOperation({
1305
- id: "serpapi.google-maps-directions",
1306
- name: "Google Maps Directions",
1307
- description: "Get Google Maps directions via SerpApi",
1308
- input: z.object({
1309
- start_addr: z.string(),
1310
- end_addr: z.string(),
1311
- travel_mode: z.enum([
1312
- "driving",
1313
- "walking",
1314
- "transit",
1315
- "cycling"
1316
- ]).optional(),
1317
- hl: z.string().optional(),
1318
- gl: z.string().optional()
1319
- }),
1320
- output: z.object({
1321
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1322
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1323
- directions: z.array(z.record(z.string(), z.unknown())).optional()
1324
- }).passthrough(),
1325
- run: async (input, credentials) => {
1326
- return await serpApiSearch(credentials, "google_maps_directions", input);
1327
- }
1328
- });
1329
- const googleMapsDirectionsTool = googleMapsDirections;
1330
-
1331
- //#endregion
1332
- //#region src/google/maps-photo-meta.ts
1333
- const googleMapsPhotoMeta = serpApiOperation({
1334
- id: "serpapi.google-maps-photo-meta",
1335
- name: "Google Maps Photo Meta",
1336
- description: "Get Google Maps photo metadata via SerpApi",
1337
- input: z.object({
1338
- data_id: z.string(),
1339
- hl: z.string().optional(),
1340
- gl: z.string().optional()
1341
- }),
1342
- output: z.object({
1343
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1344
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1345
- photos: z.array(z.record(z.string(), z.unknown())).optional()
1346
- }).passthrough(),
1347
- run: async (input, credentials) => {
1348
- return await serpApiSearch(credentials, "google_maps_photo_meta", input);
1349
- }
1350
- });
1351
- const googleMapsPhotoMetaTool = googleMapsPhotoMeta;
1352
-
1353
- //#endregion
1354
- //#region src/google/maps-photos.ts
1355
- const googleMapsPhotos = serpApiOperation({
1356
- id: "serpapi.google-maps-photos",
1357
- name: "Google Maps Photos",
1358
- description: "Get Google Maps photos via SerpApi",
1359
- input: z.object({
1360
- data_id: z.string(),
1361
- category_id: z.string().optional(),
1362
- hl: z.string().optional(),
1363
- gl: z.string().optional(),
1364
- next_page_token: z.string().optional()
1365
- }),
1366
- output: z.object({
1367
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1368
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1369
- photos: z.array(z.record(z.string(), z.unknown())).optional()
1370
- }).passthrough(),
1371
- run: async (input, credentials) => {
1372
- return await serpApiSearch(credentials, "google_maps_photos", input);
1373
- }
1374
- });
1375
- const googleMapsPhotosTool = googleMapsPhotos;
1376
-
1377
- //#endregion
1378
- //#region src/google/maps-posts.ts
1379
- const googleMapsPosts = serpApiOperation({
1380
- id: "serpapi.google-maps-posts",
1381
- name: "Google Maps Posts",
1382
- description: "Get Google Maps posts via SerpApi",
1383
- input: z.object({
1384
- data_id: z.string(),
1385
- hl: z.string().optional(),
1386
- gl: z.string().optional(),
1387
- next_page_token: z.string().optional()
1388
- }),
1389
- output: z.object({
1390
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1391
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1392
- posts: z.array(z.record(z.string(), z.unknown())).optional()
1393
- }).passthrough(),
1394
- run: async (input, credentials) => {
1395
- return await serpApiSearch(credentials, "google_maps_posts", input);
1396
- }
1397
- });
1398
- const googleMapsPostsTool = googleMapsPosts;
1399
-
1400
- //#endregion
1401
- //#region src/google/maps-reviews.ts
1402
- const googleMapsReviews = serpApiOperation({
1403
- id: "serpapi.google-maps-reviews",
1404
- name: "Google Maps Reviews",
1405
- description: "Get Google Maps reviews via SerpApi",
1406
- input: z.object({
1407
- data_id: z.string(),
1408
- place_id: z.string().optional(),
1409
- hl: z.string().optional(),
1410
- sort_by: z.number().optional(),
1411
- topic_id: z.string().optional(),
1412
- next_page_token: z.string().optional()
1413
- }),
1414
- output: z.object({
1415
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1416
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1417
- reviews: z.array(z.record(z.string(), z.unknown())).optional(),
1418
- topics: z.array(z.record(z.string(), z.unknown())).optional(),
1419
- rating_distribution: z.record(z.string(), z.unknown()).optional()
1420
- }).passthrough(),
1421
- run: async (input, credentials) => {
1422
- return await serpApiSearch(credentials, "google_maps_reviews", input);
1423
- }
1424
- });
1425
- const googleMapsReviewsTool = googleMapsReviews;
1426
-
1427
- //#endregion
1428
- //#region src/google/news.ts
1429
- const googleNews = serpApiOperation({
1430
- id: "serpapi.google-news",
1431
- name: "Google News Search",
1432
- description: "Search Google News via SerpApi",
1433
- input: z.object({
1434
- q: z.string(),
1435
- gl: z.string().optional(),
1436
- hl: z.string().optional(),
1437
- topic_token: z.string().optional(),
1438
- device: z.string().optional()
1439
- }),
1440
- output: z.object({
1441
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1442
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1443
- news_results: z.array(z.record(z.string(), z.unknown())).optional()
1444
- }).passthrough(),
1445
- run: async (input, credentials) => {
1446
- return await serpApiSearch(credentials, "google_news", input);
1447
- }
1448
- });
1449
- const googleNewsTool = googleNews;
1450
-
1451
- //#endregion
1452
- //#region src/google/news-light.ts
1453
- const googleNewsLight = serpApiOperation({
1454
- id: "serpapi.google-news-light",
1455
- name: "Google News Light Search",
1456
- description: "Search Google News Light via SerpApi",
1457
- input: z.object({
1458
- q: z.string(),
1459
- gl: z.string().optional(),
1460
- hl: z.string().optional(),
1461
- device: z.string().optional()
1462
- }),
1463
- output: z.object({
1464
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1465
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1466
- top_stories: z.array(z.record(z.string(), z.unknown())).optional()
1467
- }).passthrough(),
1468
- run: async (input, credentials) => {
1469
- return await serpApiSearch(credentials, "google_news_light", input);
1470
- }
1471
- });
1472
- const googleNewsLightTool = googleNewsLight;
1473
-
1474
- //#endregion
1475
- //#region src/google/patents.ts
1476
- const googlePatents = serpApiOperation({
1477
- id: "serpapi.google-patents",
1478
- name: "Google Patents Search",
1479
- description: "Search Google Patents via SerpApi",
1480
- input: z.object({
1481
- q: z.string(),
1482
- page: z.number().optional(),
1483
- scholar: z.boolean().optional(),
1484
- before: z.string().optional(),
1485
- after: z.string().optional(),
1486
- inventor: z.string().optional(),
1487
- assignee: z.string().optional(),
1488
- country: z.string().optional(),
1489
- language: z.string().optional(),
1490
- status: z.string().optional(),
1491
- type: z.string().optional(),
1492
- litigation: z.boolean().optional()
1493
- }),
1494
- output: z.object({
1495
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1496
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1497
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
1498
- }).passthrough(),
1499
- run: async (input, credentials) => {
1500
- return await serpApiSearch(credentials, "google_patents", input);
1501
- }
1502
- });
1503
- const googlePatentsTool = googlePatents;
1504
-
1505
- //#endregion
1506
- //#region src/google/patents-details.ts
1507
- const googlePatentsDetails = serpApiOperation({
1508
- id: "serpapi.google-patents-details",
1509
- name: "Google Patents Details",
1510
- description: "Get Google Patents details via SerpApi",
1511
- input: z.object({ patent_id: z.string() }),
1512
- output: z.object({
1513
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1514
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1515
- patent: z.record(z.string(), z.unknown()).optional()
1516
- }).passthrough(),
1517
- run: async (input, credentials) => {
1518
- return await serpApiSearch(credentials, "google_patents_details", input);
1519
- }
1520
- });
1521
- const googlePatentsDetailsTool = googlePatentsDetails;
1522
-
1523
- //#endregion
1524
- //#region src/google/play.ts
1525
- const googlePlay = serpApiOperation({
1526
- id: "serpapi.google-play",
1527
- name: "Google Play Search",
1528
- description: "Search Google Play via SerpApi",
1529
- input: z.object({
1530
- q: z.string(),
1531
- store: z.enum([
1532
- "apps",
1533
- "books",
1534
- "movies",
1535
- "games"
1536
- ]),
1537
- gl: z.string().optional(),
1538
- hl: z.string().optional(),
1539
- price: z.number().optional(),
1540
- age: z.string().optional(),
1541
- content_rating: z.string().optional(),
1542
- device: z.string().optional()
1543
- }),
1544
- output: z.object({
1545
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1546
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1547
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
1548
- }).passthrough(),
1549
- run: async (input, credentials) => {
1550
- return await serpApiSearch(credentials, "google_play", input);
1551
- }
1552
- });
1553
- const googlePlayTool = googlePlay;
1554
-
1555
- //#endregion
1556
- //#region src/google/play-books.ts
1557
- const googlePlayBooks = serpApiOperation({
1558
- id: "serpapi.google-play-books",
1559
- name: "Google Play Books Search",
1560
- description: "Search Google Play Books via SerpApi",
1561
- input: z.object({
1562
- q: z.string(),
1563
- gl: z.string().optional(),
1564
- hl: z.string().optional()
1565
- }),
1566
- output: z.object({
1567
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1568
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1569
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
1570
- }).passthrough(),
1571
- run: async (input, credentials) => {
1572
- return await serpApiSearch(credentials, "google_play_books", input);
1573
- }
1574
- });
1575
- const googlePlayBooksTool = googlePlayBooks;
1576
-
1577
- //#endregion
1578
- //#region src/google/play-games.ts
1579
- const googlePlayGames = serpApiOperation({
1580
- id: "serpapi.google-play-games",
1581
- name: "Google Play Games Search",
1582
- description: "Search Google Play Games via SerpApi",
1583
- input: z.object({
1584
- q: z.string(),
1585
- gl: z.string().optional(),
1586
- hl: z.string().optional()
1587
- }),
1588
- output: z.object({
1589
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1590
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1591
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
1592
- }).passthrough(),
1593
- run: async (input, credentials) => {
1594
- return await serpApiSearch(credentials, "google_play_games", input);
1595
- }
1596
- });
1597
- const googlePlayGamesTool = googlePlayGames;
1598
-
1599
- //#endregion
1600
- //#region src/google/play-movies.ts
1601
- const googlePlayMovies = serpApiOperation({
1602
- id: "serpapi.google-play-movies",
1603
- name: "Google Play Movies Search",
1604
- description: "Search Google Play Movies via SerpApi",
1605
- input: z.object({
1606
- q: z.string(),
1607
- gl: z.string().optional(),
1608
- hl: z.string().optional()
1609
- }),
1610
- output: z.object({
1611
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1612
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1613
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
1614
- }).passthrough(),
1615
- run: async (input, credentials) => {
1616
- return await serpApiSearch(credentials, "google_play_movies", input);
1617
- }
1618
- });
1619
- const googlePlayMoviesTool = googlePlayMovies;
1620
-
1621
- //#endregion
1622
- //#region src/google/play-product.ts
1623
- const googlePlayProduct = serpApiOperation({
1624
- id: "serpapi.google-play-product",
1625
- name: "Google Play Product",
1626
- description: "Get Google Play product details via SerpApi",
1627
- input: z.object({
1628
- product_id: z.string(),
1629
- store: z.enum([
1630
- "apps",
1631
- "books",
1632
- "movies",
1633
- "games"
1634
- ]),
1635
- gl: z.string().optional(),
1636
- hl: z.string().optional()
1637
- }),
1638
- output: z.object({
1639
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1640
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1641
- product: z.record(z.string(), z.unknown()).optional()
1642
- }).passthrough(),
1643
- run: async (input, credentials) => {
1644
- return await serpApiSearch(credentials, "google_play_product", input);
1645
- }
1646
- });
1647
- const googlePlayProductTool = googlePlayProduct;
1648
-
1649
- //#endregion
1650
- //#region src/google/related-questions.ts
1651
- const googleRelatedQuestions = serpApiOperation({
1652
- id: "serpapi.google-related-questions",
1653
- name: "Google Related Questions",
1654
- description: "Search Google Related Questions via SerpApi",
1655
- input: z.object({
1656
- q: z.string(),
1657
- gl: z.string().optional(),
1658
- hl: z.string().optional(),
1659
- device: z.string().optional()
1660
- }),
1661
- output: z.object({
1662
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1663
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1664
- related_questions: z.array(z.record(z.string(), z.unknown())).optional()
1665
- }).passthrough(),
1666
- run: async (input, credentials) => {
1667
- return await serpApiSearch(credentials, "google_related_questions", input);
1668
- }
1669
- });
1670
- const googleRelatedQuestionsTool = googleRelatedQuestions;
1671
-
1672
- //#endregion
1673
- //#region src/google/reverse-image.ts
1674
- const googleReverseImage = serpApiOperation({
1675
- id: "serpapi.google-reverse-image",
1676
- name: "Google Reverse Image Search",
1677
- description: "Search Google Reverse Image via SerpApi",
1678
- input: z.object({
1679
- image_url: z.string(),
1680
- gl: z.string().optional(),
1681
- hl: z.string().optional(),
1682
- device: z.string().optional()
1683
- }),
1684
- output: z.object({
1685
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1686
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1687
- image_results: z.array(z.record(z.string(), z.unknown())).optional(),
1688
- inline_images: z.array(z.record(z.string(), z.unknown())).optional()
1689
- }).passthrough(),
1690
- run: async (input, credentials) => {
1691
- return await serpApiSearch(credentials, "google_reverse_image", input);
1692
- }
1693
- });
1694
- const googleReverseImageTool = googleReverseImage;
1695
-
1696
- //#endregion
1697
- //#region src/google/scholar.ts
1698
- const googleScholar = serpApiOperation({
1699
- id: "serpapi.google-scholar",
1700
- name: "Google Scholar Search",
1701
- description: "Search Google Scholar via SerpApi",
1702
- input: z.object({
1703
- q: z.string(),
1704
- cites: z.string().optional(),
1705
- as_ylo: z.number().optional(),
1706
- as_yhi: z.number().optional(),
1707
- scisbd: z.number().optional(),
1708
- cluster: z.string().optional(),
1709
- hl: z.string().optional(),
1710
- lr: z.string().optional(),
1711
- start: z.number().optional(),
1712
- num: z.number().optional(),
1713
- as_sdt: z.string().optional(),
1714
- device: z.string().optional()
1715
- }),
1716
- output: z.object({
1717
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1718
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1719
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
1720
- cited_by: z.record(z.string(), z.unknown()).optional()
1721
- }).passthrough(),
1722
- run: async (input, credentials) => {
1723
- return await serpApiSearch(credentials, "google_scholar", input);
1724
- }
1725
- });
1726
- const googleScholarTool = googleScholar;
1727
-
1728
- //#endregion
1729
- //#region src/google/scholar-author.ts
1730
- const googleScholarAuthor = serpApiOperation({
1731
- id: "serpapi.google-scholar-author",
1732
- name: "Google Scholar Author",
1733
- description: "Get Google Scholar author details via SerpApi",
1734
- input: z.object({
1735
- author_id: z.string(),
1736
- hl: z.string().optional(),
1737
- start: z.number().optional(),
1738
- num: z.number().optional(),
1739
- sort: z.string().optional()
1740
- }),
1741
- output: z.object({
1742
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1743
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1744
- author: z.record(z.string(), z.unknown()).optional(),
1745
- articles: z.array(z.record(z.string(), z.unknown())).optional(),
1746
- cited_by: z.record(z.string(), z.unknown()).optional()
1747
- }).passthrough(),
1748
- run: async (input, credentials) => {
1749
- return await serpApiSearch(credentials, "google_scholar_author", input);
1750
- }
1751
- });
1752
- const googleScholarAuthorTool = googleScholarAuthor;
1753
-
1754
- //#endregion
1755
- //#region src/google/scholar-cite.ts
1756
- const googleScholarCite = serpApiOperation({
1757
- id: "serpapi.google-scholar-cite",
1758
- name: "Google Scholar Cite",
1759
- description: "Get Google Scholar citation details via SerpApi",
1760
- input: z.object({
1761
- q: z.string(),
1762
- hl: z.string().optional()
1763
- }),
1764
- output: z.object({
1765
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1766
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1767
- citations: z.array(z.record(z.string(), z.unknown())).optional(),
1768
- links: z.array(z.record(z.string(), z.unknown())).optional()
1769
- }).passthrough(),
1770
- run: async (input, credentials) => {
1771
- return await serpApiSearch(credentials, "google_scholar_cite", input);
1772
- }
1773
- });
1774
- const googleScholarCiteTool = googleScholarCite;
1775
-
1776
- //#endregion
1777
- //#region src/google/scholar-profiles.ts
1778
- const googleScholarProfiles = serpApiOperation({
1779
- id: "serpapi.google-scholar-profiles",
1780
- name: "Google Scholar Profiles Search",
1781
- description: "Search Google Scholar Profiles via SerpApi",
1782
- input: z.object({
1783
- mauthors: z.string(),
1784
- hl: z.string().optional(),
1785
- after_author: z.string().optional(),
1786
- before_author: z.string().optional()
1787
- }),
1788
- output: z.object({
1789
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1790
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1791
- profiles: z.array(z.record(z.string(), z.unknown())).optional()
1792
- }).passthrough(),
1793
- run: async (input, credentials) => {
1794
- return await serpApiSearch(credentials, "google_scholar_profiles", input);
1795
- }
1796
- });
1797
- const googleScholarProfilesTool = googleScholarProfiles;
1798
-
1799
- //#endregion
1800
- //#region src/google/search.ts
1801
- const googleSearch = serpApiOperation({
1802
- id: "serpapi.google-search",
1803
- name: "Google Search",
1804
- description: "Search Google via SerpApi",
1805
- input: z.object({
1806
- q: z.string(),
1807
- location: z.string().optional(),
1808
- uule: z.string().optional(),
1809
- google_domain: z.string().optional(),
1810
- gl: z.string().optional(),
1811
- hl: z.string().optional(),
1812
- lr: z.string().optional(),
1813
- cr: z.string().optional(),
1814
- tbs: z.string().optional(),
1815
- safe: z.string().optional(),
1816
- nfpr: z.number().optional(),
1817
- filter: z.number().optional(),
1818
- tbm: z.string().optional(),
1819
- start: z.number().optional(),
1820
- num: z.number().optional(),
1821
- device: z.string().optional()
1822
- }),
1823
- output: z.object({
1824
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1825
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1826
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
1827
- local_results: z.record(z.string(), z.unknown()).optional(),
1828
- local_map: z.record(z.string(), z.unknown()).optional(),
1829
- knowledge_graph: z.record(z.string(), z.unknown()).optional(),
1830
- answer_box: z.record(z.string(), z.unknown()).optional(),
1831
- ai_overview: z.record(z.string(), z.unknown()).optional(),
1832
- related_questions: z.array(z.record(z.string(), z.unknown())).optional(),
1833
- related_searches: z.array(z.record(z.string(), z.unknown())).optional(),
1834
- shopping_results: z.array(z.record(z.string(), z.unknown())).optional(),
1835
- news_results: z.array(z.record(z.string(), z.unknown())).optional(),
1836
- inline_videos: z.array(z.record(z.string(), z.unknown())).optional(),
1837
- inline_images: z.array(z.record(z.string(), z.unknown())).optional(),
1838
- ads: z.array(z.record(z.string(), z.unknown())).optional(),
1839
- pagination: z.record(z.string(), z.unknown()).optional()
1840
- }).passthrough(),
1841
- run: async (input, credentials) => {
1842
- return await serpApiSearch(credentials, "google", input);
1843
- }
1844
- });
1845
- const googleSearchTool = googleSearch;
1846
-
1847
- //#endregion
1848
- //#region src/google/shopping.ts
1849
- const googleShopping = serpApiOperation({
1850
- id: "serpapi.google-shopping",
1851
- name: "Google Shopping Search",
1852
- description: "Search Google Shopping via SerpApi",
1853
- input: z.object({
1854
- q: z.string(),
1855
- location: z.string().optional(),
1856
- gl: z.string().optional(),
1857
- hl: z.string().optional(),
1858
- tbs: z.string().optional(),
1859
- start: z.number().optional(),
1860
- device: z.string().optional()
1861
- }),
1862
- output: z.object({
1863
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1864
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1865
- shopping_results: z.array(z.record(z.string(), z.unknown())).optional(),
1866
- filters_results: z.array(z.record(z.string(), z.unknown())).optional()
1867
- }).passthrough(),
1868
- run: async (input, credentials) => {
1869
- return await serpApiSearch(credentials, "google_shopping", input);
1870
- }
1871
- });
1872
- const googleShoppingTool = googleShopping;
1873
-
1874
- //#endregion
1875
- //#region src/google/shopping-light.ts
1876
- const googleShoppingLight = serpApiOperation({
1877
- id: "serpapi.google-shopping-light",
1878
- name: "Google Shopping Light Search",
1879
- description: "Search Google Shopping Light via SerpApi",
1880
- input: z.object({
1881
- q: z.string(),
1882
- gl: z.string().optional(),
1883
- hl: z.string().optional(),
1884
- tbs: z.string().optional(),
1885
- device: z.string().optional()
1886
- }),
1887
- output: z.object({
1888
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1889
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1890
- shopping_results: z.array(z.record(z.string(), z.unknown())).optional()
1891
- }).passthrough(),
1892
- run: async (input, credentials) => {
1893
- return await serpApiSearch(credentials, "google_shopping_light", input);
1894
- }
1895
- });
1896
- const googleShoppingLightTool = googleShoppingLight;
1897
-
1898
- //#endregion
1899
- //#region src/google/short-videos.ts
1900
- const googleShortVideos = serpApiOperation({
1901
- id: "serpapi.google-short-videos",
1902
- name: "Google Short Videos Search",
1903
- description: "Search Google Short Videos via SerpApi",
1904
- input: z.object({
1905
- q: z.string(),
1906
- gl: z.string().optional(),
1907
- hl: z.string().optional(),
1908
- device: z.string().optional()
1909
- }),
1910
- output: z.object({
1911
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1912
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1913
- short_videos_results: z.array(z.record(z.string(), z.unknown())).optional()
1914
- }).passthrough(),
1915
- run: async (input, credentials) => {
1916
- return await serpApiSearch(credentials, "google_short_videos", input);
1917
- }
1918
- });
1919
- const googleShortVideosTool = googleShortVideos;
1920
-
1921
- //#endregion
1922
- //#region src/google/travel-explore.ts
1923
- const googleTravelExplore = serpApiOperation({
1924
- id: "serpapi.google-travel-explore",
1925
- name: "Google Travel Explore",
1926
- description: "Explore Google Travel destinations via SerpApi",
1927
- input: z.object({
1928
- departure_token: z.string().optional(),
1929
- gl: z.string().optional(),
1930
- hl: z.string().optional(),
1931
- currency: z.string().optional()
1932
- }),
1933
- output: z.object({
1934
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1935
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1936
- destinations: z.array(z.record(z.string(), z.unknown())).optional(),
1937
- flights: z.array(z.record(z.string(), z.unknown())).optional()
1938
- }).passthrough(),
1939
- run: async (input, credentials) => {
1940
- return await serpApiSearch(credentials, "google_travel_explore", input);
1941
- }
1942
- });
1943
- const googleTravelExploreTool = googleTravelExplore;
1944
-
1945
- //#endregion
1946
- //#region src/google/trends.ts
1947
- const googleTrends = serpApiOperation({
1948
- id: "serpapi.google-trends",
1949
- name: "Google Trends Search",
1950
- description: "Search Google Trends via SerpApi",
1951
- input: z.object({
1952
- q: z.string(),
1953
- data_type: z.enum([
1954
- "TIMESERIES",
1955
- "GEO_MAP",
1956
- "GEO_MAP_0",
1957
- "RELATED_TOPICS",
1958
- "RELATED_QUERIES"
1959
- ]).optional(),
1960
- date: z.string().optional(),
1961
- tz: z.number().optional(),
1962
- geo: z.string().optional(),
1963
- gprop: z.string().optional(),
1964
- cat: z.number().optional()
1965
- }),
1966
- output: z.object({
1967
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1968
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1969
- interest_over_time: z.record(z.string(), z.unknown()).optional(),
1970
- compared_breakdown_by_region: z.array(z.record(z.string(), z.unknown())).optional(),
1971
- related_topics: z.record(z.string(), z.unknown()).optional(),
1972
- related_queries: z.record(z.string(), z.unknown()).optional()
1973
- }).passthrough(),
1974
- run: async (input, credentials) => {
1975
- return await serpApiSearch(credentials, "google_trends", input);
1976
- }
1977
- });
1978
- const googleTrendsTool = googleTrends;
1979
-
1980
- //#endregion
1981
- //#region src/google/trends-autocomplete.ts
1982
- const googleTrendsAutocomplete = serpApiOperation({
1983
- id: "serpapi.google-trends-autocomplete",
1984
- name: "Google Trends Autocomplete",
1985
- description: "Search Google Trends Autocomplete via SerpApi",
1986
- input: z.object({
1987
- q: z.string(),
1988
- hl: z.string().optional()
1989
- }),
1990
- output: z.object({
1991
- search_metadata: z.record(z.string(), z.unknown()).optional(),
1992
- search_parameters: z.record(z.string(), z.unknown()).optional(),
1993
- suggestions: z.array(z.record(z.string(), z.unknown())).optional()
1994
- }).passthrough(),
1995
- run: async (input, credentials) => {
1996
- return await serpApiSearch(credentials, "google_trends_autocomplete", input);
1997
- }
1998
- });
1999
- const googleTrendsAutocompleteTool = googleTrendsAutocomplete;
2000
-
2001
- //#endregion
2002
- //#region src/google/trends-news.ts
2003
- const googleTrendsNews = serpApiOperation({
2004
- id: "serpapi.google-trends-news",
2005
- name: "Google Trends News",
2006
- description: "Get Google Trends news via SerpApi",
2007
- input: z.object({
2008
- q: z.string(),
2009
- date: z.string().optional(),
2010
- geo: z.string().optional(),
2011
- hl: z.string().optional()
2012
- }),
2013
- output: z.object({
2014
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2015
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2016
- news_results: z.array(z.record(z.string(), z.unknown())).optional()
2017
- }).passthrough(),
2018
- run: async (input, credentials) => {
2019
- return await serpApiSearch(credentials, "google_trends_news", input);
2020
- }
2021
- });
2022
- const googleTrendsNewsTool = googleTrendsNews;
2023
-
2024
- //#endregion
2025
- //#region src/google/trends-trending-now.ts
2026
- const googleTrendsTrendingNow = serpApiOperation({
2027
- id: "serpapi.google-trends-trending-now",
2028
- name: "Google Trends Trending Now",
2029
- description: "Get Google Trends trending searches via SerpApi",
2030
- input: z.object({
2031
- geo: z.string().optional(),
2032
- hl: z.string().optional(),
2033
- date: z.string().optional()
2034
- }),
2035
- output: z.object({
2036
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2037
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2038
- trending_searches: z.array(z.record(z.string(), z.unknown())).optional()
2039
- }).passthrough(),
2040
- run: async (input, credentials) => {
2041
- return await serpApiSearch(credentials, "google_trends_trending_now", input);
2042
- }
2043
- });
2044
- const googleTrendsTrendingNowTool = googleTrendsTrendingNow;
2045
-
2046
- //#endregion
2047
- //#region src/google/videos.ts
2048
- const googleVideos = serpApiOperation({
2049
- id: "serpapi.google-videos",
2050
- name: "Google Videos Search",
2051
- description: "Search Google Videos via SerpApi",
2052
- input: z.object({
2053
- q: z.string(),
2054
- location: z.string().optional(),
2055
- gl: z.string().optional(),
2056
- hl: z.string().optional(),
2057
- tbs: z.string().optional(),
2058
- device: z.string().optional()
2059
- }),
2060
- output: z.object({
2061
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2062
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2063
- video_results: z.array(z.record(z.string(), z.unknown())).optional()
2064
- }).passthrough(),
2065
- run: async (input, credentials) => {
2066
- return await serpApiSearch(credentials, "google_videos", input);
2067
- }
2068
- });
2069
- const googleVideosTool = googleVideos;
2070
-
2071
- //#endregion
2072
- //#region src/google/videos-light.ts
2073
- const googleVideosLight = serpApiOperation({
2074
- id: "serpapi.google-videos-light",
2075
- name: "Google Videos Light Search",
2076
- description: "Search Google Videos Light via SerpApi",
2077
- input: z.object({
2078
- q: z.string(),
2079
- gl: z.string().optional(),
2080
- hl: z.string().optional(),
2081
- device: z.string().optional()
2082
- }),
2083
- output: z.object({
2084
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2085
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2086
- video_results: z.array(z.record(z.string(), z.unknown())).optional()
2087
- }).passthrough(),
2088
- run: async (input, credentials) => {
2089
- return await serpApiSearch(credentials, "google_videos_light", input);
2090
- }
2091
- });
2092
- const googleVideosLightTool = googleVideosLight;
2093
-
2094
- //#endregion
2095
- //#region src/home-depot/product.ts
2096
- const homeDepotProduct = serpApiOperation({
2097
- id: "serpapi.home-depot-product",
2098
- name: "Home Depot Product",
2099
- description: "Get Home Depot product details via SerpApi",
2100
- input: z.object({ product_id: z.string() }),
2101
- output: z.object({
2102
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2103
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2104
- product: z.record(z.string(), z.unknown()).optional()
2105
- }).passthrough(),
2106
- run: async (input, credentials) => {
2107
- return await serpApiSearch(credentials, "home_depot_product", input);
2108
- }
2109
- });
2110
- const homeDepotProductTool = homeDepotProduct;
2111
-
2112
- //#endregion
2113
- //#region src/home-depot/product-reviews.ts
2114
- const homeDepotProductReviews = serpApiOperation({
2115
- id: "serpapi.home-depot-product-reviews",
2116
- name: "Home Depot Product Reviews",
2117
- description: "Get Home Depot product reviews via SerpApi",
2118
- input: z.object({
2119
- product_id: z.string(),
2120
- sort_by: z.string().optional(),
2121
- page: z.number().optional()
2122
- }),
2123
- output: z.object({
2124
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2125
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2126
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
2127
- }).passthrough(),
2128
- run: async (input, credentials) => {
2129
- return await serpApiSearch(credentials, "home_depot_product_reviews", input);
2130
- }
2131
- });
2132
- const homeDepotProductReviewsTool = homeDepotProductReviews;
2133
-
2134
- //#endregion
2135
- //#region src/home-depot/search.ts
2136
- const homeDepotSearch = serpApiOperation({
2137
- id: "serpapi.home-depot-search",
2138
- name: "Home Depot Search",
2139
- description: "Search Home Depot via SerpApi",
2140
- input: z.object({
2141
- q: z.string(),
2142
- nao: z.number().optional(),
2143
- ps: z.number().optional(),
2144
- lowerbound: z.number().optional(),
2145
- upperbound: z.number().optional(),
2146
- sortby: z.string().optional(),
2147
- sortorder: z.string().optional()
2148
- }),
2149
- output: z.object({
2150
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2151
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2152
- products: z.array(z.record(z.string(), z.unknown())).optional(),
2153
- filtering: z.record(z.string(), z.unknown()).optional()
2154
- }).passthrough(),
2155
- run: async (input, credentials) => {
2156
- return await serpApiSearch(credentials, "home_depot", input);
2157
- }
2158
- });
2159
- const homeDepotSearchTool = homeDepotSearch;
2160
-
2161
- //#endregion
2162
- //#region src/naver/ai-overview.ts
2163
- const naverAiOverview = serpApiOperation({
2164
- id: "serpapi.naver-ai-overview",
2165
- name: "Naver AI Overview",
2166
- description: "Get Naver AI Overview via SerpApi",
2167
- input: z.object({ q: z.string() }),
2168
- output: z.object({
2169
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2170
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2171
- ai_overview: z.record(z.string(), z.unknown()).optional()
2172
- }).passthrough(),
2173
- run: async (input, credentials) => {
2174
- return await serpApiSearch(credentials, "naver_ai_overview", input);
2175
- }
2176
- });
2177
- const naverAiOverviewTool = naverAiOverview;
2178
-
2179
- //#endregion
2180
- //#region src/naver/search.ts
2181
- const naverSearch = serpApiOperation({
2182
- id: "serpapi.naver-search",
2183
- name: "Naver Search",
2184
- description: "Search Naver via SerpApi",
2185
- input: z.object({
2186
- query: z.string(),
2187
- where: z.string().optional()
2188
- }),
2189
- output: z.object({
2190
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2191
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2192
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
2193
- ad_results: z.array(z.record(z.string(), z.unknown())).optional(),
2194
- ai_overview: z.record(z.string(), z.unknown()).optional(),
2195
- news_results: z.array(z.record(z.string(), z.unknown())).optional(),
2196
- shopping_results: z.array(z.record(z.string(), z.unknown())).optional(),
2197
- video_results: z.array(z.record(z.string(), z.unknown())).optional()
2198
- }).passthrough(),
2199
- run: async (input, credentials) => {
2200
- return await serpApiSearch(credentials, "naver", input);
2201
- }
2202
- });
2203
- const naverSearchTool = naverSearch;
2204
-
2205
- //#endregion
2206
- //#region src/opentable/reviews.ts
2207
- const opentableReviews = serpApiOperation({
2208
- id: "serpapi.opentable-reviews",
2209
- name: "OpenTable Reviews",
2210
- description: "Get OpenTable restaurant reviews via SerpApi",
2211
- input: z.object({
2212
- restaurant_id: z.string(),
2213
- sort_by: z.string().optional(),
2214
- page: z.number().optional()
2215
- }),
2216
- output: z.object({
2217
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2218
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2219
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
2220
- }).passthrough(),
2221
- run: async (input, credentials) => {
2222
- return await serpApiSearch(credentials, "open_table_reviews", input);
2223
- }
2224
- });
2225
- const opentableReviewsTool = opentableReviews;
2226
-
2227
- //#endregion
2228
- //#region src/serpapi/search-index.ts
2229
- const serpApiSearchIndex = serpApiOperation({
2230
- id: "serpapi.search-index",
2231
- name: "SerpApi Search Index",
2232
- description: "Search across SerpApi search index",
2233
- input: z.object({ q: z.string() }),
2234
- output: z.object({
2235
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2236
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2237
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
2238
- }).passthrough(),
2239
- run: async (input, credentials) => {
2240
- return await serpApiSearch(credentials, "search_index", input);
2241
- }
2242
- });
2243
- const serpApiSearchIndexTool = serpApiSearchIndex;
2244
-
2245
- //#endregion
2246
- //#region src/tripadvisor/place.ts
2247
- const tripadvisorPlace = serpApiOperation({
2248
- id: "serpapi.tripadvisor-place",
2249
- name: "TripAdvisor Place",
2250
- description: "Get TripAdvisor place details via SerpApi",
2251
- input: z.object({
2252
- place_id: z.string(),
2253
- domain: z.string().optional()
2254
- }),
2255
- output: z.object({
2256
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2257
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2258
- place: z.record(z.string(), z.unknown()).optional()
2259
- }).passthrough(),
2260
- run: async (input, credentials) => {
2261
- return await serpApiSearch(credentials, "tripadvisor_place", input);
2262
- }
2263
- });
2264
- const tripadvisorPlaceTool = tripadvisorPlace;
2265
-
2266
- //#endregion
2267
- //#region src/tripadvisor/reviews.ts
2268
- const tripadvisorReviews = serpApiOperation({
2269
- id: "serpapi.tripadvisor-reviews",
2270
- name: "TripAdvisor Reviews",
2271
- description: "Get TripAdvisor place reviews via SerpApi",
2272
- input: z.object({
2273
- place_id: z.string(),
2274
- domain: z.string().optional(),
2275
- sort_by: z.string().optional(),
2276
- page: z.number().optional()
2277
- }),
2278
- output: z.object({
2279
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2280
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2281
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
2282
- }).passthrough(),
2283
- run: async (input, credentials) => {
2284
- return await serpApiSearch(credentials, "tripadvisor_reviews", input);
2285
- }
2286
- });
2287
- const tripadvisorReviewsTool = tripadvisorReviews;
2288
-
2289
- //#endregion
2290
- //#region src/tripadvisor/search.ts
2291
- const tripadvisorSearch = serpApiOperation({
2292
- id: "serpapi.tripadvisor-search",
2293
- name: "TripAdvisor Search",
2294
- description: "Search TripAdvisor via SerpApi",
2295
- input: z.object({
2296
- q: z.string(),
2297
- domain: z.string().optional(),
2298
- page: z.number().optional()
2299
- }),
2300
- output: z.object({
2301
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2302
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2303
- organic_results: z.array(z.record(z.string(), z.unknown())).optional()
2304
- }).passthrough(),
2305
- run: async (input, credentials) => {
2306
- return await serpApiSearch(credentials, "tripadvisor", input);
2307
- }
2308
- });
2309
- const tripadvisorSearchTool = tripadvisorSearch;
2310
-
2311
- //#endregion
2312
- //#region src/utility/account.ts
2313
- const serpApiAccount = serpApiOperation({
2314
- id: "serpapi.account",
2315
- name: "SerpApi Account",
2316
- description: "Get SerpApi account information",
2317
- input: z.object({}),
2318
- output: z.object({
2319
- account_id: z.string().optional(),
2320
- account_email: z.string().optional(),
2321
- plan_name: z.string().optional(),
2322
- searches_per_month: z.number().optional(),
2323
- total_searches_left: z.number().optional()
2324
- }).passthrough(),
2325
- run: async (_input, credentials) => {
2326
- return await serpApiGetAccount(credentials);
2327
- }
2328
- });
2329
- const serpApiAccountTool = serpApiAccount;
2330
-
2331
- //#endregion
2332
- //#region src/utility/locations.ts
2333
- const serpApiLocations = serpApiOperation({
2334
- id: "serpapi.locations",
2335
- name: "SerpApi Locations",
2336
- description: "Get supported SerpApi locations",
2337
- input: z.object({
2338
- q: z.string().optional(),
2339
- limit: z.number().optional()
2340
- }),
2341
- output: z.object({ locations: z.array(z.record(z.string(), z.unknown())) }).passthrough(),
2342
- run: async (input, _credentials) => {
2343
- return { locations: await serpApiGetLocations(input) };
2344
- }
2345
- });
2346
- const serpApiLocationsTool = serpApiLocations;
2347
-
2348
- //#endregion
2349
- //#region src/utility/search-archive.ts
2350
- const serpApiSearchArchive = serpApiOperation({
2351
- id: "serpapi.search-archive",
2352
- name: "SerpApi Search Archive",
2353
- description: "Retrieve archived SerpApi search results by ID",
2354
- input: z.object({ search_id: z.string() }),
2355
- output: z.record(z.string(), z.unknown()),
2356
- run: async (input, credentials) => {
2357
- return await getJsonBySearchId(input.search_id, { api_key: credentials.SERPAPI_API_KEY });
2358
- }
2359
- });
2360
- const serpApiSearchArchiveTool = serpApiSearchArchive;
2361
-
2362
- //#endregion
2363
- //#region src/walmart/product.ts
2364
- const walmartProduct = serpApiOperation({
2365
- id: "serpapi.walmart-product",
2366
- name: "Walmart Product",
2367
- description: "Get Walmart product details via SerpApi",
2368
- input: z.object({ product_id: z.string() }),
2369
- output: z.object({
2370
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2371
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2372
- product: z.record(z.string(), z.unknown()).optional()
2373
- }).passthrough(),
2374
- run: async (input, credentials) => {
2375
- return await serpApiSearch(credentials, "walmart_product", input);
2376
- }
2377
- });
2378
- const walmartProductTool = walmartProduct;
2379
-
2380
- //#endregion
2381
- //#region src/walmart/product-reviews.ts
2382
- const walmartProductReviews = serpApiOperation({
2383
- id: "serpapi.walmart-product-reviews",
2384
- name: "Walmart Product Reviews",
2385
- description: "Get Walmart product reviews via SerpApi",
2386
- input: z.object({
2387
- product_id: z.string(),
2388
- sort: z.string().optional(),
2389
- page: z.number().optional()
2390
- }),
2391
- output: z.object({
2392
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2393
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2394
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
2395
- }).passthrough(),
2396
- run: async (input, credentials) => {
2397
- return await serpApiSearch(credentials, "walmart_product_reviews", input);
2398
- }
2399
- });
2400
- const walmartProductReviewsTool = walmartProductReviews;
2401
-
2402
- //#endregion
2403
- //#region src/walmart/product-sellers.ts
2404
- const walmartProductSellers = serpApiOperation({
2405
- id: "serpapi.walmart-product-sellers",
2406
- name: "Walmart Product Sellers",
2407
- description: "Get Walmart product sellers via SerpApi",
2408
- input: z.object({
2409
- product_id: z.string(),
2410
- page: z.number().optional()
2411
- }),
2412
- output: z.object({
2413
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2414
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2415
- sellers: z.array(z.record(z.string(), z.unknown())).optional()
2416
- }).passthrough(),
2417
- run: async (input, credentials) => {
2418
- return await serpApiSearch(credentials, "walmart_product_sellers", input);
2419
- }
2420
- });
2421
- const walmartProductSellersTool = walmartProductSellers;
2422
-
2423
- //#endregion
2424
- //#region src/walmart/search.ts
2425
- const walmartSearch = serpApiOperation({
2426
- id: "serpapi.walmart-search",
2427
- name: "Walmart Search",
2428
- description: "Search Walmart via SerpApi",
2429
- input: z.object({
2430
- query: z.string(),
2431
- cat_id: z.string().optional(),
2432
- sort: z.string().optional(),
2433
- soft_sort: z.string().optional(),
2434
- facet: z.string().optional(),
2435
- store_id: z.string().optional(),
2436
- min_price: z.number().optional(),
2437
- max_price: z.number().optional(),
2438
- spelling: z.boolean().optional(),
2439
- page: z.number().optional(),
2440
- include_filters: z.boolean().optional()
2441
- }),
2442
- output: z.object({
2443
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2444
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2445
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
2446
- filters: z.array(z.record(z.string(), z.unknown())).optional(),
2447
- related_queries: z.array(z.record(z.string(), z.unknown())).optional()
2448
- }).passthrough(),
2449
- run: async (input, credentials) => {
2450
- return await serpApiSearch(credentials, "walmart", input);
2451
- }
2452
- });
2453
- const walmartSearchTool = walmartSearch;
2454
-
2455
- //#endregion
2456
- //#region src/yahoo/images.ts
2457
- const yahooImages = serpApiOperation({
2458
- id: "serpapi.yahoo-images",
2459
- name: "Yahoo Images Search",
2460
- description: "Search Yahoo Images via SerpApi",
2461
- input: z.object({
2462
- p: z.string(),
2463
- yahoo_domain: z.string().optional(),
2464
- vl: z.string().optional(),
2465
- vc: z.string().optional()
2466
- }),
2467
- output: z.object({
2468
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2469
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2470
- images_results: z.array(z.record(z.string(), z.unknown())).optional()
2471
- }).passthrough(),
2472
- run: async (input, credentials) => {
2473
- return await serpApiSearch(credentials, "yahoo_images", input);
2474
- }
2475
- });
2476
- const yahooImagesTool = yahooImages;
2477
-
2478
- //#endregion
2479
- //#region src/yahoo/search.ts
2480
- const yahooSearch = serpApiOperation({
2481
- id: "serpapi.yahoo-search",
2482
- name: "Yahoo Search",
2483
- description: "Search Yahoo via SerpApi",
2484
- input: z.object({
2485
- p: z.string(),
2486
- yahoo_domain: z.string().optional(),
2487
- vl: z.string().optional(),
2488
- vc: z.string().optional(),
2489
- vs: z.string().optional(),
2490
- b: z.number().optional(),
2491
- p_ext: z.string().optional()
2492
- }),
2493
- output: z.object({
2494
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2495
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2496
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
2497
- ad_results: z.array(z.record(z.string(), z.unknown())).optional(),
2498
- answer_box: z.record(z.string(), z.unknown()).optional(),
2499
- knowledge_graph: z.record(z.string(), z.unknown()).optional(),
2500
- related_searches: z.array(z.record(z.string(), z.unknown())).optional()
2501
- }).passthrough(),
2502
- run: async (input, credentials) => {
2503
- return await serpApiSearch(credentials, "yahoo", input);
2504
- }
2505
- });
2506
- const yahooSearchTool = yahooSearch;
2507
-
2508
- //#endregion
2509
- //#region src/yahoo/shopping.ts
2510
- const yahooShopping = serpApiOperation({
2511
- id: "serpapi.yahoo-shopping",
2512
- name: "Yahoo Shopping Search",
2513
- description: "Search Yahoo Shopping via SerpApi",
2514
- input: z.object({
2515
- p: z.string(),
2516
- yahoo_domain: z.string().optional(),
2517
- vl: z.string().optional(),
2518
- vc: z.string().optional()
2519
- }),
2520
- output: z.object({
2521
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2522
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2523
- shopping_results: z.array(z.record(z.string(), z.unknown())).optional()
2524
- }).passthrough(),
2525
- run: async (input, credentials) => {
2526
- return await serpApiSearch(credentials, "yahoo_shopping", input);
2527
- }
2528
- });
2529
- const yahooShoppingTool = yahooShopping;
2530
-
2531
- //#endregion
2532
- //#region src/yahoo/videos.ts
2533
- const yahooVideos = serpApiOperation({
2534
- id: "serpapi.yahoo-videos",
2535
- name: "Yahoo Videos Search",
2536
- description: "Search Yahoo Videos via SerpApi",
2537
- input: z.object({
2538
- p: z.string(),
2539
- yahoo_domain: z.string().optional(),
2540
- vl: z.string().optional(),
2541
- vc: z.string().optional()
2542
- }),
2543
- output: z.object({
2544
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2545
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2546
- video_results: z.array(z.record(z.string(), z.unknown())).optional()
2547
- }).passthrough(),
2548
- run: async (input, credentials) => {
2549
- return await serpApiSearch(credentials, "yahoo_videos", input);
2550
- }
2551
- });
2552
- const yahooVideosTool = yahooVideos;
2553
-
2554
- //#endregion
2555
- //#region src/yandex/images.ts
2556
- const yandexImages = serpApiOperation({
2557
- id: "serpapi.yandex-images",
2558
- name: "Yandex Images Search",
2559
- description: "Search Yandex Images via SerpApi",
2560
- input: z.object({
2561
- text: z.string(),
2562
- yandex_domain: z.string().optional(),
2563
- lr: z.string().optional(),
2564
- lang: z.string().optional(),
2565
- p: z.number().optional()
2566
- }),
2567
- output: z.object({
2568
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2569
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2570
- images_results: z.array(z.record(z.string(), z.unknown())).optional()
2571
- }).passthrough(),
2572
- run: async (input, credentials) => {
2573
- return await serpApiSearch(credentials, "yandex_images", input);
2574
- }
2575
- });
2576
- const yandexImagesTool = yandexImages;
2577
-
2578
- //#endregion
2579
- //#region src/yandex/search.ts
2580
- const yandexSearch = serpApiOperation({
2581
- id: "serpapi.yandex-search",
2582
- name: "Yandex Search",
2583
- description: "Search Yandex via SerpApi",
2584
- input: z.object({
2585
- text: z.string(),
2586
- yandex_domain: z.string().optional(),
2587
- lr: z.string().optional(),
2588
- lang: z.string().optional(),
2589
- p: z.number().optional()
2590
- }),
2591
- output: z.object({
2592
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2593
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2594
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
2595
- ad_results: z.array(z.record(z.string(), z.unknown())).optional(),
2596
- knowledge_graph: z.record(z.string(), z.unknown()).optional()
2597
- }).passthrough(),
2598
- run: async (input, credentials) => {
2599
- return await serpApiSearch(credentials, "yandex", input);
2600
- }
2601
- });
2602
- const yandexSearchTool = yandexSearch;
2603
-
2604
- //#endregion
2605
- //#region src/yandex/videos.ts
2606
- const yandexVideos = serpApiOperation({
2607
- id: "serpapi.yandex-videos",
2608
- name: "Yandex Videos Search",
2609
- description: "Search Yandex Videos via SerpApi",
2610
- input: z.object({
2611
- text: z.string(),
2612
- yandex_domain: z.string().optional(),
2613
- lr: z.string().optional(),
2614
- lang: z.string().optional(),
2615
- p: z.number().optional()
2616
- }),
2617
- output: z.object({
2618
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2619
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2620
- video_results: z.array(z.record(z.string(), z.unknown())).optional()
2621
- }).passthrough(),
2622
- run: async (input, credentials) => {
2623
- return await serpApiSearch(credentials, "yandex_videos", input);
2624
- }
2625
- });
2626
- const yandexVideosTool = yandexVideos;
2627
-
2628
- //#endregion
2629
- //#region src/yelp/place.ts
2630
- const yelpPlace = serpApiOperation({
2631
- id: "serpapi.yelp-place",
2632
- name: "Yelp Place",
2633
- description: "Get Yelp place details via SerpApi",
2634
- input: z.object({ place_id: z.string() }),
2635
- output: z.object({
2636
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2637
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2638
- place: z.record(z.string(), z.unknown()).optional()
2639
- }).passthrough(),
2640
- run: async (input, credentials) => {
2641
- return await serpApiSearch(credentials, "yelp_place", input);
2642
- }
2643
- });
2644
- const yelpPlaceTool = yelpPlace;
2645
-
2646
- //#endregion
2647
- //#region src/yelp/reviews.ts
2648
- const yelpReviews = serpApiOperation({
2649
- id: "serpapi.yelp-reviews",
2650
- name: "Yelp Reviews",
2651
- description: "Get Yelp place reviews via SerpApi",
2652
- input: z.object({
2653
- place_id: z.string(),
2654
- sort_by: z.string().optional(),
2655
- start: z.number().optional()
2656
- }),
2657
- output: z.object({
2658
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2659
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2660
- reviews: z.array(z.record(z.string(), z.unknown())).optional()
2661
- }).passthrough(),
2662
- run: async (input, credentials) => {
2663
- return await serpApiSearch(credentials, "yelp_reviews", input);
2664
- }
2665
- });
2666
- const yelpReviewsTool = yelpReviews;
2667
-
2668
- //#endregion
2669
- //#region src/yelp/search.ts
2670
- const yelpSearch = serpApiOperation({
2671
- id: "serpapi.yelp-search",
2672
- name: "Yelp Search",
2673
- description: "Search Yelp via SerpApi",
2674
- input: z.object({
2675
- find_desc: z.string(),
2676
- find_loc: z.string(),
2677
- sortby: z.string().optional(),
2678
- start: z.number().optional(),
2679
- cflt: z.string().optional(),
2680
- attrs: z.string().optional()
2681
- }),
2682
- output: z.object({
2683
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2684
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2685
- organic_results: z.array(z.record(z.string(), z.unknown())).optional(),
2686
- ad_results: z.array(z.record(z.string(), z.unknown())).optional(),
2687
- filters: z.array(z.record(z.string(), z.unknown())).optional()
2688
- }).passthrough(),
2689
- run: async (input, credentials) => {
2690
- return await serpApiSearch(credentials, "yelp", input);
2691
- }
2692
- });
2693
- const yelpSearchTool = yelpSearch;
2694
-
2695
- //#endregion
2696
- //#region src/youtube/search.ts
2697
- const youtubeSearch = serpApiOperation({
2698
- id: "serpapi.youtube-search",
2699
- name: "YouTube Search",
2700
- description: "Search YouTube via SerpApi",
2701
- input: z.object({
2702
- search_query: z.string(),
2703
- gl: z.string().optional(),
2704
- hl: z.string().optional(),
2705
- sp: z.string().optional(),
2706
- page: z.number().optional()
2707
- }),
2708
- output: z.object({
2709
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2710
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2711
- video_results: z.array(z.record(z.string(), z.unknown())).optional(),
2712
- channel_results: z.array(z.record(z.string(), z.unknown())).optional(),
2713
- playlist_results: z.array(z.record(z.string(), z.unknown())).optional(),
2714
- shorts_results: z.array(z.record(z.string(), z.unknown())).optional()
2715
- }).passthrough(),
2716
- run: async (input, credentials) => {
2717
- return await serpApiSearch(credentials, "youtube", input);
2718
- }
2719
- });
2720
- const youtubeSearchTool = youtubeSearch;
2721
-
2722
- //#endregion
2723
- //#region src/youtube/video.ts
2724
- const youtubeVideo = serpApiOperation({
2725
- id: "serpapi.youtube-video",
2726
- name: "YouTube Video",
2727
- description: "Get YouTube video details via SerpApi",
2728
- input: z.object({
2729
- v: z.string(),
2730
- gl: z.string().optional(),
2731
- hl: z.string().optional()
2732
- }),
2733
- output: z.object({
2734
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2735
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2736
- video: z.record(z.string(), z.unknown()).optional(),
2737
- comments: z.array(z.record(z.string(), z.unknown())).optional()
2738
- }).passthrough(),
2739
- run: async (input, credentials) => {
2740
- return await serpApiSearch(credentials, "youtube_video", input);
2741
- }
2742
- });
2743
- const youtubeVideoTool = youtubeVideo;
2744
-
2745
- //#endregion
2746
- //#region src/youtube/video-transcript.ts
2747
- const youtubeVideoTranscript = serpApiOperation({
2748
- id: "serpapi.youtube-video-transcript",
2749
- name: "YouTube Video Transcript",
2750
- description: "Get YouTube video transcript via SerpApi",
2751
- input: z.object({
2752
- v: z.string(),
2753
- lang: z.string().optional()
2754
- }),
2755
- output: z.object({
2756
- search_metadata: z.record(z.string(), z.unknown()).optional(),
2757
- search_parameters: z.record(z.string(), z.unknown()).optional(),
2758
- transcript: z.array(z.record(z.string(), z.unknown())).optional()
2759
- }).passthrough(),
2760
- run: async (input, credentials) => {
2761
- return await serpApiSearch(credentials, "youtube_video_transcript", input);
2762
- }
2763
- });
2764
- const youtubeVideoTranscriptTool = youtubeVideoTranscript;
2765
-
2766
- //#endregion
2767
- export { amazonProduct, amazonProductTool, amazonSearch, amazonSearchTool, appleAppStore, appleAppStoreTool, appleProduct, appleProductTool, appleReviews, appleReviewsTool, baiduSearch, baiduSearchTool, bingCopilot, bingCopilotTool, bingImages, bingImagesTool, bingMaps, bingMapsTool, bingNews, bingNewsTool, bingReverseImage, bingReverseImageTool, bingSearch, bingSearchTool, bingShopping, bingShoppingTool, bingVideos, bingVideosTool, braveAiMode, braveAiModeTool, duckduckgoLight, duckduckgoLightTool, duckduckgoMaps, duckduckgoMapsTool, duckduckgoNews, duckduckgoNewsTool, duckduckgoSearch, duckduckgoSearchAssist, duckduckgoSearchAssistTool, duckduckgoSearchTool, ebayProduct, ebayProductTool, ebaySearch, ebaySearchTool, facebookProfile, facebookProfileTool, googleAdsTransparency, googleAdsTransparencyTool, googleAiMode, googleAiModeTool, googleAiOverview, googleAiOverviewTool, googleAutocomplete, googleAutocompleteTool, googleEvents, googleEventsTool, googleFinance, googleFinanceMarkets, googleFinanceMarketsTool, googleFinanceTool, googleFlights, googleFlightsAutocomplete, googleFlightsAutocompleteTool, googleFlightsTool, googleForums, googleForumsTool, googleHotels, googleHotelsAutocomplete, googleHotelsAutocompleteTool, googleHotelsPhotos, googleHotelsPhotosTool, googleHotelsReviews, googleHotelsReviewsTool, googleHotelsTool, googleImages, googleImagesLight, googleImagesLightTool, googleImagesRelated, googleImagesRelatedTool, googleImagesTool, googleImmersiveProduct, googleImmersiveProductTool, googleJobs, googleJobsListing, googleJobsListingTool, googleJobsTool, googleLens, googleLensTool, googleLightSearch, googleLightSearchTool, googleLocal, googleLocalServices, googleLocalServicesTool, googleLocalTool, googleMaps, googleMapsAutocomplete, googleMapsAutocompleteTool, googleMapsContributorReviews, googleMapsContributorReviewsTool, googleMapsDirections, googleMapsDirectionsTool, googleMapsPhotoMeta, googleMapsPhotoMetaTool, googleMapsPhotos, googleMapsPhotosTool, googleMapsPosts, googleMapsPostsTool, googleMapsReviews, googleMapsReviewsTool, googleMapsTool, googleNews, googleNewsLight, googleNewsLightTool, googleNewsTool, googlePatents, googlePatentsDetails, googlePatentsDetailsTool, googlePatentsTool, googlePlay, googlePlayBooks, googlePlayBooksTool, googlePlayGames, googlePlayGamesTool, googlePlayMovies, googlePlayMoviesTool, googlePlayProduct, googlePlayProductTool, googlePlayTool, googleRelatedQuestions, googleRelatedQuestionsTool, googleReverseImage, googleReverseImageTool, googleScholar, googleScholarAuthor, googleScholarAuthorTool, googleScholarCite, googleScholarCiteTool, googleScholarProfiles, googleScholarProfilesTool, googleScholarTool, googleSearch, googleSearchTool, googleShopping, googleShoppingLight, googleShoppingLightTool, googleShoppingTool, googleShortVideos, googleShortVideosTool, googleTravelExplore, googleTravelExploreTool, googleTrends, googleTrendsAutocomplete, googleTrendsAutocompleteTool, googleTrendsNews, googleTrendsNewsTool, googleTrendsTool, googleTrendsTrendingNow, googleTrendsTrendingNowTool, googleVideos, googleVideosLight, googleVideosLightTool, googleVideosTool, homeDepotProduct, homeDepotProductReviews, homeDepotProductReviewsTool, homeDepotProductTool, homeDepotSearch, homeDepotSearchTool, naverAiOverview, naverAiOverviewTool, naverSearch, naverSearchTool, opentableReviews, opentableReviewsTool, serpApi, serpApiAccount, serpApiAccountTool, serpApiBundle, serpApiGetAccount, serpApiGetLocations, serpApiLocations, serpApiLocationsTool, serpApiOfficialIntegration, serpApiOperation, serpApiSearch, serpApiSearchArchive, serpApiSearchArchiveTool, serpApiSearchIndex, serpApiSearchIndexTool, tripadvisorPlace, tripadvisorPlaceTool, tripadvisorReviews, tripadvisorReviewsTool, tripadvisorSearch, tripadvisorSearchTool, walmartProduct, walmartProductReviews, walmartProductReviewsTool, walmartProductSellers, walmartProductSellersTool, walmartProductTool, walmartSearch, walmartSearchTool, yahooImages, yahooImagesTool, yahooSearch, yahooSearchTool, yahooShopping, yahooShoppingTool, yahooVideos, yahooVideosTool, yandexImages, yandexImagesTool, yandexSearch, yandexSearchTool, yandexVideos, yandexVideosTool, yelpPlace, yelpPlaceTool, yelpReviews, yelpReviewsTool, yelpSearch, yelpSearchTool, youtubeSearch, youtubeSearchTool, youtubeVideo, youtubeVideoTool, youtubeVideoTranscript, youtubeVideoTranscriptTool };
4
+ export { amazonProductOperation, amazonProductOperation as amazonProductTool, amazonSearchOperation, amazonSearchOperation as amazonSearchTool, appleAppStoreOperation, appleAppStoreOperation as appleAppStoreTool, appleProductOperation, appleProductOperation as appleProductTool, appleReviewsOperation, appleReviewsOperation as appleReviewsTool, baiduSearchOperation, baiduSearchOperation as baiduSearchTool, bingCopilotOperation, bingCopilotOperation as bingCopilotTool, bingImagesOperation, bingImagesOperation as bingImagesTool, bingMapsOperation, bingMapsOperation as bingMapsTool, bingNewsOperation, bingNewsOperation as bingNewsTool, bingReverseImageOperation, bingReverseImageOperation as bingReverseImageTool, bingSearchOperation, bingSearchOperation as bingSearchTool, bingShoppingOperation, bingShoppingOperation as bingShoppingTool, bingVideosOperation, bingVideosOperation as bingVideosTool, braveAiModeOperation, braveAiModeOperation as braveAiModeTool, duckduckgoLightOperation, duckduckgoLightOperation as duckduckgoLightTool, duckduckgoMapsOperation, duckduckgoMapsOperation as duckduckgoMapsTool, duckduckgoNewsOperation, duckduckgoNewsOperation as duckduckgoNewsTool, duckduckgoSearchAssistOperation, duckduckgoSearchAssistOperation as duckduckgoSearchAssistTool, duckduckgoSearchOperation, duckduckgoSearchOperation as duckduckgoSearchTool, ebayProductOperation, ebayProductOperation as ebayProductTool, ebaySearchOperation, ebaySearchOperation as ebaySearchTool, facebookProfileOperation, facebookProfileOperation as facebookProfileTool, googleAdsTransparencyOperation, googleAdsTransparencyOperation as googleAdsTransparencyTool, googleAiModeOperation, googleAiModeOperation as googleAiModeTool, googleAiOverviewOperation, googleAiOverviewOperation as googleAiOverviewTool, googleAutocompleteOperation, googleAutocompleteOperation as googleAutocompleteTool, googleEventsOperation, googleEventsOperation as googleEventsTool, googleFinanceMarketsOperation, googleFinanceMarketsOperation as googleFinanceMarketsTool, googleFinanceOperation, googleFinanceOperation as googleFinanceTool, googleFlightsAutocompleteOperation, googleFlightsAutocompleteOperation as googleFlightsAutocompleteTool, googleFlightsOperation, googleFlightsOperation as googleFlightsTool, googleForumsOperation, googleForumsOperation as googleForumsTool, googleHotelsAutocompleteOperation, googleHotelsAutocompleteOperation as googleHotelsAutocompleteTool, googleHotelsOperation, googleHotelsOperation as googleHotelsTool, googleHotelsPhotosOperation, googleHotelsPhotosOperation as googleHotelsPhotosTool, googleHotelsReviewsOperation, googleHotelsReviewsOperation as googleHotelsReviewsTool, googleImagesLightOperation, googleImagesLightOperation as googleImagesLightTool, googleImagesOperation, googleImagesOperation as googleImagesTool, googleImagesRelatedOperation, googleImagesRelatedOperation as googleImagesRelatedTool, googleImmersiveProductOperation, googleImmersiveProductOperation as googleImmersiveProductTool, googleJobsListingOperation, googleJobsListingOperation as googleJobsListingTool, googleJobsOperation, googleJobsOperation as googleJobsTool, googleLensOperation, googleLensOperation as googleLensTool, googleLightSearchOperation, googleLightSearchOperation as googleLightSearchTool, googleLocalOperation, googleLocalOperation as googleLocalTool, googleLocalServicesOperation, googleLocalServicesOperation as googleLocalServicesTool, googleMapsAutocompleteOperation, googleMapsAutocompleteOperation as googleMapsAutocompleteTool, googleMapsContributorReviewsOperation, googleMapsContributorReviewsOperation as googleMapsContributorReviewsTool, googleMapsDirectionsOperation, googleMapsDirectionsOperation as googleMapsDirectionsTool, googleMapsOperation, googleMapsOperation as googleMapsTool, googleMapsPhotoMetaOperation, googleMapsPhotoMetaOperation as googleMapsPhotoMetaTool, googleMapsPhotosOperation, googleMapsPhotosOperation as googleMapsPhotosTool, googleMapsPostsOperation, googleMapsPostsOperation as googleMapsPostsTool, googleMapsReviewsOperation, googleMapsReviewsOperation as googleMapsReviewsTool, googleNewsLightOperation, googleNewsLightOperation as googleNewsLightTool, googleNewsOperation, googleNewsOperation as googleNewsTool, googlePatentsDetailsOperation, googlePatentsDetailsOperation as googlePatentsDetailsTool, googlePatentsOperation, googlePatentsOperation as googlePatentsTool, googlePlayBooksOperation, googlePlayBooksOperation as googlePlayBooksTool, googlePlayGamesOperation, googlePlayGamesOperation as googlePlayGamesTool, googlePlayMoviesOperation, googlePlayMoviesOperation as googlePlayMoviesTool, googlePlayOperation, googlePlayOperation as googlePlayTool, googlePlayProductOperation, googlePlayProductOperation as googlePlayProductTool, googleRelatedQuestionsOperation, googleRelatedQuestionsOperation as googleRelatedQuestionsTool, googleReverseImageOperation, googleReverseImageOperation as googleReverseImageTool, googleScholarAuthorOperation, googleScholarAuthorOperation as googleScholarAuthorTool, googleScholarCiteOperation, googleScholarCiteOperation as googleScholarCiteTool, googleScholarOperation, googleScholarOperation as googleScholarTool, googleScholarProfilesOperation, googleScholarProfilesOperation as googleScholarProfilesTool, googleSearchOperation, googleSearchOperation as googleSearchTool, googleShoppingLightOperation, googleShoppingLightOperation as googleShoppingLightTool, googleShoppingOperation, googleShoppingOperation as googleShoppingTool, googleShortVideosOperation, googleShortVideosOperation as googleShortVideosTool, googleTravelExploreOperation, googleTravelExploreOperation as googleTravelExploreTool, googleTrendsAutocompleteOperation, googleTrendsAutocompleteOperation as googleTrendsAutocompleteTool, googleTrendsNewsOperation, googleTrendsNewsOperation as googleTrendsNewsTool, googleTrendsOperation, googleTrendsOperation as googleTrendsTool, googleTrendsTrendingNowOperation, googleTrendsTrendingNowOperation as googleTrendsTrendingNowTool, googleVideosLightOperation, googleVideosLightOperation as googleVideosLightTool, googleVideosOperation, googleVideosOperation as googleVideosTool, homeDepotProductOperation, homeDepotProductOperation as homeDepotProductTool, homeDepotProductReviewsOperation, homeDepotProductReviewsOperation as homeDepotProductReviewsTool, homeDepotSearchOperation, homeDepotSearchOperation as homeDepotSearchTool, naverAiOverviewOperation, naverAiOverviewOperation as naverAiOverviewTool, naverSearchOperation, naverSearchOperation as naverSearchTool, opentableReviewsOperation, opentableReviewsOperation as opentableReviewsTool, serpApiAccountOperation, serpApiAccountOperation as serpApiAccountTool, serpApiCredentialSet, serpApiLocationsOperation, serpApiLocationsOperation as serpApiLocationsTool, serpApiSearchArchiveOperation, serpApiSearchArchiveOperation as serpApiSearchArchiveTool, serpApiSearchIndexOperation, serpApiSearchIndexOperation as serpApiSearchIndexTool, tripadvisorPlaceOperation, tripadvisorPlaceOperation as tripadvisorPlaceTool, tripadvisorReviewsOperation, tripadvisorReviewsOperation as tripadvisorReviewsTool, tripadvisorSearchOperation, tripadvisorSearchOperation as tripadvisorSearchTool, walmartProductOperation, walmartProductOperation as walmartProductTool, walmartProductReviewsOperation, walmartProductReviewsOperation as walmartProductReviewsTool, walmartProductSellersOperation, walmartProductSellersOperation as walmartProductSellersTool, walmartSearchOperation, walmartSearchOperation as walmartSearchTool, yahooImagesOperation, yahooImagesOperation as yahooImagesTool, yahooSearchOperation, yahooSearchOperation as yahooSearchTool, yahooShoppingOperation, yahooShoppingOperation as yahooShoppingTool, yahooVideosOperation, yahooVideosOperation as yahooVideosTool, yandexImagesOperation, yandexImagesOperation as yandexImagesTool, yandexSearchOperation, yandexSearchOperation as yandexSearchTool, yandexVideosOperation, yandexVideosOperation as yandexVideosTool, yelpPlaceOperation, yelpPlaceOperation as yelpPlaceTool, yelpReviewsOperation, yelpReviewsOperation as yelpReviewsTool, yelpSearchOperation, yelpSearchOperation as yelpSearchTool, youtubeSearchOperation, youtubeSearchOperation as youtubeSearchTool, youtubeVideoOperation, youtubeVideoOperation as youtubeVideoTool, youtubeVideoTranscriptOperation, youtubeVideoTranscriptOperation as youtubeVideoTranscriptTool };