logo

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.

STEP 01

User Request

Customer asks a question requiring an action (e.g. 'Book appointment').

STEP 02

LLM Bot Intent

LLM parses request & identifies that a function tool is needed.

STEP 03

Function Selection

Extracts required parameters (e.g. Doctor ID, Date, Time Slot).

STEP 04

REST API Endpoint

Sends structured JSON payload to target POST /v1/appointments/book.

STEP 05

API Response

Booking system executes request and returns confirmation JSON.

STEP 06

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

Function Execution Live Inspector200 OK
Customer Message

"Book an appointment with Dr. 102 for tomorrow at 10:30 AM."

Function: book_appointmentPOST /v1/appointments/book

patient_name: "Customer Name"

doctor_id: 102

appointment_date: "2026-08-11"

time_slot: "10:30 AM"

Final Bot Response

"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

Function Tools allow your Omnisetu LLM bots to interact with external systems and APIs in real time. Instead of only generating a text response, the LLM can use a defined function to perform an action through a REST API.
You create a function by defining its name, description, parameters, and parameter types using a structured JSON Schema. This tells the LLM what the function does, what information it requires, and when it should be used.
Once your external API returns a response, that response is passed back to the LLM. The LLM understands the result and communicates the outcome to the user in natural language.
Each function is connected to your target HTTP endpoint with encrypted header configurations, supporting Bearer tokens, API keys, and custom authorization headers.

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