Built-in: End call
End call (on by default) lets the agent hang up once it has said goodbye, or when the caller asks to end the call. The call ends after the goodbye has finished playing, and the caller sees Call ended.Add a custom tool
Click Add tool and fill in:
An agent can have up to 20 custom tools.
Example
Function name:get_order_status
When to use it: Look up an order’s delivery status by its order number.
Parameters:
What your endpoint receives
When the agent uses a tool, we send aPOST to its endpoint with a JSON body:
Headers:
Content-Type: application/json, the headers you set, and the signature headers webhook-id, webhook-timestamp and webhook-signature. Your own headers can’t override the signature headers.
What to send back
Reply within 10 seconds. The response body, text or JSON, is what the agent learns, and the conversation carries on.Verify requests
Every tool request is signed with the agent’s signing secret, so you can check it came from your agent. See Verify signatures.Express