[GH-ISSUE #2956] [langchain]: ArXiv tool documentation incorrect #2697

Open
opened 2026-06-05 17:26:20 -04:00 by yindo · 1 comment
Owner

Originally created by @ManishKanaparthi on GitHub (Mar 6, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2956

Type of issue

issue / bug

Language

Python

Description

load_tools does not exist anymore. need to use ArxivQueryRun & ArxivAPIWrapper

Eg:
arxiv = ArxivQueryRun(api_wrapper=ArxivAPIWrapper())
model = ChatGroq(model="openai/gpt-oss-120b", api_key=groq_api)
agent = create_agent(model=model, tools=[arxiv], system_prompt="You are a helpful assistant")
agent

Image
Originally created by @ManishKanaparthi on GitHub (Mar 6, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2956 ### Type of issue issue / bug ### Language Python ### Description load_tools does not exist anymore. need to use ArxivQueryRun & ArxivAPIWrapper Eg: arxiv = ArxivQueryRun(api_wrapper=ArxivAPIWrapper()) model = ChatGroq(model="openai/gpt-oss-120b", api_key=groq_api) agent = create_agent(model=model, tools=[arxiv], system_prompt="You are a helpful assistant") agent <img width="841" height="411" alt="Image" src="https://github.com/user-attachments/assets/3ad29766-e3f8-429a-95d6-ef9f36c447cf" />
yindo added the langchainexternal labels 2026-06-05 17:26:20 -04:00
Author
Owner

@MustakimShaikh01 commented on GitHub (Mar 8, 2026):

Hi! I came across this issue and would like to help fix the ArXiv tool documentation. Could you point me to the specific section or example that needs updating? I’d be happy to submit a PR.

<!-- gh-comment-id:4019396201 --> @MustakimShaikh01 commented on GitHub (Mar 8, 2026): Hi! I came across this issue and would like to help fix the ArXiv tool documentation. Could you point me to the specific section or example that needs updating? I’d be happy to submit a PR.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2697