Tools
Using Tools within Lyzr
Tools are functions that extend the agent’s capabilities by allowing it to perform specific actions, like sending an email. Adding tools to your agent makes it more actionable and useful.
Lyzr Agent Studio offers multiple tools that are easy to add and configure as part of your agent. Additionally, you have the flexibility to integrate custom APIs, which function as custom tools.
Connecting Tools
Lyzr Agent Studio provides two options to connect with tools:
Steps to add tools available on Agent Studio
Steps to add tools available on Agent Studio
Steps to connect:
-
Click on tools options from the side menu bar
-
Search for the tool that you want to add, and click on Add
-
Depending on the tool, you may need to sign-in, and provide access to Lyzr Agent Studio
Steps to add Custom tools (Need to provide OpenAPI Schema)
Steps to add Custom tools (Need to provide OpenAPI Schema)
Steps to add a custom tool:
-
Click on Tools from the sidebar menu.
-
Select Add Custom Tool.
-
Enter a Tool Set Name.
-
Upload or provide the OpenAPI/Swagger specification that defines your API endpoints.
-
Configure the following default parameters as needed:
-
Headers
-
Query Parameters
-
Body Parameters
-
Endpoint Defaults
-
-
Enable Enhanced Description to allow AI-powered enhancement of endpoint descriptions (optional).
-
Click Add Tool
Adding a tool to your agent
-
Create an agent and navigate to the Tools section to select from the list of already configured tools.
-
If the desired tool is not configured, go to the Tools page from the sidebar, select the preferred tool, and connect it. Return to your agent, go to the Tools section, and add the newly connected tool.
-
After selecting a tool, save the agent and assign the tool by providing clear instructions on its intended function. Finally, test the agent’s functionality from the Inference section.
Examples
-
Analyze pull requests for best practices and security issues by connecting to Github
-
Send emails to users about the product, when they ask details about your product by connecting with gmail tool
-
Using custom tools, you can get a list of products after filtering the category as Shoes