Adding Tools
Tools give agents the ability to take actions — searching the web, querying databases, calling APIs, and more.What Are Tools?
Tools are capabilities that agents can use to accomplish tasks:Information Access
Web Search, Database Query, File Reader
Communication
Email, Slack, Webhooks, HTTP Requests
Data Processing
Python, SQL, Excel, Data Analysis
Productivity
Calendar, Tasks, Notes, Reminders
Built-in Tools
Xagent includes commonly-used tools:Web Search
Search the web and retrieve current information. Use for: Research, competitive analysis, news gathering, fact-checkingDatabase Query
Query SQL databases directly. Use for: Business intelligence, reporting, data retrievalFile Operations
Read, write, and manipulate files. Use for: Document processing, report generation, data exportCode Execution
Run Python code for analysis and automation. Use for: Data processing, calculations, transformationsAdding Tools to Agents
Step 1: Access Agent Configuration
Navigate to your agent and go to Tools.Step 2: Enable Required Tools
Toggle on the tools your agent needs.Step 3: Configure Tool Settings
Some tools require configuration:Step 4: Test the Agent
Verify the agent uses tools appropriately:Custom Tools
Connect your own APIs and services as tools.REST APIs
Wrap any REST API as a tool:Custom Functions
Write custom logic in Python:Tool Selection
Xagent automatically selects the right tools for each task. You don’t need to specify which tools to use when — just enable them and the agent will choose appropriately.Example
With Web Search and Database Query enabled:Tool Best Practices
Common Tool Combinations
Research Agent
- Web Search
- Database Query
- File Reader
Data Analyst
- SQL
- Python
- Visualization
Content Creator
- Web Search
- File Writer
- Templates
Automation Agent
- HTTP Requests
- Database Query
- Webhooks