langchain.js
Preparing search index...
@langchain/community
tools/google_trends
SERPGoogleTrendsTool
Class SERPGoogleTrendsTool
Tool that queries the Google Trends API. Uses default interest over time.
Hierarchy (
View Summary
)
BaseDynamicToolInput
SERPGoogleTrendsTool
Index
Constructors
constructor
Properties
api
Key
description
name
Accessors
lc_
secrets
Methods
_
call
lc_
name
Constructors
constructor
new
SERPGoogleTrendsTool
(
fields
?:
SERPGoogleTrendsToolParams
,
)
:
SERPGoogleTrendsTool
Parameters
Optional
fields
:
SERPGoogleTrendsToolParams
Returns
SERPGoogleTrendsTool
Properties
Protected
api
Key
apiKey
:
string
description
description
:
string
= ...
name
name
:
string
= "google_trends"
Accessors
lc_
secrets
get
lc_secrets
()
:
undefined
|
{
[
key
:
string
]:
string
}
Returns
undefined
|
{
[
key
:
string
]:
string
}
Methods
_
call
_call
(
query
:
string
)
:
Promise
<
string
>
Parameters
query
:
string
Returns
Promise
<
string
>
Static
lc_
name
lc_name
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
api
Key
description
name
Accessors
lc_
secrets
Methods
_
call
lc_
name
langchain.js
Loading...
Tool that queries the Google Trends API. Uses default interest over time.