AI Function Tools & REST Integration
Function Tools allow your Omnisetu LLM bots to interact with external systems and APIs in real time — moving beyond answering questions to taking real actions.
Overview
Actionable AI That Takes Real Actions
Define function names, parameters, and descriptions using structured JSON Schema. Your LLM bot automatically decides when to trigger the right API endpoint.
Automated API Dispatch
The LLM extracts required arguments from chat and dispatches requests to your REST API endpoints automatically.
JSON Schema Definitions
Define function parameters, required fields, and parameter types so the model understands exactly when and how to call them.
Natural Language Output
Once the REST API returns a response, the LLM converts raw JSON data into a clear, natural response for your customer.
Execution Flow
How Function Tools Work
LLM agents execute REST APIs and return live data directly to customers.
User Request
Customer asks a question requiring an action (e.g. 'Book appointment').
LLM Bot Intent
LLM parses request & identifies that a function tool is needed.
Function Selection
Extracts required parameters (e.g. Doctor ID, Date, Time Slot).
REST API Endpoint
Sends structured JSON payload to target POST /v1/appointments/book.
API Response
Booking system executes request and returns confirmation JSON.
Natural LLM Answer
LLM converts API result into a friendly natural response for user.
Real-World Action
From Chat Request to Confirmed Action
See how a user request flows through function selection, REST API execution, and final customer response in real time.
Target Endpoint
POST /v1/appointments/book
Extracted Parameters
patient_name, doctor_id (102), appointment_date, time_slot (10:30 AM)
API Authentication
Secure Bearer Header & API Key token
Result Conversion
API confirmation JSON converted to human response
"Book an appointment with Dr. 102 for tomorrow at 10:30 AM."
patient_name: "Customer Name"
doctor_id: 102
appointment_date: "2026-08-11"
time_slot: "10:30 AM"
"Your appointment with Dr. 102 for tomorrow at 10:30 AM is confirmed! Confirmation ID: #APT-8842."
Capabilities
Real-Time System Capabilities
Empower your LLM bots to perform real-world actions across your existing APIs and business logic.
Fetch Live Information
Query live account balances, inventory stock, order status, and availability in real time.
Book Appointments
Schedule meetings, reserve time slots, and create calendar events directly from conversation.
Update Records
Modify contact details, update support ticket statuses, and sync CRM fields seamlessly.
Process Cancellations
Handle order cancellations, subscription downgrades, and appointment reschedules automatically.
Create & Modify Data
Insert new customer records, log interaction notes, and update enterprise databases.
Call Existing REST APIs
Connect to any existing HTTP endpoint with custom JSON payloads and headers.
Perform Custom Operations
Execute proprietary business logic, trigger Zapier webhooks, and launch backend jobs.
Secure API Auth
Protect calls with API keys, OAuth tokens, and encrypted header configurations.
Frequently Asked Questions
Your competitors are already automating. Are you?
Stop wasting time switching between messaging apps. Omnisetu unifies WhatsApp, Instagram, Email, and every channel into one workspace — with 24/7 AI that qualifies leads and answers questions automatically.
No credit card required · 14-day free trial · Cancel anytime
