The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Fixed tool names snake_case (#16397)
Jatin Chawdaa79345f1999d
diff --git a/libs/community/langchain_community/tools/dataforseo_api_search/tool.py b/libs/community/langchain_community/tools/dataforseo_api_search/tool.pyindex bb10187f8d..4d601df59a 100644--- a/libs/community/langchain_community/tools/dataforseo_api_search/tool.py+++ b/libs/community/langchain_community/tools/dataforseo_api_search/tool.py@@ -44,7 +44,7 @@ class DataForSeoAPISearchResults(BaseTool):"""Tool that queries the DataForSeo Google Search APIand get back json."""- name: str = "DataForSeo-Results-JSON"+ name: str = "dataforseo_results_json"description: str = ("A comprehensive Google Search API provided by DataForSeo.""This tool is useful for obtaining real-time data on current events "diff --git a/libs/community/langchain_community/tools/ddg_search/tool.py b/libs/community/langchain_community/tools/ddg_search/tool.pyindex e533d8c1f7..b9f1b8adb2 100644--- a/libs/community/langchain_community/tools/ddg_search/tool.py+++ b/libs/community/langchain_community/tools/ddg_search/tool.py@@ -42,7 +42,7 @@ class DuckDuckGoSearchRun(BaseTool):class DuckDuckGoSearchResults(BaseTool):"""Tool that queries the DuckDuckGo search API and gets back json."""- name: str = "DuckDuckGo Results JSON"+ name: str = "duckduckgo_results_json"description: str = ("A wrapper around Duck Duck Go Search. ""Useful for when you need to answer questions about current events. "diff --git a/libs/community/langchain_community/tools/golden_query/tool.py b/libs/community/langchain_community/tools/golden_query/tool.pyindex 78e08cd7cf..7cc5c72234 100644--- a/libs/community/langchain_community/tools/golden_query/tool.py+++ b/libs/community/langchain_community/tools/golden_query/tool.py@@ -11,7 +11,7 @@ from langchain_community.utilities.golden_query import GoldenQueryAPIWrapperclass GoldenQueryRun(BaseTool):"""Tool that adds the capability to query using the Golden API and get back JSON."""- name: str = "Golden-Query"+ name: str = "golden_query"description: str = ("A wrapper around Golden Query API."" Useful for getting entities that match"diff --git a/libs/community/langchain_community/tools/google_lens/tool.py b/libs/community/langchain_community/tools/google_lens/tool.pyindex 0a69739e35..38a4b847e2 100644--- a/libs/community/langchain_community/tools/google_lens/tool.py+++ b/libs/community/langchain_community/tools/google_lens/tool.py@@ -11,7 +11,7 @@ from langchain_community.utilities.google_lens import GoogleLensAPIWrapperclass GoogleLensQueryRun(BaseTool):"""Tool that queries the Google Lens API."""- name: str = "google_Lens"+ name: str = "google_lens"description: str = ("A wrapper around Google Lens Search. ""Useful for when you need to get information related"diff --git a/libs/community/langchain_community/tools/google_search/tool.py b/libs/community/langchain_community/tools/google_search/tool.pyindex 4b6ea4685b..abc9d3916e 100644--- a/libs/community/langchain_community/tools/google_search/tool.py+++ b/libs/community/langchain_community/tools/google_search/tool.py@@ -31,7 +31,7 @@ class GoogleSearchRun(BaseTool):class GoogleSearchResults(BaseTool):"""Tool that queries the Google Search API and gets back json."""- name: str = "Google Search Results JSON"+ name: str = "google_search_results_json"description: str = ("A wrapper around Google Search. ""Useful for when you need to answer questions about current events. "diff --git a/libs/community/langchain_community/tools/memorize/tool.py b/libs/community/langchain_community/tools/memorize/tool.pyindex f15402be48..0b6650c552 100644--- a/libs/community/langchain_community/tools/memorize/tool.py+++ b/libs/community/langchain_community/tools/memorize/tool.py@@ -35,7 +35,7 @@ class TrainableLLM(Protocol):class Memorize(BaseTool):"""Tool that trains a language model."""- name: str = "Memorize"+ name: str = "memorize"description: str = ("Useful whenever you observed novel information ""from previous conversation history, "diff --git a/libs/community/langchain_community/tools/merriam_webster/tool.py b/libs/community/langchain_community/tools/merriam_webster/tool.pyindex a3d1fa881b..9cf4e9f21c 100644--- a/libs/community/langchain_community/tools/merriam_webster/tool.py+++ b/libs/community/langchain_community/tools/merriam_webster/tool.py@@ -11,7 +11,7 @@ from langchain_community.utilities.merriam_webster import MerriamWebsterAPIWrappclass MerriamWebsterQueryRun(BaseTool):"""Tool that searches the Merriam-Webster API."""- name: str = "MerriamWebster"+ name: str = "merriam_webster"description: str = ("A wrapper around Merriam-Webster. ""Useful for when you need to get the definition of a word."diff --git a/libs/community/langchain_community/tools/openweathermap/tool.py b/libs/community/langchain_community/tools/openweathermap/tool.pyindex 6060321047..0cd5b94001 100644--- a/libs/community/langchain_community/tools/openweathermap/tool.py+++ b/libs/community/langchain_community/tools/openweathermap/tool.py@@ -16,7 +16,7 @@ class OpenWeatherMapQueryRun(BaseTool):default_factory=OpenWeatherMapAPIWrapper)- name: str = "OpenWeatherMap"+ name: str = "open_weather_map"description: str = ("A wrapper around OpenWeatherMap API. ""Useful for fetching current weather information for a specified location. "diff --git a/libs/community/langchain_community/tools/pubmed/tool.py b/libs/community/langchain_community/tools/pubmed/tool.pyindex cd9e1a3888..44242379dd 100644--- a/libs/community/langchain_community/tools/pubmed/tool.py+++ b/libs/community/langchain_community/tools/pubmed/tool.py@@ -10,7 +10,7 @@ from langchain_community.utilities.pubmed import PubMedAPIWrapperclass PubmedQueryRun(BaseTool):"""Tool that searches the PubMed API."""- name: str = "PubMed"+ name: str = "pub_med"description: str = ("A wrapper around PubMed. ""Useful for when you need to answer questions about medicine, health, "diff --git a/libs/community/langchain_community/tools/searx_search/tool.py b/libs/community/langchain_community/tools/searx_search/tool.pyindex 005faf239b..b9f4e1b25a 100644--- a/libs/community/langchain_community/tools/searx_search/tool.py+++ b/libs/community/langchain_community/tools/searx_search/tool.py@@ -43,7 +43,7 @@ class SearxSearchRun(BaseTool):class SearxSearchResults(BaseTool):"""Tool that queries a Searx instance and gets back json."""- name: str = "Searx-Search-Results"+ name: str = "searx_search_results"description: str = ("A meta search engine.""Useful for when you need to answer questions about current events."diff --git a/libs/community/langchain_community/tools/stackexchange/tool.py b/libs/community/langchain_community/tools/stackexchange/tool.pyindex fa398b0f14..2060eada6e 100644--- a/libs/community/langchain_community/tools/stackexchange/tool.py+++ b/libs/community/langchain_community/tools/stackexchange/tool.py@@ -11,7 +11,7 @@ from langchain_community.utilities.stackexchange import StackExchangeAPIWrapperclass StackExchangeTool(BaseTool):"""Tool that uses StackExchange"""- name: str = "StackExchange"+ name: str = "stack_exchange"description: str = ("A wrapper around StackExchange. ""Useful for when you need to answer specific programming questions"diff --git a/libs/community/langchain_community/tools/steam/tool.py b/libs/community/langchain_community/tools/steam/tool.pyindex 69706c8ada..3e71dddc0b 100644--- a/libs/community/langchain_community/tools/steam/tool.py+++ b/libs/community/langchain_community/tools/steam/tool.py@@ -12,7 +12,7 @@ class SteamWebAPIQueryRun(BaseTool):"""Tool that searches the Steam Web API."""mode: str- name: str = "Steam"+ name: str = "steam"description: str = ("A wrapper around Steam Web API.""Steam Tool is useful for fetching User profiles and stats, Game data and more!"diff --git a/libs/community/langchain_community/tools/steamship_image_generation/tool.py b/libs/community/langchain_community/tools/steamship_image_generation/tool.pyindex 145f362785..a33233c831 100644--- a/libs/community/langchain_community/tools/steamship_image_generation/tool.py+++ b/libs/community/langchain_community/tools/steamship_image_generation/tool.py@@ -49,7 +49,7 @@ class SteamshipImageGenerationTool(BaseTool):steamship: Steamshipreturn_urls: Optional[bool] = False- name: str = "GenerateImage"+ name: str = "generate_image"description: str = ("Useful for when you need to generate an image.""Input: A detailed text-2-image prompt describing an image"diff --git a/libs/community/langchain_community/tools/wikipedia/tool.py b/libs/community/langchain_community/tools/wikipedia/tool.pyindex 0ccab574f2..a74d437538 100644--- a/libs/community/langchain_community/tools/wikipedia/tool.py+++ b/libs/community/langchain_community/tools/wikipedia/tool.py@@ -11,7 +11,7 @@ from langchain_community.utilities.wikipedia import WikipediaAPIWrapperclass WikipediaQueryRun(BaseTool):"""Tool that searches the Wikipedia API."""- name: str = "Wikipedia"+ name: str = "wikipedia"description: str = ("A wrapper around Wikipedia. ""Useful for when you need to answer general questions about "