tools#

Tools are classes that an Agent uses to interact with the world.

Each tool has a description. Agent uses the description to choose the right tool for the job.

Class hierarchy:

ToolMetaclass --> BaseTool --> <name>Tool  # Examples: AIPluginTool, BaseGraphQLTool
                               <name>      # Examples: BraveSearch, HumanInputRun

Main helpers:

CallbackManagerForToolRun, AsyncCallbackManagerForToolRun

Classes

tools.ainetwork.app.AINAppOps

Tool for app operations.

tools.ainetwork.app.AppOperationType(value)

Type of app operation as enumerator.

tools.ainetwork.app.AppSchema

Schema for app operations.

tools.ainetwork.base.AINBaseTool

Base class for the AINetwork tools.

tools.ainetwork.base.OperationType(value[,ย ...])

Type of operation as enumerator.

tools.ainetwork.owner.AINOwnerOps

Tool for owner operations.

tools.ainetwork.owner.RuleSchema

Schema for owner operations.

tools.ainetwork.rule.AINRuleOps

Tool for owner operations.

tools.ainetwork.rule.RuleSchema

Schema for owner operations.

tools.ainetwork.transfer.AINTransfer

Tool for transfer operations.

tools.ainetwork.transfer.TransferSchema

Schema for transfer operations.

tools.ainetwork.value.AINValueOps

Tool for value operations.

tools.ainetwork.value.ValueSchema

Schema for value operations.

tools.amadeus.base.AmadeusBaseTool

Base Tool for Amadeus.

tools.amadeus.closest_airport.AmadeusClosestAirport

Tool for finding the closest airport to a particular location.

tools.amadeus.closest_airport.ClosestAirportSchema

Schema for the AmadeusClosestAirport tool.

tools.amadeus.flight_search.AmadeusFlightSearch

Tool for searching for a single flight between two airports.

tools.amadeus.flight_search.FlightSearchSchema

Schema for the AmadeusFlightSearch tool.

tools.arxiv.tool.ArxivInput

Input for the Arxiv tool.

tools.arxiv.tool.ArxivQueryRun

Tool that searches the Arxiv API.

tools.asknews.tool.AskNewsSearch

Tool that searches the AskNews API.

tools.asknews.tool.SearchInput

Input for the AskNews Search tool.

tools.audio.huggingface_text_to_speech_inference.HuggingFaceTextToSpeechModelInference

HuggingFace Text-to-Speech Model Inference.

tools.azure_ai_services.document_intelligence.AzureAiServicesDocumentIntelligenceTool

Tool that queries the Azure AI Services Document Intelligence API.

tools.azure_ai_services.image_analysis.AzureAiServicesImageAnalysisTool

Tool that queries the Azure AI Services Image Analysis API.

tools.azure_ai_services.speech_to_text.AzureAiServicesSpeechToTextTool

Tool that queries the Azure AI Services Speech to Text API.

tools.azure_ai_services.text_analytics_for_health.AzureAiServicesTextAnalyticsForHealthTool

Tool that queries the Azure AI Services Text Analytics for Health API.

tools.azure_ai_services.text_to_speech.AzureAiServicesTextToSpeechTool

Tool that queries the Azure AI Services Text to Speech API.

tools.azure_cognitive_services.form_recognizer.AzureCogsFormRecognizerTool

Tool that queries the Azure Cognitive Services Form Recognizer API.

tools.azure_cognitive_services.image_analysis.AzureCogsImageAnalysisTool

Tool that queries the Azure Cognitive Services Image Analysis API.

tools.azure_cognitive_services.speech2text.AzureCogsSpeech2TextTool

Tool that queries the Azure Cognitive Services Speech2Text API.

tools.azure_cognitive_services.text2speech.AzureCogsText2SpeechTool

Tool that queries the Azure Cognitive Services Text2Speech API.

tools.azure_cognitive_services.text_analytics_health.AzureCogsTextAnalyticsHealthTool

Tool that queries the Azure Cognitive Services Text Analytics for Health API.

tools.bearly.tool.BearlyInterpreterTool(api_key)

Tool for evaluating python code in a sandbox environment.

tools.bearly.tool.BearlyInterpreterToolArguments

Arguments for the BearlyInterpreterTool.

tools.bearly.tool.FileInfo

Information about a file to be uploaded.

