Skip to main content
This notebook provides a quick overview for getting started with SERPGoogleScholarTool. For detailed documentation of all SERPGoogleScholarAPITool features and configurations, head to the API reference.

概述

集成详情

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.

设置

The integration lives in the @langchain/community package.

凭证

Ensure you have the appropriate API key to access Google Scholar. Set it in your environment variables:
It’s also helpful to set up LangSmith for best-in-class observability:

实例化

You can import and instantiate an instance of the SERPGoogleScholarAPITool tool like this:

调用

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-generated ToolCall:

API 参考

有关所有 SERPGoogleScholarAPITool features and configurations, 的详细文档,请前往 API 参考