Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion fern/tools/default-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ This function is provided when `endCall` is included in the assistant's list of

#### Dial Keypad (DTMF)

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.
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.

```json
{
Expand All @@ -85,6 +85,35 @@ This function is provided when `dtmf` is included in the assistant's list of ava
}
}
```

#### Send Text

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.

```json
{
"model": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You are an assistant. When the user asks you to send a text message, use the sms function."
}
],
"tools": [
{
"type": "sms",
"metadata": {
"from": "+15551234567"
}
}
]
}
}
```


<Accordion title="Custom Functions: Deprecated">
### Custom Functions

Expand Down