tools.bing_search.tool.BingSearchResults

Bing Search tool.

tools.bing_search.tool.BingSearchRun

Tool that queries the Bing search API.

tools.brave_search.tool.BraveSearch

Tool that queries the BraveSearch.

tools.cassandra_database.tool.BaseCassandraDatabaseTool

Base tool for interacting with an Apache Cassandra database.

tools.cassandra_database.tool.GetSchemaCassandraDatabaseTool

Tool for getting the schema of a keyspace in an Apache Cassandra database.

tools.cassandra_database.tool.GetTableDataCassandraDatabaseTool

Tool for getting data from a table in an Apache Cassandra database.

tools.cassandra_database.tool.QueryCassandraDatabaseTool

Tool for querying an Apache Cassandra database with provided CQL.

tools.clickup.tool.ClickupAction

Tool that queries the Clickup API.

tools.cogniswitch.tool.CogniswitchKnowledgeRequest

Tool that uses the Cogniswitch service to answer questions.

tools.cogniswitch.tool.CogniswitchKnowledgeSourceFile

Tool that uses the Cogniswitch services to store data from file.

tools.cogniswitch.tool.CogniswitchKnowledgeSourceURL

Tool that uses the Cogniswitch services to store data from a URL.

tools.cogniswitch.tool.CogniswitchKnowledgeStatus

Tool that uses the Cogniswitch services to get the

tools.connery.models.Action

Connery Action model.

tools.connery.models.Parameter

Connery Action parameter model.

tools.connery.models.Validation

Connery Action parameter validation model.

tools.connery.service.ConneryService

Service for interacting with the Connery Runner API.

tools.connery.tool.ConneryAction

Connery Action tool.

tools.databricks.tool.UCFunctionToolkit

Create a new model by parsing and validating input data from keyword arguments.

tools.dataforseo_api_search.tool.DataForSeoAPISearchResults

Tool that queries the DataForSeo Google Search API and get back json.

tools.dataforseo_api_search.tool.DataForSeoAPISearchRun

Tool that queries the DataForSeo Google search API.

tools.dataherald.tool.DataheraldTextToSQL

Tool that queries using the Dataherald SDK.

tools.dataherald.tool.DataheraldTextToSQLInput

Create a new model by parsing and validating input data from keyword arguments.

tools.ddg_search.tool.DDGInput

Input for the DuckDuckGo search tool.

tools.ddg_search.tool.DuckDuckGoSearchResults

Tool that queries the DuckDuckGo search API and gets back json string.

tools.ddg_search.tool.DuckDuckGoSearchRun

DuckDuckGo tool.

tools.e2b_data_analysis.tool.E2BDataAnalysisTool

Tool for running python code in a sandboxed environment for data analysis.

tools.e2b_data_analysis.tool.E2BDataAnalysisToolArguments

Arguments for the E2BDataAnalysisTool.

tools.e2b_data_analysis.tool.UploadedFile

Description of the uploaded path with its remote path.

tools.e2b_data_analysis.unparse.Unparser(tree)

Traverse an AST and output source code for the abstract syntax; original formatting is disregarded.

tools.edenai.audio_speech_to_text.EdenAiSpeechToTextTool

Tool that queries the Eden AI Speech To Text API.

tools.edenai.audio_speech_to_text.SpeechToTextInput

Create a new model by parsing and validating input data from keyword arguments.

tools.edenai.audio_text_to_speech.EdenAiTextToSpeechTool

Tool that queries the Eden AI Text to speech API.

tools.edenai.audio_text_to_speech.TextToSpeechInput

Create a new model by parsing and validating input data from keyword arguments.

tools.edenai.edenai_base_tool.EdenaiTool

the base tool for all the EdenAI Tools .

tools.edenai.image_explicitcontent.EdenAiExplicitImageTool

Tool that queries the Eden AI Explicit image detection.

tools.edenai.image_explicitcontent.ExplicitImageInput

Create a new model by parsing and validating input data from keyword arguments.

tools.edenai.image_objectdetection.EdenAiObjectDetectionTool

Tool that queries the Eden AI Object detection API.

tools.edenai.image_objectdetection.ObjectDetectionInput

Create a new model by parsing and validating input data from keyword arguments.

tools.edenai.ocr_identityparser.EdenAiParsingIDTool

