Skip to main content
This guide provides a quick overview for getting started with Jina tool. For detailed documentation of all Jina features and configurations head to the API reference.

Overview

Integration details

Tool features

Setup

The integration lives in the langchain-community package and was added in version 0.2.16:

Credentials

It’s also helpful (but not needed) to set up LangSmith for best-in-class observability:

Instantiation

  • TODO: Fill in instantiation params
Here we show how to instantiate an instance of the Jina tool, with

Invocation

Invoke directly with args

Invoke with ToolCall

We can also invoke the tool with a model-generated ToolCall, in which case a ToolMessage will be returned:

Chaining

We can use our tool in a chain by first binding it to a tool-calling model and then calling it:

API reference

For detailed documentation of all Jina features and configurations head to the API reference: python.langchain.com/api_reference/community/tools/langchain_community.tools.jina_search.tool.JinaSearch.html