yourang.ai Logo
Back to the platform
Documentation
Get started
  • What the platform is
  • First access
  • Platform overview
  • Quick glossary
Dashboard Assistant
  • What the dashboard assistant is
  • How to use it
  • What it can do
  • Safety and privacy
  • Plans and usage limits
Voice agent
  • Basic configuration
  • Voices and language
  • Instructions
  • Prompt tokens
  • Advanced settings
  • Evaluation criteria
  • Testing and playground
  • Updating instructions
  • External Tools
  • Built-in tools
  • MCP servers
Models offered
  • What models are and why they matter
  • Voice models
  • AI models
  • Choosing the right combination
Documents and knowledge base
  • What the knowledge base is
  • Uploading and managing documents
  • How search works during a call
  • Best practices
Calls
  • Call history
  • Transcripts and summaries
  • Audio recordings
  • Filters and search
  • Data export
Call transfers
  • When and why to transfer a call
  • Departments
  • System tools
  • AI after-hours
  • Routing rules
  • Operator app (iOS / Android)
WhatsApp
  • WhatsApp Business in yourang.ai
  • Real-time chat
  • Automations
  • Approved templates
  • WhatsApp contacts and lists
  • WhatsApp AI agents
Actions and campaigns
  • What actions are
  • SMS campaigns
  • Email campaigns
  • Scheduling and batch sends
Reservations
  • Calendar view
  • Availability rules
  • Confirmations and reminders
  • Changes and cancellations
Contacts
  • Customer directory
  • CSV import
  • Lists and segments
  • Custom fields
Shop and catalogue
  • The shop in yourang.ai
  • Product and service catalogue
  • Order management
  • OCR and price-list import
Integrations
  • Connect Apple Calendar
  • Connect HubSpot
  • Integrations overview
  • Calendar
  • WhatsApp
  • SMS and email
  • Business software and PMS
  • Outbound webhooks
Workflows
  • What workflows are
  • Nodes and blocks
  • Triggers and webhooks
  • Practical examples
Call center and dialer
  • What the yourang.ai call center does
  • Outbound campaigns
  • Human operators
  • Contact lists and live sync
  • Operator panel
External APIs and developers
  • yourang.ai for developers
  • API keys and authentication
  • Main endpoints
  • Incoming webhooks
Use cases
  • Hotels and accommodation
  • Restaurant
  • B&Bs and short-term rentals
  • Beauty center and spa
  • Travel agency
Pricing and plans
  • How pricing works
  • Subscription plans
  • Wallet and credits
  • Consumption and invoices
  • Changing, suspending, or cancelling the plan
Management
  • Account and organization
  • Billing and subscription
  • Team and roles
  • Security and privacy
  • Notifications
Business information
  • Business details
  • Location and address
  • Opening hours
  • AI assistant hours
  • Departments and team
Resources
  • Frequently asked questions
  • Complete glossary
  • Support
Documentation›Voice agent›External Tools

Voice agent

External Tools

Custom webhooks the AI agent can call during a conversation.

External Tools are HTTP webhooks you configure: the voice agent invokes them in real time to fetch data or trigger actions in your systems (CRM, business software, custom automations).

What they are

An External Tool is a function that lives on your server. yourang.ai registers it as an available tool for the AI agent: when the model decides that action is needed (e.g. look up a customer in the CRM, check room availability), it sends an HTTP request to the URL you configured.

How to configure

  1. 1

    Open the agent tools panel

    Go to /ai-agents → select the agent → Tools tab → External tools.

  2. 2

    Set name and description

    The internal name (tool_name) is a technical identifier (e.g. lookup_customer). The description tells the AI when to use the tool: keep it clear, concrete, focused on user intent.

  3. 3

    Set up the webhook

    HTTPS URL that will receive the calls, method (GET/POST/PUT), parameter schema (JSON Schema) that the AI will pass to the payload.

  4. 4

    Configure authentication

    None, Bearer token, API key in a header, Basic auth, or multiple custom headers. Credentials are encrypted at rest.

  5. 5

    Test with a trial call

    Start the agent in playground and ask something that should trigger the tool. The call log shows request, response and timings.

Authentication

None
Public endpoint, no headers. Not recommended in production.
API key
Sent in your chosen HTTP header (e.g. X-API-Key).
Bearer
Authorization: Bearer <token> header.
Basic
Authorization: Basic <base64(user:pass)>.
Custom header
One or more arbitrary headers (e.g. X-Tenant, X-Signature).

When to use them

  • CRM lookup. The agent searches a customer by phone number and tailors the answer with their data.
  • Business system availability. The agent asks the PMS whether there are free rooms on a given date.
  • Ticket creation. The agent logs a complaint as a ticket in your customer-care system.
  • Order update. The agent changes the status of an order already handled in your e-commerce.

Keep tools focused

One tool per action. Generic tools (e.g. 'do_something' with 20 optional parameters) confuse the AI and produce wrong calls. Three specific tools beat a single Swiss-Army knife.

Example request

POST /tools/lookup-customer · json
{
 "phone": "+1 415 555 0142",
 "call_id": "cl_abc123",
 "organization_id": "org_xyz"
}

# Expected response (200 OK):
{
 "found": true,
 "customer": {
 "name": "Jane Doe",
 "tier": "gold",
 "last_order_date": "2026-03-12"
 }
}

Was this page helpful?

PreviousUpdating instructionsNextBuilt-in tools