Tool that queries the Eden AI Identity parsing API.

tools.edenai.ocr_identityparser.IDParsingInput

Create a new model by parsing and validating input data from keyword arguments.

tools.edenai.ocr_invoiceparser.EdenAiParsingInvoiceTool

Tool that queries the Eden AI Invoice parsing API.

tools.edenai.ocr_invoiceparser.InvoiceParsingInput

Create a new model by parsing and validating input data from keyword arguments.

tools.edenai.text_moderation.EdenAiTextModerationTool

Tool that queries the Eden AI Explicit text detection.

tools.edenai.text_moderation.TextModerationInput

Create a new model by parsing and validating input data from keyword arguments.

tools.eleven_labs.models.ElevenLabsModel(value)

Models available for Eleven Labs Text2Speech.

tools.eleven_labs.text2speech.ElevenLabsModel(value)

Models available for Eleven Labs Text2Speech.

tools.eleven_labs.text2speech.ElevenLabsText2SpeechTool

Tool that queries the Eleven Labs Text2Speech API.

tools.file_management.copy.CopyFileTool

Tool that copies a file.

tools.file_management.copy.FileCopyInput

Input for CopyFileTool.

tools.file_management.delete.DeleteFileTool

Tool that deletes a file.

tools.file_management.delete.FileDeleteInput

Input for DeleteFileTool.

tools.file_management.file_search.FileSearchInput

Input for FileSearchTool.

tools.file_management.file_search.FileSearchTool

Tool that searches for files in a subdirectory that match a regex pattern.

tools.file_management.list_dir.DirectoryListingInput

Input for ListDirectoryTool.

tools.file_management.list_dir.ListDirectoryTool

Tool that lists files and directories in a specified folder.

tools.file_management.move.FileMoveInput

Input for MoveFileTool.

tools.file_management.move.MoveFileTool

Tool that moves a file.

tools.file_management.read.ReadFileInput

Input for ReadFileTool.

tools.file_management.read.ReadFileTool

Tool that reads a file.

tools.file_management.utils.BaseFileToolMixin

Mixin for file system tools.

tools.file_management.utils.FileValidationError

Error for paths outside the root directory.

tools.file_management.write.WriteFileInput

Input for WriteFileTool.

tools.file_management.write.WriteFileTool

Tool that writes a file to disk.

tools.financial_datasets.balance_sheets.BalanceSheets

Tool that gets balance sheets for a given ticker over a given period.

tools.financial_datasets.balance_sheets.BalanceSheetsSchema

Input for BalanceSheets.

tools.financial_datasets.cash_flow_statements.CashFlowStatements

Tool that gets cash flow statements for a given ticker over a given period.

tools.financial_datasets.cash_flow_statements.CashFlowStatementsSchema

Input for CashFlowStatements.

tools.financial_datasets.income_statements.IncomeStatements

Tool that gets income statements for a given ticker over a given period.

tools.financial_datasets.income_statements.IncomeStatementsSchema

Input for IncomeStatements.

tools.github.tool.GitHubAction

Tool for interacting with the GitHub API.

tools.gitlab.tool.GitLabAction

Tool for interacting with the GitLab API.

tools.gmail.base.GmailBaseTool

Base class for Gmail tools.

tools.gmail.create_draft.CreateDraftSchema

Input for CreateDraftTool.

tools.gmail.create_draft.GmailCreateDraft

Tool that creates a draft email for Gmail.

tools.gmail.get_message.GmailGetMessage

Tool that gets a message by ID from Gmail.

tools.gmail.get_message.SearchArgsSchema

Input for GetMessageTool.

tools.gmail.get_thread.GetThreadSchema

Input for GetMessageTool.

tools.gmail.get_thread.GmailGetThread

Tool that gets a thread by ID from Gmail.

tools.gmail.search.GmailSearch

Tool that searches for messages or threads in Gmail.

tools.gmail.search.Resource(value[,ย names,ย ...])

Enumerator of Resources to search.

tools.gmail.search.SearchArgsSchema

Input for SearchGmailTool.

tools.gmail.send_message.GmailSendMessage

Tool that sends a message to Gmail.

tools.gmail.send_message.SendMessageSchema

Input for SendMessageTool.

tools.golden_query.tool.GoldenQueryRun

Tool that adds the capability to query using the Golden API and get back JSON.

