You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Additional keyword arguments to pass to the API.
18
+
*/
10
19
kwargs?: Record<string,unknown>;
20
+
21
+
/**
22
+
* The API key used for authentication with the Tavily Search API.
23
+
*
24
+
*/
11
25
apiKey?: string;
26
+
27
+
/**
28
+
* Include a list of query-related images in the response.
29
+
*
30
+
* @default false
31
+
*/
32
+
includeImages?: boolean;
33
+
34
+
/**
35
+
* When includeImages is set to True, this option adds descriptive text for each image.
36
+
*
37
+
* @default false
38
+
*/
39
+
includeImageDescriptions?: boolean;
40
+
41
+
/**
42
+
* Include a short answer to the original query.
43
+
*
44
+
* @default false
45
+
*/
46
+
includeAnswer?: boolean;
47
+
48
+
/**
49
+
* Include the cleaned and parsed HTML content of each search result.
50
+
*
51
+
* @default false
52
+
*/
53
+
includeRawContent?: boolean;
54
+
55
+
/**
56
+
* A list of domains to specifically include in the search results.
57
+
*
58
+
* @default []
59
+
*/
60
+
includeDomains?: string[];
61
+
62
+
/**
63
+
* A list of domains to specifically exclude from the search results.
64
+
*
65
+
* @default []
66
+
*/
67
+
excludeDomains?: string[];
68
+
69
+
/**
70
+
* The depth of the search. It can be "basic" or "deep".
71
+
*
72
+
* @default "basic"
73
+
*/
74
+
searchDepth?: "basic"|"deep";
75
+
76
+
/**
77
+
* The category of the search. This will determine which of our agents will be used for the search. Currently, only "general" and "news" are supported. See https://docs.tavily.com/docs/rest-api/api-reference
78
+
*
79
+
* @default "general"
80
+
*/
81
+
topic?: string;
82
+
83
+
/**
84
+
* The number of days back from the current date to include in the search results.
85
+
*
86
+
* @default 3
87
+
*/
88
+
days?: number;
12
89
};
13
90
14
91
/**
@@ -93,11 +170,41 @@ export class TavilySearchResults extends Tool {
0 commit comments