o
    ®©Zhd  ã                   @   sH   d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd„ deƒZ	dS )	zTool for Steam Web APIé    )ÚOptional)ÚCallbackManagerForToolRun)ÚBaseTool)ÚSteamWebAPIWrapperc                   @   sX   e Zd ZU dZeed< dZeed< dZeed< eed< 	dd	ed
e	e
 defdd„ZdS )ÚSteamWebAPIQueryRunz%Tool that searches the Steam Web API.ÚmodeZsteamÚnamez A wrapper around Steam Web API.Steam Tool is useful for fetching User profiles and stats, Game data and more!Input should be the User or Game you want to query.ÚdescriptionÚapi_wrapperNÚqueryÚrun_managerÚreturnc                 C   s   | j  | j|¡S )zUse the Steam-WebAPI tool.)r
   Úrunr   )Úselfr   r   © r   ú[/var/www/html/lang_env/lib/python3.10/site-packages/langchain_community/tools/steam/tool.pyÚ_run   s   zSteamWebAPIQueryRun._run)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚ__annotations__r   r	   r   r   r   r   r   r   r   r   r      s   
 
ÿýþýür   N)
r   Útypingr   Zlangchain_core.callbacksr   Zlangchain_core.toolsr   Z#langchain_community.utilities.steamr   r   r   r   r   r   Ú<module>   s    