You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/tools/default-tools.mdx
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ This function is provided when `endCall` is included in the assistant's list of
64
64
65
65
#### Dial Keypad (DTMF)
66
66
67
-
This function is provided when `dtmf` is included in the assistant's list of available tools (see configuration options [here](/api-reference/assistants/create#request.body.model.openai.tools.dtmf)). The assistant will be able to enter digits on the keypad.
67
+
This function is provided when `dtmf` is included in the assistant's list of available tools (see configuration options [here](/api-reference/assistants/create#request.body.model.openai.tools.sms)). The assistant will be able to enter digits on the keypad.
68
68
69
69
```json
70
70
{
@@ -85,6 +85,35 @@ This function is provided when `dtmf` is included in the assistant's list of ava
85
85
}
86
86
}
87
87
```
88
+
89
+
#### Send Text
90
+
91
+
This function is provided when `sms` is included in the assistant’s list of available tool (see configuration options [here](/api-reference/assistants/create#request.body.model.openai.tools.dtmf)). The assistant can use this function to send SMS messages using a configured Twilio account.
92
+
93
+
```json
94
+
{
95
+
"model": {
96
+
"provider": "openai",
97
+
"model": "gpt-3.5-turbo",
98
+
"messages": [
99
+
{
100
+
"role": "system",
101
+
"content": "You are an assistant. When the user asks you to send a text message, use the sms function."
0 commit comments