/v1/tools/available endpoint provides information about integrated tools and capabilities that can enhance your agents and swarms.
Tools extend agent capabilities by providing access to external services, APIs, databases, and specialized functions.
Quick Start
- Python
- JavaScript
- cURL
Tool Integration
Enable a tool on an agent by adding its name to the top-leveltools_enabled field of the request (alongside agent_config and task). Only one of the two tools is applied per request — if auto_search is present it takes precedence over web_scraper.
- Auto Search
- Web Scraper
Tool Categories
Search and scrape costs are billed per use — see Pricing Details for current
search_cost and scrape_cost rates.Best Practices
Tool Selection
- Match Tools to Tasks: Choose tools that best fit your specific use case
- Avoid Overloading: Don’t enable too many tools for a single agent
- Test Combinations: Test tool combinations to ensure they work well together
- Monitor Performance: Track how tools affect response time and cost
Configuration
- Set Appropriate Limits: Configure tool-specific limits and timeouts
- Handle Errors Gracefully: Implement proper error handling for tool failures
- Cache Results: Cache tool results when appropriate to improve performance
- Security First: Ensure tools access only authorized resources
Usage Optimization
- Batch Operations: Use tools that support batch operations when possible
- Async Processing: Leverage asynchronous tool execution for better performance
- Resource Management: Monitor tool usage and resource consumption
- Cost Awareness: Be aware of costs associated with tool usage