Add a toolcall
Click Add toolcall and start from a template or from scratch:
Then fill in three parts:
1
What it does
A name and a description of what it does and when to use it, for example “Look up the status of an order. Use when the caller asks where their order is.” The agent decides when to call it from this description. Tick Confirm with the caller before running for anything that changes data or spends money.
2
Your backend
Pick REST API, Webhook or GraphQL and enter the endpoint. Reference inputs in the URL, headers or body as
{{order_number}}. Put credentials in a header, never in the URL. Webhooks are signed with a secret you can rotate, sent as X-LumisReach-Signature-256, so your server can verify the request came from LumisReach.3
Inputs the agent collects
The details the agent asks the caller for, each with a type, a description and, if you like, a list of allowed values (for example small, medium, large).
Call details you can use
These are filled in automatically at call time and never asked of the caller:
Requests also carry an
X-LumisReach-Call-Id header, and X-LumisReach-Test: true when they come from a test.
Limits
- Up to 20 toolcalls per phone number, and up to 20 inputs per toolcall.
- Your endpoint has up to 20 seconds to respond.
- Toolcalls work on both voice stacks.
Custom prompts
Tell the agent how to use the results.
Test your agent
Run a test call before you go live.