tools.google_finance.tool.GoogleFinanceQueryRun

Tool that queries the Google Finance API.

tools.google_jobs.tool.GoogleJobsQueryRun

Tool that queries the Google Jobs API.

tools.google_lens.tool.GoogleLensQueryRun

Tool that queries the Google Lens API.

tools.google_places.tool.GooglePlacesSchema

Input for GooglePlacesTool.

tools.google_scholar.tool.GoogleScholarQueryRun

Tool that queries the Google search API.

tools.google_serper.tool.GoogleSerperResults

Tool that queries the Serper.dev Google Search API and get back json.

tools.google_serper.tool.GoogleSerperRun

Tool that queries the Serper.dev Google search API.

tools.google_trends.tool.GoogleTrendsQueryRun

Tool that queries the Google trends API.

tools.graphql.tool.BaseGraphQLTool

Base tool for querying a GraphQL API.

tools.human.tool.HumanInputRun

Tool that asks user for input.

tools.ifttt.IFTTTWebhook

IFTTT Webhook.

tools.jina_search.tool.JinaInput

Input for the Jina search tool.

tools.jina_search.tool.JinaSearch

Tool that queries the JinaSearch.

tools.jira.tool.JiraAction

Tool that queries the Atlassian Jira API.

tools.json.tool.JsonGetValueTool

Tool for getting a value in a JSON spec.

tools.json.tool.JsonListKeysTool

Tool for listing keys in a JSON spec.

tools.json.tool.JsonSpec

Base class for JSON spec.

tools.memorize.tool.Memorize

Tool that trains a language model.

tools.memorize.tool.TrainableLLM(*args,ย **kwargs)

Protocol for trainable language models.

tools.merriam_webster.tool.MerriamWebsterQueryRun

Tool that searches the Merriam-Webster API.

tools.mojeek_search.tool.MojeekSearch

Initialize the tool.

tools.multion.close_session.CloseSessionSchema

Input for UpdateSessionTool.

tools.multion.close_session.MultionCloseSession

Tool that closes an existing Multion Browser Window with provided fields.

tools.multion.create_session.CreateSessionSchema

Input for CreateSessionTool.

tools.multion.create_session.MultionCreateSession

Tool that creates a new Multion Browser Window with provided fields.

tools.multion.update_session.MultionUpdateSession

Tool that updates an existing Multion Browser Window with provided fields.

tools.multion.update_session.UpdateSessionSchema

Input for UpdateSessionTool.

tools.nasa.tool.NasaAction

Tool that queries the Atlassian Jira API.

tools.nuclia.tool.NUASchema

Input for Nuclia Understanding API.

tools.nuclia.tool.NucliaUnderstandingAPI

Tool to process files with the Nuclia Understanding API.

tools.office365.base.O365BaseTool

Base class for the Office 365 tools.

tools.office365.create_draft_message.CreateDraftMessageSchema

Input for SendMessageTool.

tools.office365.create_draft_message.O365CreateDraftMessage

Tool for creating a draft email in Office 365.

tools.office365.events_search.O365SearchEvents

Search calendar events in Office 365.

tools.office365.events_search.SearchEventsInput

Input for SearchEmails Tool.

tools.office365.messages_search.O365SearchEmails

Search email messages in Office 365.

tools.office365.messages_search.SearchEmailsInput

Input for SearchEmails Tool.

tools.office365.send_event.O365SendEvent

Tool for sending calendar events in Office 365.

tools.office365.send_event.SendEventSchema

Input for CreateEvent Tool.

tools.office365.send_message.O365SendMessage

Send an email in Office 365.

tools.office365.send_message.SendMessageSchema

Input for SendMessageTool.

tools.openai_dalle_image_generation.tool.OpenAIDALLEImageGenerationTool

Tool that generates an image using OpenAI DALLE.

tools.openapi.utils.api_models.APIOperation

A model for a single API operation.

tools.openapi.utils.api_models.APIProperty

A model for a property in the query, path, header, or cookie params.

tools.openapi.utils.api_models.APIPropertyBase

Base model for an API property.

tools.openapi.utils.api_models.APIPropertyLocation(value)

The location of the property.

tools.openapi.utils.api_models.APIRequestBody

A model for a request body.

tools.openapi.utils.api_models.APIRequestBodyProperty

A model for a request body property.

