The following examples use illustrative endpoints and credentials to demonstrate the schema structure. Replace the URLs, tokens, and parameter values with your own API details when implementing.
- GET Requests
- POST Requests
Check Order Status
Check Order Status
A customer calls and asks “Where is my order?” The agent collects the order ID and fetches the status from your backend.What the agent says: “Let me check the status of your order.”What Bolna sends:Function schema:Example API response the LLM receives:The agent would then say something like: “Your order ORD-78234 has been shipped and is expected to arrive by March 15th. Your tracking number is 1Z999AA10123456784.”
Look Up Account Balance
Look Up Account Balance
A customer calls and asks “What’s my current balance?” The agent verifies their identity using their registered phone number and account ID, then fetches the balance.What the agent says: “Let me pull up your account details.”What Bolna sends:Function schema:Example API response the LLM receives:The agent would then say something like: “Your current account balance is Rs. 24,500.75. Your last transaction was on March 12th.”

