Skip to main content

What Are Tools?

Tools extend what your AI agent can do beyond answering questions. With tools, your agent can:
  • Fetch data from external APIs (product info, order status, weather)
  • Display rich content (product cards, carousels, tables)
  • Collect information through interactive forms
  • Trigger actions in your systems (create tickets, send notifications)
Tools dashboard

Tool Types

Ansa supports three types of tool execution:

Creating a Tool

Navigate to Agent → Tools → Create Tool:

Basic Configuration

Every tool needs:

Naming Conventions

Tool names must:
  • Start with a letter or underscore
  • Use only lowercase letters, numbers, and underscores
  • Be unique within the agent
Pattern: /^[a-z_][a-z0-9_]*$/ search_products, get_order_status, contact_formSearch Products, get-order, 123tool

Input Schema

Define what parameters the AI should provide:
Write clear descriptions for each property. The AI uses these to understand what values to provide.

How the AI Uses Tools

When a user sends a message, the AI:
  1. Analyzes the user’s request
  2. Decides if a tool would help answer it
  3. Extracts the required parameters from the conversation
  4. Calls the tool with those parameters
  5. Processes the result and responds naturally
The AI decides to use a tool based on the tool’s description. Write descriptions that clearly explain when the tool should be used: Good descriptions:
  • “Search for products when the user asks about items, prices, or availability”
  • “Look up order status when user provides an order number or asks about shipping”
  • “Show the contact form when user wants to reach support or has an issue you cannot resolve”
Poor descriptions:
  • “Product search” (too vague)
  • “Use this tool” (no context)

Tool Execution Flow

Enabling/Disabling Tools

Toggle tools on/off without deleting them:
  • Enabled — AI can use this tool
  • Disabled — Tool is hidden from AI
Useful for:
  • Seasonal tools (holiday promotions)
  • A/B testing different tools
  • Temporarily disabling broken integrations

Tool Categories

Organize your tools by purpose:

Next Steps

HTTP Tools

Connect to external APIs

Form Tools

Collect user information

Display Configuration

Show rich content

Marketplace

Install pre-built tools

See Also