
    dhO                     N    S r SSKJr  SSKJr  SSKJr  SSKJr   " S S\5      r	g)	zTool for the Google Scholar    )Optional)CallbackManagerForToolRun)BaseTool)GoogleScholarAPIWrapperc                   b    \ rS rSr% SrSr\\S'   Sr\\S'   \	\S'    SS	\S
\
\   S\4S jjrSrg)GoogleScholarQueryRun   z(Tool that queries the Google search API.google_scholarnamezA wrapper around Google Scholar Search. Useful for when you need to get information aboutresearch papers from Google ScholarInput should be a search query.descriptionapi_wrapperNqueryrun_managerreturnc                 8    U R                   R                  U5      $ )zUse the tool.)r   run)selfr   r   s      e/var/www/html/shao/venv/lib/python3.13/site-packages/langchain_community/tools/google_scholar/tool.py_runGoogleScholarQueryRun._run   s     ##E**     )N)__name__
__module____qualname____firstlineno____doc__r   str__annotations__r   r   r   r   r   __static_attributes__r   r   r   r   r      sZ    2 D# 	*   )(
 <@++ 78+ 
	+ +r   r   N)
r   typingr   langchain_core.callbacksr   langchain_core.toolsr   ,langchain_community.utilities.google_scholarr   r   r   r   r   <module>r%      s     !  > ) P+H +r   