Skip to content

Commit 2479b9d

Browse files
committed
advanced example
1 parent ab60e8c commit 2479b9d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

fern/tools/default-tools.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ subtitle: 'Adding Transfer Call, End Call, Dial Keypad, and API Request capabili
44
slug: tools/default-tools
55
---
66

7-
Vapi voice assistants are given additional functions: `transferCall`, `endCall`, `dtmf` (to dial a keypad with [DTMF](https://en.wikipedia.org/wiki/DTMF)), and `apiRequest`. These functions can be used to transfer calls, hang up calls, enter digits on the keypad, and integrate with your existing APIs.
7+
Vapi voice assistants are given additional functions: `transferCall`, `endCall`, `sms`, `dtmf` (to dial a keypad with [DTMF](https://en.wikipedia.org/wiki/DTMF)), and `apiRequest`. These functions can be used to transfer calls, hang up calls, send SMS messages, enter digits on the keypad, and integrate business logic with your existing APIs.
88

99
<Info>
1010
To add Default Tools to your agent, you need to add them in the `tools` array of your assistant. You can do this in your api request, or by creating a new tool in the dashboard tools page, and assigning it to your assistant.
@@ -258,10 +258,9 @@ Use **LiquidJS syntax** to reference conversation variables and user data in you
258258
]
259259
},
260260
"backoffPlan": {
261-
"initialDelayMs": 1000,
262-
"maxDelayMs": 10000,
263-
"backoffMultiplier": 2.0,
264-
"maxRetries": 3
261+
"type": "exponential",
262+
"maxRetries": 3,
263+
"baseDelaySeconds": 1
265264
},
266265
"timeoutSeconds": 45
267266
}

0 commit comments

Comments
 (0)