tools.openweathermap.tool.OpenWeatherMapQueryRun

Tool that queries the OpenWeatherMap API.

tools.passio_nutrition_ai.tool.NutritionAI

Tool that queries the Passio Nutrition AI API.

tools.passio_nutrition_ai.tool.NutritionAIInputs

Inputs to the Passio Nutrition AI tool.

tools.playwright.base.BaseBrowserTool

Base class for browser tools.

tools.playwright.click.ClickTool

Tool for clicking on an element with the given CSS selector.

tools.playwright.click.ClickToolInput

Input for ClickTool.

tools.playwright.current_page.CurrentWebPageTool

Tool for getting the URL of the current webpage.

tools.playwright.extract_hyperlinks.ExtractHyperlinksTool

Extract all hyperlinks on the page.

tools.playwright.extract_hyperlinks.ExtractHyperlinksToolInput

Input for ExtractHyperlinksTool.

tools.playwright.extract_text.ExtractTextTool

Tool for extracting all the text on the current webpage.

tools.playwright.get_elements.GetElementsTool

Tool for getting elements in the current web page matching a CSS selector.

tools.playwright.get_elements.GetElementsToolInput

Input for GetElementsTool.

tools.playwright.navigate.NavigateTool

Tool for navigating a browser to a URL.

tools.playwright.navigate.NavigateToolInput

Input for NavigateToolInput.

tools.playwright.navigate_back.NavigateBackTool

Navigate back to the previous page in the browser history.

tools.plugin.AIPlugin

AI Plugin Definition.

tools.plugin.AIPluginTool

Tool for getting the OpenAPI spec for an AI Plugin.

tools.plugin.AIPluginToolSchema

Schema for AIPluginTool.

tools.plugin.ApiConfig

API Configuration.

tools.polygon.aggregates.PolygonAggregates

Tool that gets aggregate bars (stock prices) over a given date range for a given ticker from Polygon.

tools.polygon.aggregates.PolygonAggregatesSchema

Input for PolygonAggregates.

tools.polygon.financials.Inputs

Inputs for Polygon's Financials API

tools.polygon.financials.PolygonFinancials

Tool that gets the financials of a ticker from Polygon

tools.polygon.last_quote.Inputs

Inputs for Polygon's Last Quote API

tools.polygon.last_quote.PolygonLastQuote

Tool that gets the last quote of a ticker from Polygon

tools.polygon.ticker_news.Inputs

Inputs for Polygon's Ticker News API

tools.polygon.ticker_news.PolygonTickerNews

Tool that gets the latest news for a given ticker from Polygon

tools.powerbi.tool.InfoPowerBITool

Tool for getting metadata about a PowerBI Dataset.

tools.powerbi.tool.ListPowerBITool

Tool for getting tables names.

tools.powerbi.tool.QueryPowerBITool

Tool for querying a Power BI Dataset.

tools.pubmed.tool.PubmedQueryRun

Tool that searches the PubMed API.

tools.reddit_search.tool.RedditSearchRun

Tool that queries for posts on a subreddit.

tools.reddit_search.tool.RedditSearchSchema

Input for Reddit search.

tools.requests.tool.BaseRequestsTool

Base class for requests tools.

tools.requests.tool.RequestsDeleteTool

Tool for making a DELETE request to an API endpoint.

tools.requests.tool.RequestsGetTool

Tool for making a GET request to an API endpoint.

tools.requests.tool.RequestsPatchTool

Tool for making a PATCH request to an API endpoint.

tools.requests.tool.RequestsPostTool

Tool for making a POST request to an API endpoint.

tools.requests.tool.RequestsPutTool

Tool for making a PUT request to an API endpoint.

tools.riza.command.ExecJavaScript

A tool implementation to execute JavaScript via Riza's Code Interpreter API.

tools.riza.command.ExecJavaScriptInput

Create a new model by parsing and validating input data from keyword arguments.

tools.riza.command.ExecPython

Riza Code tool.

tools.riza.command.ExecPythonInput

Create a new model by parsing and validating input data from keyword arguments.

tools.scenexplain.tool.SceneXplainInput

Input for SceneXplain.

tools.scenexplain.tool.SceneXplainTool

Tool that explains images.

tools.searchapi.tool.SearchAPIResults

Tool that queries the SearchApi.io search API and returns JSON.

