diff --git a/libs/community/langchain_community/tools/dataforseo_api_search/tool.py b/libs/community/langchain_community/tools/dataforseo_api_search/tool.py index bb10187f8d5..4d601df59ad 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 API and 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.py index e533d8c1f74..b9f1b8adb2a 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.py index 78e08cd7cf9..7cc5c72234c 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 GoldenQueryAPIWrapper class 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.py index 0a69739e352..38a4b847e21 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 GoogleLensAPIWrapper class 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.py index 4b6ea4685b4..abc9d3916ec 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.py index f15402be48e..0b6650c5525 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.py index a3d1fa881bb..9cf4e9f21ca 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 MerriamWebsterAPIWrapp class 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.py index 6060321047c..0cd5b940010 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.py index cd9e1a38884..44242379dd0 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 PubMedAPIWrapper class 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.py index 005faf239bf..b9f4e1b25a3 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.py index fa398b0f148..2060eada6e7 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 StackExchangeAPIWrapper class 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.py index 69706c8ada9..3e71dddc0b4 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.py index 145f362785a..a33233c8312 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: Steamship return_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.py index 0ccab574f23..a74d437538d 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 WikipediaAPIWrapper class 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 "