SERPGoogleScholarTool
. For detailed documentation of all SERPGoogleScholarAPITool
features and configurations, head to the API reference.
Overview
Integration details
Class | Package | PY support | Version |
---|---|---|---|
GoogleScholarTool | @langchain/community | ✅ |
Tool features
- Retrieve academic publications by topic, author, or query.
- Fetch metadata such as title, author, and publication year.
- Advanced search filters, including citation count and journal name.
Setup
The integration lives in the@langchain/community
package.
Credentials
Ensure you have the appropriate API key to access Google Scholar. Set it in your environment variables:Instantiation
You can import and instantiate an instance of theSERPGoogleScholarAPITool
tool like this:
Invocation
Invoke directly with args
You can invoke the tool directly with query arguments:Invoke with ToolCall
We can also invoke the tool with a model-generatedToolCall
:
API reference
For detailed documentation of allSERPGoogleScholarAPITool
features and configurations, head to the API reference.