tools.searchapi.tool.SearchAPIRun

Tool that queries the SearchApi.io search API.

tools.searx_search.tool.SearxSearchQueryInput

Input for the SearxSearch tool.

tools.searx_search.tool.SearxSearchResults

Tool that queries a Searx instance and gets back json.

tools.searx_search.tool.SearxSearchRun

Tool that queries a Searx instance.

tools.semanticscholar.tool.SemanticScholarQueryRun

Tool that searches the semanticscholar API.

tools.semanticscholar.tool.SemantscholarInput

Input for the SemanticScholar tool.

tools.shell.tool.ShellInput

Commands for the Bash Shell tool.

tools.shell.tool.ShellTool

Tool to run shell commands.

tools.slack.base.SlackBaseTool

Base class for Slack tools.

tools.slack.get_channel.SlackGetChannel

Tool that gets Slack channel information.

tools.slack.get_message.SlackGetMessage

Tool that gets Slack messages.

tools.slack.get_message.SlackGetMessageSchema

Input schema for SlackGetMessages.

tools.slack.schedule_message.ScheduleMessageSchema

Input for ScheduleMessageTool.

tools.slack.schedule_message.SlackScheduleMessage

Tool for scheduling a message in Slack.

tools.slack.send_message.SendMessageSchema

Input for SendMessageTool.

tools.slack.send_message.SlackSendMessage

Tool for sending a message in Slack.

tools.sleep.tool.SleepInput

Input for CopyFileTool.

tools.sleep.tool.SleepTool

Tool that adds the capability to sleep.

tools.spark_sql.tool.BaseSparkSQLTool

Base tool for interacting with Spark SQL.

tools.spark_sql.tool.InfoSparkSQLTool

Tool for getting metadata about a Spark SQL.

tools.spark_sql.tool.ListSparkSQLTool

Tool for getting tables names.

tools.spark_sql.tool.QueryCheckerTool

Use an LLM to check if a query is correct.

tools.spark_sql.tool.QuerySparkSQLTool

Tool for querying a Spark SQL.

tools.sql_database.tool.BaseSQLDatabaseTool

Base tool for interacting with a SQL database.

tools.sql_database.tool.InfoSQLDatabaseTool

Tool for getting metadata about a SQL database.

tools.sql_database.tool.ListSQLDatabaseTool

Tool for getting tables names.

tools.sql_database.tool.QuerySQLCheckerTool

Use an LLM to check if a query is correct.

tools.sql_database.tool.QuerySQLDataBaseTool

Tool for querying a SQL database.

tools.stackexchange.tool.StackExchangeTool

Tool that uses StackExchange

tools.steam.tool.SteamWebAPIQueryRun

Tool that searches the Steam Web API.

tools.steamship_image_generation.tool.ModelName(value)

Supported Image Models for generation.

tools.steamship_image_generation.tool.SteamshipImageGenerationTool

Tool used to generate images from a text-prompt.

tools.tavily_search.tool.TavilyAnswer

Tool that queries the Tavily Search API and gets back an answer.

tools.tavily_search.tool.TavilyInput

Input for the Tavily tool.

tools.tavily_search.tool.TavilySearchResults

Tool that queries the Tavily Search API and gets back json.

tools.vectorstore.tool.BaseVectorStoreTool

Base class for tools that use a VectorStore.

tools.vectorstore.tool.VectorStoreQATool

Tool for the VectorDBQA chain.

tools.vectorstore.tool.VectorStoreQAWithSourcesTool

Tool for the VectorDBQAWithSources chain.

tools.wikidata.tool.WikidataQueryRun

Tool that searches the Wikidata API.

tools.wikipedia.tool.WikipediaQueryInput

Input for the WikipediaQuery tool.

tools.wikipedia.tool.WikipediaQueryRun

Tool that searches the Wikipedia API.

tools.wolfram_alpha.tool.WolframAlphaQueryRun

Tool that queries using the Wolfram Alpha SDK.

tools.yahoo_finance_news.YahooFinanceNewsInput

Input for the YahooFinanceNews tool.

tools.yahoo_finance_news.YahooFinanceNewsTool

Tool that searches financial news on Yahoo Finance.

tools.you.tool.YouInput

Input schema for the you.com tool.

tools.you.tool.YouSearchTool

Tool that searches the you.com API.

