Overview
Tools allow your agent to take actions by calling external APIs. Examples:- Check order status from your e-commerce platform
- Create support tickets in your helpdesk
- Book appointments in your calendar
- Look up customer information in your CRM
Creating a Tool
1
Navigate to Tools
Go to your agent’s Tools tab.
2
Add new tool
Click Add Tool and provide:
- Name: How the AI refers to the tool
- Description: When to use the tool (important for AI decision-making)
3
Define parameters
Specify what inputs the tool needs. For example, an order lookup tool might need an
orderId parameter.4
Configure execution
Set up the HTTP endpoint:
- URL: The API endpoint to call
- Method: GET, POST, PUT, DELETE
- Headers: Authentication, content-type, etc.
Tool Schema
Tools use JSON Schema to define their parameters:HTTP Configuration
URL Templates
Use{{paramName}} syntax to inject parameters into URLs:
Request Body
For POST/PUT requests, the body is automatically populated with the tool parameters as JSON.Headers
Common headers to configure:Example: Order Lookup
Here’s a complete example for an order status tool: Name:check_order_status
Description:
https://api.yourstore.com/orders/{{orderId}}
Method: GET
Headers:
Tool Limits
| Plan | Tools per Agent |
|---|---|
| Free | 3 |
| Starter | 5 |
| Growth | 10 |
| Pro | Unlimited |
Best Practices
Write clear descriptions
Write clear descriptions
The AI decides when to use tools based on descriptions. Be specific about when the tool should be used.
Handle errors gracefully
Handle errors gracefully
Your API should return clear error messages that the AI can relay to users.
Keep responses concise
Keep responses concise
Return only the data the AI needs. Large responses slow down processing.
Test thoroughly
Test thoroughly
Test each tool with various inputs before deploying to production.