Skip to main content
Complete custom function schemas you can adapt. Each field is documented in the schema reference.
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.
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.”
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.”
The phone parameter can be auto-injected using the {{from_number}} context variable, so the caller does not need to repeat their number.