tools.youtube.search.YouTubeSearchTool

Tool that queries YouTube.

tools.zapier.tool.ZapierNLAListActions

Returns a list of all exposed (enabled) actions associated with current user (associated with the set api_key).

tools.zapier.tool.ZapierNLARunAction

Executes an action that is identified by action_id, must be exposed

tools.zenguard.tool.Detector(value[,ย names,ย ...])

tools.zenguard.tool.DetectorAPI(value[,ย ...])

tools.zenguard.tool.ZenGuardInput

Create a new model by parsing and validating input data from keyword arguments.

tools.zenguard.tool.ZenGuardTool

Initialize the tool.

Functions

tools.ainetwork.utils.authenticate([network])

Authenticate using the AIN Blockchain

tools.amadeus.utils.authenticate()

Authenticate using the Amadeus API

tools.azure_ai_services.utils.detect_file_src_type(...)

Detect if the file is local or remote.

tools.azure_ai_services.utils.download_audio_from_url(...)

Download audio from url to local.

tools.azure_cognitive_services.utils.detect_file_src_type(...)

Detect if the file is local or remote.

tools.azure_cognitive_services.utils.download_audio_from_url(...)

Download audio from url to local.

tools.bearly.tool.file_to_base64(path)

Convert a file to base64.

tools.bearly.tool.head_file(path,ย n)

Get the first n lines of a file.

tools.bearly.tool.strip_markdown_code(md_string)

Strip markdown code from a string.

tools.ddg_search.tool.DuckDuckGoSearchTool(...)

Deprecated.

tools.e2b_data_analysis.tool.add_last_line_print(code)

Add print statement to the last line if it's missing.

tools.e2b_data_analysis.unparse.interleave(...)

Call f on each item in seq, calling inter() in between.

tools.e2b_data_analysis.unparse.roundtrip(...)

Parse a file and pretty-print it to output.

tools.file_management.utils.get_validated_relative_path(...)

Resolve a relative path, raising an error if not within the root directory.

tools.file_management.utils.is_relative_to(...)

Check if path is relative to root.

tools.gmail.utils.build_resource_service([...])

Build a Gmail service.

tools.gmail.utils.clean_email_body(body)

Clean email body.

tools.gmail.utils.get_gmail_credentials([...])

Get credentials.

tools.gmail.utils.import_google()

Import google libraries.

tools.gmail.utils.import_googleapiclient_resource_builder()

Import googleapiclient.discovery.build function.

tools.gmail.utils.import_installed_app_flow()

Import InstalledAppFlow class.

tools.interaction.tool.StdInInquireTool(...)

Tool for asking the user for input.

tools.office365.utils.authenticate()

Authenticate using the Microsoft Graph API

tools.office365.utils.clean_body(body)

Clean body of a message or event.

tools.playwright.base.lazy_import_playwright_browsers()

Lazy import playwright browsers.

tools.playwright.utils.aget_current_page(browser)

Asynchronously get the current page of the browser.

tools.playwright.utils.create_async_playwright_browser([...])

Create an async playwright browser.

tools.playwright.utils.create_sync_playwright_browser([...])

Create a playwright browser.

tools.playwright.utils.get_current_page(browser)

Get the current page of the browser.

tools.playwright.utils.run_async(coro)

Run an async coroutine.

tools.plugin.marshal_spec(txt)

Convert the yaml or json serialized spec to a dict.

tools.slack.utils.login()

Authenticate using the Slack API.

tools.steamship_image_generation.utils.make_image_public(...)

Upload a block to a signed URL and return the public URL.

Deprecated classes

tools.google_cloud.texttospeech.GoogleCloudTextToSpeechTool

Deprecated since version 0.0.33: Use langchain_google_community.TextToSpeechTool instead.

tools.google_places.tool.GooglePlacesTool

Deprecated since version 0.0.33: Use langchain_google_community.GooglePlacesTool instead.

tools.google_search.tool.GoogleSearchResults

Deprecated since version 0.0.33: Use langchain_google_community.GoogleSearchResults instead.

tools.google_search.tool.GoogleSearchRun

Deprecated since version 0.0.33: Use langchain_google_community.GoogleSearchRun instead.

tools.metaphor_search.tool.MetaphorSearchResults

Deprecated since version 0.0.15: Use langchain_exa.ExaSearchResults instead.