From 416fb876c4d825009825c32a630f9b7ea616b788 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 20 May 2025 00:27:46 +0000 Subject: [PATCH] Update API specifications with fern api update --- fern/apis/api/openapi.json | 3392 +++++++++++++++++------------------- 1 file changed, 1585 insertions(+), 1807 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 4e88a8df..1299120e 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -1142,7 +1142,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateSmsSendToolDTO", + "$ref": "#/components/schemas/CreateSmsToolDTO", "title": "SmsSendTool" }, { @@ -1178,13 +1178,13 @@ "output": "#/components/schemas/CreateOutputToolDTO", "bash": "#/components/schemas/CreateBashToolDTO", "computer": "#/components/schemas/CreateComputerToolDTO", - "textEditor": "#/components/schemas/CreateTextEditorToolDTO", + "text-editor": "#/components/schemas/CreateTextEditorToolDTO", "query": "#/components/schemas/CreateQueryToolDTO", "google.calendar.event.create": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", "google.sheets.row.append": "#/components/schemas/CreateGoogleSheetsRowAppendToolDTO", "google.calendar.availability.check": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", "slack.message.send": "#/components/schemas/CreateSlackSendMessageToolDTO", - "sms": "#/components/schemas/CreateSmsSendToolDTO", + "sms": "#/components/schemas/CreateSmsToolDTO", "mcp": "#/components/schemas/CreateMcpToolDTO", "gohighlevel.calendar.availability.check": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", "gohighlevel.calendar.event.create": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", @@ -1264,7 +1264,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/SmsSendTool", + "$ref": "#/components/schemas/SmsTool", "title": "SmsSendTool" }, { @@ -1300,13 +1300,13 @@ "output": "#/components/schemas/OutputTool", "bash": "#/components/schemas/BashTool", "computer": "#/components/schemas/ComputerTool", - "textEditor": "#/components/schemas/TextEditorTool", + "text-editor": "#/components/schemas/TextEditorTool", "query": "#/components/schemas/QueryTool", "google.calendar.event.create": "#/components/schemas/GoogleCalendarCreateEventTool", "google.sheets.row.append": "#/components/schemas/GoogleSheetsRowAppendTool", "google.calendar.availability.check": "#/components/schemas/GoogleCalendarCheckAvailabilityTool", "slack.message.send": "#/components/schemas/SlackSendMessageTool", - "sms": "#/components/schemas/SmsSendTool", + "sms": "#/components/schemas/SmsTool", "mcp": "#/components/schemas/McpTool", "gohighlevel.calendar.availability.check": "#/components/schemas/GoHighLevelCalendarAvailabilityTool", "gohighlevel.calendar.event.create": "#/components/schemas/GoHighLevelCalendarEventCreateTool", @@ -1494,7 +1494,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/SmsSendTool", + "$ref": "#/components/schemas/SmsTool", "title": "SmsSendTool" }, { @@ -1530,13 +1530,13 @@ "output": "#/components/schemas/OutputTool", "bash": "#/components/schemas/BashTool", "computer": "#/components/schemas/ComputerTool", - "textEditor": "#/components/schemas/TextEditorTool", + "text-editor": "#/components/schemas/TextEditorTool", "query": "#/components/schemas/QueryTool", "google.calendar.event.create": "#/components/schemas/GoogleCalendarCreateEventTool", "google.sheets.row.append": "#/components/schemas/GoogleSheetsRowAppendTool", "google.calendar.availability.check": "#/components/schemas/GoogleCalendarCheckAvailabilityTool", "slack.message.send": "#/components/schemas/SlackSendMessageTool", - "sms": "#/components/schemas/SmsSendTool", + "sms": "#/components/schemas/SmsTool", "mcp": "#/components/schemas/McpTool", "gohighlevel.calendar.availability.check": "#/components/schemas/GoHighLevelCalendarAvailabilityTool", "gohighlevel.calendar.event.create": "#/components/schemas/GoHighLevelCalendarEventCreateTool", @@ -1642,7 +1642,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/SmsSendTool", + "$ref": "#/components/schemas/SmsTool", "title": "SmsSendTool" }, { @@ -1678,13 +1678,13 @@ "output": "#/components/schemas/OutputTool", "bash": "#/components/schemas/BashTool", "computer": "#/components/schemas/ComputerTool", - "textEditor": "#/components/schemas/TextEditorTool", + "text-editor": "#/components/schemas/TextEditorTool", "query": "#/components/schemas/QueryTool", "google.calendar.event.create": "#/components/schemas/GoogleCalendarCreateEventTool", "google.sheets.row.append": "#/components/schemas/GoogleSheetsRowAppendTool", "google.calendar.availability.check": "#/components/schemas/GoogleCalendarCheckAvailabilityTool", "slack.message.send": "#/components/schemas/SlackSendMessageTool", - "sms": "#/components/schemas/SmsSendTool", + "sms": "#/components/schemas/SmsTool", "mcp": "#/components/schemas/McpTool", "gohighlevel.calendar.availability.check": "#/components/schemas/GoHighLevelCalendarAvailabilityTool", "gohighlevel.calendar.event.create": "#/components/schemas/GoHighLevelCalendarEventCreateTool", @@ -1786,7 +1786,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/UpdateSmsSendToolDTO", + "$ref": "#/components/schemas/UpdateSmsToolDTO", "title": "SmsSendTool" }, { @@ -1822,13 +1822,13 @@ "output": "#/components/schemas/UpdateOutputToolDTO", "bash": "#/components/schemas/UpdateBashToolDTO", "computer": "#/components/schemas/UpdateComputerToolDTO", - "textEditor": "#/components/schemas/UpdateTextEditorToolDTO", + "text-editor": "#/components/schemas/UpdateTextEditorToolDTO", "query": "#/components/schemas/UpdateQueryToolDTO", "google.calendar.event.create": "#/components/schemas/UpdateGoogleCalendarCreateEventToolDTO", "google.sheets.row.append": "#/components/schemas/UpdateGoogleSheetsRowAppendToolDTO", "google.calendar.availability.check": "#/components/schemas/UpdateGoogleCalendarCheckAvailabilityToolDTO", "slack.message.send": "#/components/schemas/UpdateSlackSendMessageToolDTO", - "sms": "#/components/schemas/UpdateSmsSendToolDTO", + "sms": "#/components/schemas/UpdateSmsToolDTO", "mcp": "#/components/schemas/UpdateMcpToolDTO", "gohighlevel.calendar.availability.check": "#/components/schemas/UpdateGoHighLevelCalendarAvailabilityToolDTO", "gohighlevel.calendar.event.create": "#/components/schemas/UpdateGoHighLevelCalendarEventCreateToolDTO", @@ -1908,7 +1908,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/SmsSendTool", + "$ref": "#/components/schemas/SmsTool", "title": "SmsSendTool" }, { @@ -1944,13 +1944,13 @@ "output": "#/components/schemas/OutputTool", "bash": "#/components/schemas/BashTool", "computer": "#/components/schemas/ComputerTool", - "textEditor": "#/components/schemas/TextEditorTool", + "text-editor": "#/components/schemas/TextEditorTool", "query": "#/components/schemas/QueryTool", "google.calendar.event.create": "#/components/schemas/GoogleCalendarCreateEventTool", "google.sheets.row.append": "#/components/schemas/GoogleSheetsRowAppendTool", "google.calendar.availability.check": "#/components/schemas/GoogleCalendarCheckAvailabilityTool", "slack.message.send": "#/components/schemas/SlackSendMessageTool", - "sms": "#/components/schemas/SmsSendTool", + "sms": "#/components/schemas/SmsTool", "mcp": "#/components/schemas/McpTool", "gohighlevel.calendar.availability.check": "#/components/schemas/GoHighLevelCalendarAvailabilityTool", "gohighlevel.calendar.event.create": "#/components/schemas/GoHighLevelCalendarEventCreateTool", @@ -2053,7 +2053,7 @@ "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/SmsSendTool", + "$ref": "#/components/schemas/SmsTool", "title": "SmsSendTool" }, { @@ -2089,13 +2089,13 @@ "output": "#/components/schemas/OutputTool", "bash": "#/components/schemas/BashTool", "computer": "#/components/schemas/ComputerTool", - "textEditor": "#/components/schemas/TextEditorTool", + "text-editor": "#/components/schemas/TextEditorTool", "query": "#/components/schemas/QueryTool", "google.calendar.event.create": "#/components/schemas/GoogleCalendarCreateEventTool", "google.sheets.row.append": "#/components/schemas/GoogleSheetsRowAppendTool", "google.calendar.availability.check": "#/components/schemas/GoogleCalendarCheckAvailabilityTool", "slack.message.send": "#/components/schemas/SlackSendMessageTool", - "sms": "#/components/schemas/SmsSendTool", + "sms": "#/components/schemas/SmsTool", "mcp": "#/components/schemas/McpTool", "gohighlevel.calendar.availability.check": "#/components/schemas/GoHighLevelCalendarAvailabilityTool", "gohighlevel.calendar.event.create": "#/components/schemas/GoHighLevelCalendarEventCreateTool", @@ -6094,6 +6094,7 @@ "type": "string", "description": "This is the model that will be used for the transcription.", "enum": [ + "gemini-2.5-pro-preview-05-06", "gemini-2.5-flash-preview-04-17", "gemini-2.0-flash-thinking-exp", "gemini-2.0-pro-exp-02-05", @@ -7296,6 +7297,7 @@ "type": "string", "description": "This is the model that will be used for the transcription.", "enum": [ + "gemini-2.5-pro-preview-05-06", "gemini-2.5-flash-preview-04-17", "gemini-2.0-flash-thinking-exp", "gemini-2.0-pro-exp-02-05", @@ -8176,6 +8178,7 @@ }, "type": { "type": "string", + "deprecated": true, "enum": [ "voicemail" ], @@ -8488,40 +8491,6 @@ "assistantName" ] }, - "TransferDestinationStep": { - "type": "object", - "properties": { - "message": { - "description": "This is spoken to the customer before connecting them to the destination.\n\nUsage:\n- If this is not provided and transfer tool messages is not provided, default is \"Transferring the call now\".\n- If set to \"\", nothing is spoken. This is useful when you want to silently transfer. This is especially useful when transferring between assistants in a squad. In this scenario, you likely also want to set `assistant.firstMessageMode=assistant-speaks-first-with-model-generated-message` for the destination assistant.\n\nThis accepts a string or a ToolMessageStart class. Latter is useful if you want to specify multiple messages for different languages through the `contents` field.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/CustomMessage" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "step" - ] - }, - "stepName": { - "type": "string", - "description": "This is the step to transfer to." - }, - "description": { - "type": "string", - "description": "This is the description of the destination, used by the AI to choose when and how to transfer the call." - } - }, - "required": [ - "type", - "stepName" - ] - }, "TransferFallbackPlan": { "type": "object", "properties": { @@ -8793,10 +8762,6 @@ "$ref": "#/components/schemas/TransferDestinationAssistant", "title": "Assistant" }, - { - "$ref": "#/components/schemas/TransferDestinationStep", - "title": "Step" - }, { "$ref": "#/components/schemas/TransferDestinationNumber", "title": "Number" @@ -8873,6 +8838,7 @@ "type": "string", "description": "The model to use for the knowledge base", "enum": [ + "gemini-2.5-pro-preview-05-06", "gemini-2.5-flash-preview-04-17", "gemini-2.0-flash-thinking-exp", "gemini-2.0-pro-exp-02-05", @@ -9214,6 +9180,66 @@ "type" ] }, + "CreateMcpToolDTO": { + "type": "object", + "properties": { + "async": { + "type": "boolean", + "description": "This determines if the tool is async.\n\nIf async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\nIf sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\nDefaults to synchronous (`false`).", + "example": false + }, + "messages": { + "type": "array", + "description": "These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/ToolMessageStart", + "title": "ToolMessageStart" + }, + { + "$ref": "#/components/schemas/ToolMessageComplete", + "title": "ToolMessageComplete" + }, + { + "$ref": "#/components/schemas/ToolMessageFailed", + "title": "ToolMessageFailed" + }, + { + "$ref": "#/components/schemas/ToolMessageDelayed", + "title": "ToolMessageDelayed" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "mcp" + ], + "description": "The type of tool. \"mcp\" for MCP tool." + }, + "function": { + "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", + "allOf": [ + { + "$ref": "#/components/schemas/OpenAIFunction" + } + ] + }, + "server": { + "description": "This is the server that will be hit when this tool is requested by the model.\n\nAll requests will be sent with the call object among other things. You can find more details in the Server URL documentation.\n\nThis overrides the serverUrl set on the org and the phoneNumber. Order of precedence: highest tool.server.url, then assistant.serverUrl, then phoneNumber.serverUrl, then org.serverUrl.", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] + } + }, + "required": [ + "type" + ] + }, "CreateGoHighLevelCalendarAvailabilityToolDTO": { "type": "object", "properties": { @@ -9469,6 +9495,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -9477,29 +9511,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -9510,13 +9544,145 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" + }, + { + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", "title": "SlackSendMessageTool" }, + { + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" + } + ] + } + }, + "toolIds": { + "description": "These are the tools that the assistant can use during the call. To use transient tools, use `tools`.\n\nBoth `tools` and `toolIds` can be used together.", + "type": "array", + "items": { + "type": "string" + } + }, + "knowledgeBase": { + "description": "These are the options for the knowledge base.", + "oneOf": [ + { + "$ref": "#/components/schemas/CreateCustomKnowledgeBaseDTO", + "title": "Custom" + } + ] + }, + "knowledgeBaseId": { + "type": "string", + "description": "This is the ID of the knowledge base the model will use." + }, + "provider": { + "type": "string", + "enum": [ + "anyscale" + ] + }, + "model": { + "type": "string", + "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b" + }, + "temperature": { + "type": "number", + "description": "This is the temperature that will be used for calls. Default is 0 to leverage caching for lower latency.", + "minimum": 0, + "maximum": 2 + }, + "maxTokens": { + "type": "number", + "description": "This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250.", + "minimum": 50, + "maximum": 10000 + }, + "emotionRecognitionEnabled": { + "type": "boolean", + "description": "This determines whether we detect user's emotion while they speak and send it as an additional info to model.\n\nDefault `false` because the model is usually are good at understanding the user's emotion from text.\n\n@default false" + }, + "numFastTurns": { + "type": "number", + "description": "This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai.\n\nDefault is 0.\n\n@default 0", + "minimum": 0 + } + }, + "required": [ + "provider", + "model" + ] + }, + "AnthropicThinkingConfig": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "enabled" + ] + }, + "budgetTokens": { + "type": "number", + "description": "The maximum number of tokens to allocate for thinking.\nMust be between 1024 and 100000 tokens.", + "minimum": 1024, + "maximum": 100000 + } + }, + "required": [ + "type", + "budgetTokens" + ] + }, + "AnthropicModel": { + "type": "object", + "properties": { + "messages": { + "description": "This is the starting state for the conversation.", + "type": "array", + "items": { + "$ref": "#/components/schemas/OpenAIMessage" + } + }, + "tools": { + "type": "array", + "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, + { + "$ref": "#/components/schemas/CreateDtmfToolDTO", + "title": "DtmfTool" + }, + { + "$ref": "#/components/schemas/CreateEndCallToolDTO", + "title": "EndCallTool" + }, + { + "$ref": "#/components/schemas/CreateFunctionToolDTO", + "title": "FunctionTool" + }, { "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", "title": "GoHighLevelCalendarAvailabilityTool" @@ -9532,6 +9698,42 @@ { "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", + "title": "GoogleCalendarCreateEventTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleSheetsRowAppendToolDTO", + "title": "GoogleSheetsRowAppendTool" + }, + { + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" + }, + { + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" + }, + { + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" + }, + { + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -9556,15 +9758,33 @@ "type": "string", "description": "This is the ID of the knowledge base the model will use." }, - "provider": { + "model": { "type": "string", + "description": "The specific Anthropic/Claude model that will be used.", "enum": [ - "anyscale" + "claude-3-opus-20240229", + "claude-3-sonnet-20240229", + "claude-3-haiku-20240307", + "claude-3-5-sonnet-20240620", + "claude-3-5-sonnet-20241022", + "claude-3-5-haiku-20241022", + "claude-3-7-sonnet-20250219" ] }, - "model": { + "provider": { "type": "string", - "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b" + "description": "The provider identifier for Anthropic.", + "enum": [ + "anthropic" + ] + }, + "thinking": { + "description": "Optional configuration for Anthropic's thinking feature.\nOnly applicable for claude-3-7-sonnet-20250219 model.\nIf provided, maxTokens must be greater than thinking.budgetTokens.", + "allOf": [ + { + "$ref": "#/components/schemas/AnthropicThinkingConfig" + } + ] }, "temperature": { "type": "number", @@ -9589,32 +9809,11 @@ } }, "required": [ - "provider", - "model" - ] - }, - "AnthropicThinkingConfig": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "enabled" - ] - }, - "budgetTokens": { - "type": "number", - "description": "The maximum number of tokens to allocate for thinking.\nMust be between 1024 and 100000 tokens.", - "minimum": 1024, - "maximum": 100000 - } - }, - "required": [ - "type", - "budgetTokens" + "model", + "provider" ] }, - "AnthropicModel": { + "CerebrasModel": { "type": "object", "properties": { "messages": { @@ -9629,6 +9828,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -9637,29 +9844,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -9670,28 +9877,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -9718,30 +9925,16 @@ }, "model": { "type": "string", - "description": "The specific Anthropic/Claude model that will be used.", + "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b", "enum": [ - "claude-3-opus-20240229", - "claude-3-sonnet-20240229", - "claude-3-haiku-20240307", - "claude-3-5-sonnet-20240620", - "claude-3-5-sonnet-20241022", - "claude-3-5-haiku-20241022", - "claude-3-7-sonnet-20250219" + "llama3.1-8b", + "llama-3.3-70b" ] }, "provider": { "type": "string", - "description": "The provider identifier for Anthropic.", "enum": [ - "anthropic" - ] - }, - "thinking": { - "description": "Optional configuration for Anthropic's thinking feature.\nOnly applicable for claude-3-7-sonnet-20250219 model.\nIf provided, maxTokens must be greater than thinking.budgetTokens.", - "allOf": [ - { - "$ref": "#/components/schemas/AnthropicThinkingConfig" - } + "cerebras" ] }, "temperature": { @@ -9771,7 +9964,7 @@ "provider" ] }, - "CerebrasModel": { + "CustomLLMModel": { "type": "object", "properties": { "messages": { @@ -9786,6 +9979,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -9794,29 +9995,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -9827,28 +10028,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -9873,20 +10074,36 @@ "type": "string", "description": "This is the ID of the knowledge base the model will use." }, - "model": { + "provider": { "type": "string", - "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b", + "description": "This is the provider that will be used for the model. Any service, including your own server, that is compatible with the OpenAI API can be used.", "enum": [ - "llama3.1-8b", - "llama-3.3-70b" + "custom-llm" ] }, - "provider": { + "metadataSendMode": { "type": "string", + "description": "This determines whether metadata is sent in requests to the custom provider.\n\n- `off` will not send any metadata. payload will look like `{ messages }`\n- `variable` will send `assistant.metadata` as a variable on the payload. payload will look like `{ messages, metadata }`\n- `destructured` will send `assistant.metadata` fields directly on the payload. payload will look like `{ messages, ...metadata }`\n\nFurther, `variable` and `destructured` will send `call`, `phoneNumber`, and `customer` objects in the payload.\n\nDefault is `variable`.", "enum": [ - "cerebras" + "off", + "variable", + "destructured" ] }, + "url": { + "type": "string", + "description": "These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1" + }, + "timeoutSeconds": { + "type": "number", + "description": "This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.", + "minimum": 20, + "maximum": 600 + }, + "model": { + "type": "string", + "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b" + }, "temperature": { "type": "number", "description": "This is the temperature that will be used for calls. Default is 0 to leverage caching for lower latency.", @@ -9910,11 +10127,12 @@ } }, "required": [ - "model", - "provider" + "provider", + "url", + "model" ] }, - "CustomLLMModel": { + "DeepInfraModel": { "type": "object", "properties": { "messages": { @@ -9929,6 +10147,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -9937,29 +10163,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -9970,28 +10196,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -10018,30 +10244,10 @@ }, "provider": { "type": "string", - "description": "This is the provider that will be used for the model. Any service, including your own server, that is compatible with the OpenAI API can be used.", "enum": [ - "custom-llm" - ] - }, - "metadataSendMode": { - "type": "string", - "description": "This determines whether metadata is sent in requests to the custom provider.\n\n- `off` will not send any metadata. payload will look like `{ messages }`\n- `variable` will send `assistant.metadata` as a variable on the payload. payload will look like `{ messages, metadata }`\n- `destructured` will send `assistant.metadata` fields directly on the payload. payload will look like `{ messages, ...metadata }`\n\nFurther, `variable` and `destructured` will send `call`, `phoneNumber`, and `customer` objects in the payload.\n\nDefault is `variable`.", - "enum": [ - "off", - "variable", - "destructured" + "deepinfra" ] }, - "url": { - "type": "string", - "description": "These is the URL we'll use for the OpenAI client's `baseURL`. Ex. https://openrouter.ai/api/v1" - }, - "timeoutSeconds": { - "type": "number", - "description": "This sets the timeout for the connection to the custom provider without needing to stream any tokens back. Default is 20 seconds.", - "minimum": 20, - "maximum": 600 - }, "model": { "type": "string", "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b" @@ -10070,11 +10276,10 @@ }, "required": [ "provider", - "url", "model" ] }, - "DeepInfraModel": { + "DeepSeekModel": { "type": "object", "properties": { "messages": { @@ -10089,6 +10294,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -10097,29 +10310,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -10130,167 +10343,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" - } - ] - } - }, - "toolIds": { - "description": "These are the tools that the assistant can use during the call. To use transient tools, use `tools`.\n\nBoth `tools` and `toolIds` can be used together.", - "type": "array", - "items": { - "type": "string" - } - }, - "knowledgeBase": { - "description": "These are the options for the knowledge base.", - "oneOf": [ - { - "$ref": "#/components/schemas/CreateCustomKnowledgeBaseDTO", - "title": "Custom" - } - ] - }, - "knowledgeBaseId": { - "type": "string", - "description": "This is the ID of the knowledge base the model will use." - }, - "provider": { - "type": "string", - "enum": [ - "deepinfra" - ] - }, - "model": { - "type": "string", - "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b" - }, - "temperature": { - "type": "number", - "description": "This is the temperature that will be used for calls. Default is 0 to leverage caching for lower latency.", - "minimum": 0, - "maximum": 2 - }, - "maxTokens": { - "type": "number", - "description": "This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250.", - "minimum": 50, - "maximum": 10000 - }, - "emotionRecognitionEnabled": { - "type": "boolean", - "description": "This determines whether we detect user's emotion while they speak and send it as an additional info to model.\n\nDefault `false` because the model is usually are good at understanding the user's emotion from text.\n\n@default false" - }, - "numFastTurns": { - "type": "number", - "description": "This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai.\n\nDefault is 0.\n\n@default 0", - "minimum": 0 - } - }, - "required": [ - "provider", - "model" - ] - }, - "DeepSeekModel": { - "type": "object", - "properties": { - "messages": { - "description": "This is the starting state for the conversation.", - "type": "array", - "items": { - "$ref": "#/components/schemas/OpenAIMessage" - } - }, - "tools": { - "type": "array", - "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/CreateDtmfToolDTO", - "title": "DtmfTool" - }, - { - "$ref": "#/components/schemas/CreateEndCallToolDTO", - "title": "EndCallTool" - }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, - { - "$ref": "#/components/schemas/CreateFunctionToolDTO", - "title": "FunctionTool" - }, - { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" - }, - { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" - }, - { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" - }, - { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" - }, - { - "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", - "title": "GoogleCalendarCreateEventTool" - }, - { - "$ref": "#/components/schemas/CreateGoogleSheetsRowAppendToolDTO", - "title": "GoogleSheetsRowAppendTool" - }, - { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" - }, - { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" - }, - { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" - }, - { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" - }, - { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" - }, - { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -10440,6 +10514,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -10448,29 +10530,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -10481,28 +10563,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -10531,6 +10613,7 @@ "type": "string", "description": "This is the Google model that will be used.", "enum": [ + "gemini-2.5-pro-preview-05-06", "gemini-2.5-flash-preview-04-17", "gemini-2.0-flash-thinking-exp", "gemini-2.0-pro-exp-02-05", @@ -10602,6 +10685,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -10610,29 +10701,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -10643,28 +10734,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -10755,6 +10846,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -10763,29 +10862,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -10796,28 +10895,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -10897,6 +10996,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -10905,29 +11012,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -10938,28 +11045,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -11153,6 +11260,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -11161,29 +11276,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -11194,28 +11309,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" + }, + { + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" - }, - { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -11292,6 +11407,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -11300,29 +11423,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -11333,28 +11456,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -11431,6 +11554,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -11439,29 +11570,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -11472,28 +11603,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -11555,284 +11686,7 @@ "model" ] }, - "Start": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "start" - ] - }, - "name": { - "type": "string", - "maxLength": 80 - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - } - }, - "required": [ - "type", - "name" - ] - }, - "WorkflowAssistant": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "assistant" - ] - }, - "assistantId": { - "type": "string" - }, - "name": { - "type": "string", - "maxLength": 80 - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - } - }, - "required": [ - "type", - "assistantId", - "name" - ] - }, - "Say": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "say" - ] - }, - "exact": { - "type": "string", - "maxLength": 1000 - }, - "prompt": { - "type": "string", - "maxLength": 1000 - }, - "name": { - "type": "string", - "maxLength": 80 - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - } - }, - "required": [ - "type", - "name" - ] - }, - "SayHook": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "say" - ] - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - }, - "exact": { - "type": "string", - "maxLength": 1000 - }, - "prompt": { - "type": "string", - "maxLength": 1000 - } - }, - "required": [ - "type" - ] - }, - "Hook": { - "type": "object", - "properties": { - "on": { - "type": "string", - "enum": [ - "task.start", - "task.output.confirmation", - "task.delayed" - ], - "maxLength": 80 - }, - "do": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SayHook" - } - } - }, - "required": [ - "on", - "do" - ] - }, - "Gather": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "gather" - ] - }, - "output": { - "$ref": "#/components/schemas/JsonSchema" - }, - "confirmContent": { - "type": "boolean", - "description": "This is whether or not the workflow should read back the gathered data to the user, and ask about its correctness." - }, - "hooks": { - "description": "This is a list of hooks for a task.\nEach hook is a list of tasks to run on a trigger (such as on start, on failure, etc).\nOnly Say is supported for now.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Hook" - } - }, - "maxRetries": { - "type": "number", - "description": "This is the number of times we should try to gather the information from the user before we failover to the fail path. An example of this would be a user refusing to give their phone number for privacy reasons, and then going down a different path on account of this" - }, - "literalTemplate": { - "type": "string", - "description": "This is a liquid templating string. On the first call to Gather, the template will be filled out with variables from the context, and will be spoken verbatim to the user. An example would be \"Base on your zipcode, it looks like you could be in one of these counties: {{ counties | join: \", \" }}. Which one do you live in?\"" - }, - "name": { - "type": "string", - "maxLength": 80 - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - } - }, - "required": [ - "type", - "output", - "name" - ] - }, - "ApiRequest": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "apiRequest" - ] - }, - "method": { - "type": "string", - "enum": [ - "POST", - "GET" - ] - }, - "url": { - "type": "string", - "description": "Api endpoint to send requests to." - }, - "headers": { - "description": "These are the custom headers to include in the Api Request sent.\n\nEach key-value pair represents a header name and its value.", - "allOf": [ - { - "$ref": "#/components/schemas/JsonSchema" - } - ] - }, - "body": { - "description": "This defined the JSON body of your Api Request. For example, if `body_schema`\nincluded \"my_field\": \"my_gather_statement.user_age\", then the json body sent to the server would have that particular value assign to it.\nRight now, only data from gather statements are supported.", - "allOf": [ - { - "$ref": "#/components/schemas/JsonSchema" - } - ] - }, - "mode": { - "type": "string", - "description": "This is the mode of the Api Request.\nWe only support BLOCKING and BACKGROUND for now.", - "enum": [ - "blocking", - "background" - ] - }, - "hooks": { - "description": "This is a list of hooks for a task.\nEach hook is a list of tasks to run on a trigger (such as on start, on failure, etc).\nOnly Say is supported for now.", - "type": "array", - "items": { - "$ref": "#/components/schemas/Hook" - } - }, - "output": { - "description": "This is the schema for the outputs of the Api Request.", - "allOf": [ - { - "$ref": "#/components/schemas/JsonSchema" - } - ] - }, - "name": { - "type": "string", - "maxLength": 80 - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - } - }, - "required": [ - "type", - "method", - "url", - "mode", - "name" - ] - }, - "Hangup": { + "HangupNode": { "type": "object", "properties": { "type": { @@ -11859,40 +11713,16 @@ "name" ] }, - "Transfer": { + "WorkflowOpenAIModel": { "type": "object", "properties": { - "type": { + "provider": { "type": "string", + "description": "This is the provider of the model (`openai`).", "enum": [ - "transfer" + "openai" ] }, - "destination": { - "type": "object" - }, - "name": { - "type": "string", - "maxLength": 80 - }, - "isStart": { - "type": "boolean", - "description": "This is whether or not the node is the start of the workflow." - }, - "metadata": { - "type": "object", - "description": "This is for metadata you want to store on the task." - } - }, - "required": [ - "type", - "destination", - "name" - ] - }, - "WorkflowOpenAIModel": { - "type": "object", - "properties": { "model": { "type": "string", "description": "This is the specific OpenAI model that will be used.", @@ -11933,13 +11763,6 @@ "gpt-3.5-turbo-0613" ] }, - "provider": { - "type": "string", - "description": "This is the provider of the model. Ex. openai", - "enum": [ - "openai" - ] - }, "temperature": { "type": "number", "description": "This is the temperature of the model.", @@ -11954,16 +11777,23 @@ } }, "required": [ - "model", - "provider" + "provider", + "model" ] }, "WorkflowAnthropicModel": { "type": "object", "properties": { + "provider": { + "type": "string", + "description": "This is the provider of the model (`anthropic`).", + "enum": [ + "anthropic" + ] + }, "model": { "type": "string", - "description": "This is the specific Anthropic/Claude model that will be used.", + "description": "This is the specific model that will be used.", "maxLength": 100, "enum": [ "claude-3-opus-20240229", @@ -11975,15 +11805,8 @@ "claude-3-7-sonnet-20250219" ] }, - "provider": { - "type": "string", - "description": "This is the provider of the model. Ex. anthropic", - "enum": [ - "anthropic" - ] - }, "thinking": { - "description": "This is the optional configuration for Anthropic's thinking feature.\nOnly applicable for claude-3-7-sonnet-20250219 model.\nIf provided, maxTokens must be greater than thinking.budgetTokens.", + "description": "This is the optional configuration for Anthropic's thinking feature.\n\n- Only applicable for `claude-3-7-sonnet-20250219` model.\n- If provided, `maxTokens` must be greater than `thinking.budgetTokens`.", "allOf": [ { "$ref": "#/components/schemas/AnthropicThinkingConfig" @@ -12004,8 +11827,8 @@ } }, "required": [ - "model", - "provider" + "provider", + "model" ] }, "GlobalNodePlan": { @@ -12024,11 +11847,60 @@ } } }, - "Conversation": { + "VariableExtractionSchema": { "type": "object", "properties": { "type": { "type": "string", + "description": "This is the type of output you'd like.\n\n`string`, `number`, `boolean` are primitive types.", + "enum": [ + "string", + "number", + "integer", + "boolean" + ] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string", + "description": "This is the description to help the model understand what it needs to output." + }, + "enum": { + "description": "This is the enum values to choose from. Only used if the type is `string`.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "type", + "title", + "description" + ] + }, + "VariableExtractionPlan": { + "type": "object", + "properties": { + "output": { + "type": "array", + "items": { + "$ref": "#/components/schemas/VariableExtractionSchema" + } + } + }, + "required": [ + "output" + ] + }, + "ConversationNode": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "This is the Conversation node. This can be used to start a conversation with the customer.\n\nThe flow is:\n- Workflow starts the conversation node\n- Model is active with the `prompt` and global context.\n- Model will call a tool to exit this node.\n- Workflow will extract variables from the conversation.\n- Workflow continues.", "enum": [ "conversation" ] @@ -12044,21 +11916,18 @@ "$ref": "#/components/schemas/WorkflowAnthropicModel", "title": "Anthropic" } - ], - "default": { - "provider": "openai" - } + ] }, "transcriber": { "description": "These are the options for the assistant's transcriber.", "oneOf": [ { "$ref": "#/components/schemas/AssemblyAITranscriber", - "title": "AssemblyAI" + "title": "AssemblyAITranscriber" }, { "$ref": "#/components/schemas/AzureSpeechTranscriber", - "title": "Azure" + "title": "AzureSpeechTranscriber" }, { "$ref": "#/components/schemas/CustomTranscriber", @@ -12066,31 +11935,31 @@ }, { "$ref": "#/components/schemas/DeepgramTranscriber", - "title": "Deepgram" + "title": "DeepgramTranscriber" }, { "$ref": "#/components/schemas/ElevenLabsTranscriber", - "title": "ElevenLabs" + "title": "ElevenLabsTranscriber" }, { "$ref": "#/components/schemas/GladiaTranscriber", - "title": "Gladia" + "title": "GladiaTranscriber" }, { - "$ref": "#/components/schemas/SpeechmaticsTranscriber", - "title": "Speechmatics" + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" }, { - "$ref": "#/components/schemas/TalkscriberTranscriber", - "title": "Talkscriber" + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" }, { - "$ref": "#/components/schemas/GoogleTranscriber", - "title": "Google" + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" }, { "$ref": "#/components/schemas/OpenAITranscriber", - "title": "OpenAI" + "title": "OpenAITranscriber" } ] }, @@ -12099,11 +11968,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AzureVoice", - "title": "Azure" + "title": "AzureVoice" }, { "$ref": "#/components/schemas/CartesiaVoice", - "title": "Cartesia" + "title": "CartesiaVoice" }, { "$ref": "#/components/schemas/CustomVoice", @@ -12111,39 +11980,39 @@ }, { "$ref": "#/components/schemas/DeepgramVoice", - "title": "Deepgram" + "title": "DeepgramVoice" }, { "$ref": "#/components/schemas/ElevenLabsVoice", - "title": "ElevenLabs" + "title": "ElevenLabsVoice" }, { "$ref": "#/components/schemas/HumeVoice", - "title": "Hume" + "title": "HumeVoice" }, { "$ref": "#/components/schemas/LMNTVoice", - "title": "LMNT" + "title": "LMNTVoice" }, { "$ref": "#/components/schemas/NeuphonicVoice", - "title": "Neuphonic" + "title": "NeuphonicVoice" }, { "$ref": "#/components/schemas/OpenAIVoice", - "title": "OpenAI" + "title": "OpenAIVoice" }, { "$ref": "#/components/schemas/PlayHTVoice", - "title": "PlayHT" + "title": "PlayHTVoice" }, { "$ref": "#/components/schemas/RimeAIVoice", - "title": "RimeAI" + "title": "RimeAIVoice" }, { "$ref": "#/components/schemas/SmallestAIVoice", - "title": "SmallestAI" + "title": "SmallestAIVoice" }, { "$ref": "#/components/schemas/TavusVoice", @@ -12151,20 +12020,142 @@ }, { "$ref": "#/components/schemas/VapiVoice", - "title": "Vapi" + "title": "VapiVoice" + }, + { + "$ref": "#/components/schemas/SesameVoice", + "title": "SesameVoice" } - ], - "default": { - "provider": "playht", - "voiceId": "jennifer" - } + ] }, "prompt": { "type": "string", "maxLength": 5000 }, "globalNodePlan": { - "$ref": "#/components/schemas/GlobalNodePlan" + "description": "This is the plan for the global node.", + "allOf": [ + { + "$ref": "#/components/schemas/GlobalNodePlan" + } + ] + }, + "variableExtractionPlan": { + "description": "This is the plan that controls the variable extraction from the user's response.", + "allOf": [ + { + "$ref": "#/components/schemas/VariableExtractionPlan" + } + ] + }, + "name": { + "type": "string", + "maxLength": 80 + }, + "isStart": { + "type": "boolean", + "description": "This is whether or not the node is the start of the workflow." + }, + "metadata": { + "type": "object", + "description": "This is for metadata you want to store on the task." + } + }, + "required": [ + "type", + "name" + ] + }, + "ToolNode": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "This is the Tool node. This can be used to call a tool in your workflow.\n\nThe flow is:\n- Workflow starts the tool node\n- Model is called to extract parameters needed by the tool from the conversation history\n- Tool is called with the parameters\n- Server returns a response\n- Workflow continues with the response", + "enum": [ + "tool" + ] + }, + "tool": { + "description": "This is the tool to call. To use an existing tool, send `toolId` instead.", + "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, + { + "$ref": "#/components/schemas/CreateDtmfToolDTO", + "title": "DtmfTool" + }, + { + "$ref": "#/components/schemas/CreateEndCallToolDTO", + "title": "EndCallTool" + }, + { + "$ref": "#/components/schemas/CreateFunctionToolDTO", + "title": "FunctionTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", + "title": "GoogleCalendarCreateEventTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleSheetsRowAppendToolDTO", + "title": "GoogleSheetsRowAppendTool" + }, + { + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" + }, + { + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" + }, + { + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" + }, + { + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" + } + ] + }, + "toolId": { + "type": "string", + "description": "This is the tool to call. To use a transient tool, send `tool` instead." }, "name": { "type": "string", @@ -12282,36 +12273,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/Start", - "title": "Start" - }, - { - "$ref": "#/components/schemas/WorkflowAssistant", - "title": "Assistant" - }, - { - "$ref": "#/components/schemas/Say", - "title": "Say" - }, - { - "$ref": "#/components/schemas/Gather", - "title": "Gather" + "$ref": "#/components/schemas/ConversationNode", + "title": "ConversationNode" }, { - "$ref": "#/components/schemas/ApiRequest", - "title": "ApiRequest" - }, - { - "$ref": "#/components/schemas/Hangup", - "title": "Hangup" - }, - { - "$ref": "#/components/schemas/Transfer", - "title": "Transfer" - }, - { - "$ref": "#/components/schemas/Conversation", - "title": "Conversation" + "$ref": "#/components/schemas/ToolNode", + "title": "ToolNode" } ] } @@ -12320,60 +12287,12 @@ "description": "These are the options for the workflow's LLM.", "oneOf": [ { - "$ref": "#/components/schemas/AnthropicModel", - "title": "Anthropic" - }, - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, - { - "$ref": "#/components/schemas/CerebrasModel", - "title": "Cerebras" - }, - { - "$ref": "#/components/schemas/CustomLLMModel", - "title": "CustomLLM" - }, - { - "$ref": "#/components/schemas/DeepInfraModel", - "title": "DeepInfra" - }, - { - "$ref": "#/components/schemas/DeepSeekModel", - "title": "DeepSeek" - }, - { - "$ref": "#/components/schemas/GoogleModel", - "title": "Google" - }, - { - "$ref": "#/components/schemas/GroqModel", - "title": "Groq" - }, - { - "$ref": "#/components/schemas/InflectionAIModel", - "title": "InflectionAI" - }, - { - "$ref": "#/components/schemas/OpenAIModel", - "title": "OpenAI" - }, - { - "$ref": "#/components/schemas/OpenRouterModel", - "title": "OpenRouter" - }, - { - "$ref": "#/components/schemas/PerplexityAIModel", - "title": "PerplexityAI" - }, - { - "$ref": "#/components/schemas/TogetherAIModel", - "title": "Together" + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" }, { - "$ref": "#/components/schemas/XaiModel", - "title": "XAI" + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" } ] }, @@ -12409,6 +12328,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -12417,29 +12344,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -12450,28 +12377,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -12560,6 +12487,14 @@ "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", "items": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -12568,29 +12503,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" }, { - "$ref": "#/components/schemas/CreateQueryToolDTO", - "title": "QueryTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -12601,28 +12536,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", - "title": "GoogleCalendarCheckAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", - "title": "SlackSendMessageTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] } @@ -14079,7 +14014,7 @@ }, "pauseBetweenBrackets": { "type": "boolean", - "description": "This is a flag that controls whether to add slight pauses using angle brackets. Example: “Hi. <200> I’d love to have a conversation with you.” adds a 200ms pause between the first and second sentences.", + "description": "This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. <200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.", "example": false }, "phonemizeBetweenBrackets": { @@ -14119,6 +14054,57 @@ "voiceId" ] }, + "SesameVoice": { + "type": "object", + "properties": { + "cachingEnabled": { + "type": "boolean", + "description": "This is the flag to toggle voice caching for the assistant.", + "example": true, + "default": true + }, + "provider": { + "type": "string", + "description": "This is the voice provider that will be used.", + "enum": [ + "sesame" + ] + }, + "voiceId": { + "type": "string", + "description": "This is the provider-specific ID that will be used.", + "title": "Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice)." + }, + "model": { + "type": "string", + "description": "This is the model that will be used.", + "enum": [ + "csm-1b" + ] + }, + "chunkPlan": { + "description": "This is the plan for chunking the model output before it is sent to the voice provider.", + "allOf": [ + { + "$ref": "#/components/schemas/ChunkPlan" + } + ] + }, + "fallbackPlan": { + "description": "This is the plan for voice provider fallbacks in the event that the primary voice provider fails.", + "allOf": [ + { + "$ref": "#/components/schemas/FallbackPlan" + } + ] + } + }, + "required": [ + "provider", + "voiceId", + "model" + ] + }, "SmallestAIVoice": { "type": "object", "properties": { @@ -14357,7 +14343,6 @@ "description": "The voices provided by Vapi", "enum": [ "Elliot", - "Kylie", "Rohan", "Lily", "Savannah", @@ -15387,7 +15372,7 @@ }, "pauseBetweenBrackets": { "type": "boolean", - "description": "This is a flag that controls whether to add slight pauses using angle brackets. Example: “Hi. <200> I’d love to have a conversation with you.” adds a 200ms pause between the first and second sentences.", + "description": "This is a flag that controls whether to add slight pauses using angle brackets. Example: \"Hi. <200> I'd love to have a conversation with you.\" adds a 200ms pause between the first and second sentences.", "example": false }, "phonemizeBetweenBrackets": { @@ -15419,6 +15404,49 @@ "voiceId" ] }, + "FallbackSesameVoice": { + "type": "object", + "properties": { + "cachingEnabled": { + "type": "boolean", + "description": "This is the flag to toggle voice caching for the assistant.", + "example": true, + "default": true + }, + "provider": { + "type": "string", + "description": "This is the voice provider that will be used.", + "enum": [ + "sesame" + ] + }, + "voiceId": { + "type": "string", + "description": "This is the provider-specific ID that will be used.", + "title": "Sesame Voice ID. This should be either a name (a built-in voice) or a UUID (a custom voice)." + }, + "model": { + "type": "string", + "description": "This is the model that will be used.", + "enum": [ + "csm-1b" + ] + }, + "chunkPlan": { + "description": "This is the plan for chunking the model output before it is sent to the voice provider.", + "allOf": [ + { + "$ref": "#/components/schemas/ChunkPlan" + } + ] + } + }, + "required": [ + "provider", + "voiceId", + "model" + ] + }, "FallbackSmallestAIVoice": { "type": "object", "properties": { @@ -15596,7 +15624,6 @@ "description": "The voices provided by Vapi", "enum": [ "Elliot", - "Kylie", "Rohan", "Lily", "Savannah", @@ -18258,10 +18285,20 @@ "description": "This determines whether the assistant's calls allow live listening. Defaults to true.\n\nFetch `call.monitor.listenUrl` to get the live listening URL.\n\n@default true", "example": false }, + "listenAuthenticationEnabled": { + "type": "boolean", + "description": "This enables authentication on the `call.monitor.listenUrl`.\n\nIf `listenAuthenticationEnabled` is `true`, the `call.monitor.listenUrl` will require an `Authorization: Bearer ` header.\n\n@default false", + "example": false + }, "controlEnabled": { "type": "boolean", "description": "This determines whether the assistant's calls allow live control. Defaults to true.\n\nFetch `call.monitor.controlUrl` to get the live control URL.\n\nTo use, send any control message via a POST request to `call.monitor.controlUrl`. Here are the types of controls supported: https://docs.vapi.ai/api-reference/messages/client-inbound-message\n\n@default true", "example": false + }, + "controlAuthenticationEnabled": { + "type": "boolean", + "description": "This enables authentication on the `call.monitor.controlUrl`.\n\nIf `controlAuthenticationEnabled` is `true`, the `call.monitor.controlUrl` will require an `Authorization: Bearer ` header.\n\n@default false", + "example": false } } }, @@ -18297,11 +18334,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AssemblyAITranscriber", - "title": "AssemblyAI" + "title": "AssemblyAITranscriber" }, { "$ref": "#/components/schemas/AzureSpeechTranscriber", - "title": "Azure" + "title": "AzureSpeechTranscriber" }, { "$ref": "#/components/schemas/CustomTranscriber", @@ -18309,45 +18346,45 @@ }, { "$ref": "#/components/schemas/DeepgramTranscriber", - "title": "Deepgram" + "title": "DeepgramTranscriber" }, { "$ref": "#/components/schemas/ElevenLabsTranscriber", - "title": "ElevenLabs" + "title": "ElevenLabsTranscriber" }, { "$ref": "#/components/schemas/GladiaTranscriber", - "title": "Gladia" + "title": "GladiaTranscriber" }, { - "$ref": "#/components/schemas/SpeechmaticsTranscriber", - "title": "Speechmatics" + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" }, { - "$ref": "#/components/schemas/TalkscriberTranscriber", - "title": "Talkscriber" + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" }, { - "$ref": "#/components/schemas/GoogleTranscriber", - "title": "Google" + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" }, { "$ref": "#/components/schemas/OpenAITranscriber", - "title": "OpenAI" + "title": "OpenAITranscriber" } ] }, "model": { "description": "These are the options for the assistant's LLM.", "oneOf": [ - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, { "$ref": "#/components/schemas/AnthropicModel", "title": "Anthropic" }, + { + "$ref": "#/components/schemas/AnyscaleModel", + "title": "Anyscale" + }, { "$ref": "#/components/schemas/CerebrasModel", "title": "Cerebras" @@ -18392,10 +18429,6 @@ "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" }, - { - "$ref": "#/components/schemas/VapiModel", - "title": "Vapi" - }, { "$ref": "#/components/schemas/XaiModel", "title": "XAI" @@ -18407,11 +18440,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AzureVoice", - "title": "Azure" + "title": "AzureVoice" }, { "$ref": "#/components/schemas/CartesiaVoice", - "title": "Cartesia" + "title": "CartesiaVoice" }, { "$ref": "#/components/schemas/CustomVoice", @@ -18419,39 +18452,39 @@ }, { "$ref": "#/components/schemas/DeepgramVoice", - "title": "Deepgram" + "title": "DeepgramVoice" }, { "$ref": "#/components/schemas/ElevenLabsVoice", - "title": "ElevenLabs" + "title": "ElevenLabsVoice" }, { "$ref": "#/components/schemas/HumeVoice", - "title": "Hume" + "title": "HumeVoice" }, { "$ref": "#/components/schemas/LMNTVoice", - "title": "LMNT" + "title": "LMNTVoice" }, { "$ref": "#/components/schemas/NeuphonicVoice", - "title": "Neuphonic" + "title": "NeuphonicVoice" }, { "$ref": "#/components/schemas/OpenAIVoice", - "title": "OpenAI" + "title": "OpenAIVoice" }, { "$ref": "#/components/schemas/PlayHTVoice", - "title": "PlayHT" + "title": "PlayHTVoice" }, { "$ref": "#/components/schemas/RimeAIVoice", - "title": "RimeAI" + "title": "RimeAIVoice" }, { "$ref": "#/components/schemas/SmallestAIVoice", - "title": "SmallestAI" + "title": "SmallestAIVoice" }, { "$ref": "#/components/schemas/TavusVoice", @@ -18459,13 +18492,13 @@ }, { "$ref": "#/components/schemas/VapiVoice", - "title": "Vapi" + "title": "VapiVoice" + }, + { + "$ref": "#/components/schemas/SesameVoice", + "title": "SesameVoice" } - ], - "default": { - "provider": "playht", - "voiceId": "jennifer" - } + ] }, "firstMessage": { "type": "string", @@ -18638,7 +18671,6 @@ }, "backgroundSound": { "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", - "maxLength": 1000, "oneOf": [ { "type": "enum", @@ -19071,11 +19103,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AssemblyAITranscriber", - "title": "AssemblyAI" + "title": "AssemblyAITranscriber" }, { "$ref": "#/components/schemas/AzureSpeechTranscriber", - "title": "Azure" + "title": "AzureSpeechTranscriber" }, { "$ref": "#/components/schemas/CustomTranscriber", @@ -19083,45 +19115,45 @@ }, { "$ref": "#/components/schemas/DeepgramTranscriber", - "title": "Deepgram" + "title": "DeepgramTranscriber" }, { "$ref": "#/components/schemas/ElevenLabsTranscriber", - "title": "ElevenLabs" + "title": "ElevenLabsTranscriber" }, { "$ref": "#/components/schemas/GladiaTranscriber", - "title": "Gladia" + "title": "GladiaTranscriber" }, { - "$ref": "#/components/schemas/SpeechmaticsTranscriber", - "title": "Speechmatics" + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" }, { - "$ref": "#/components/schemas/TalkscriberTranscriber", - "title": "Talkscriber" + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" }, { - "$ref": "#/components/schemas/GoogleTranscriber", - "title": "Google" + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" }, { "$ref": "#/components/schemas/OpenAITranscriber", - "title": "OpenAI" + "title": "OpenAITranscriber" } ] }, "model": { "description": "These are the options for the assistant's LLM.", "oneOf": [ - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, { "$ref": "#/components/schemas/AnthropicModel", "title": "Anthropic" }, + { + "$ref": "#/components/schemas/AnyscaleModel", + "title": "Anyscale" + }, { "$ref": "#/components/schemas/CerebrasModel", "title": "Cerebras" @@ -19166,10 +19198,6 @@ "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" }, - { - "$ref": "#/components/schemas/VapiModel", - "title": "Vapi" - }, { "$ref": "#/components/schemas/XaiModel", "title": "XAI" @@ -19181,11 +19209,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AzureVoice", - "title": "Azure" + "title": "AzureVoice" }, { "$ref": "#/components/schemas/CartesiaVoice", - "title": "Cartesia" + "title": "CartesiaVoice" }, { "$ref": "#/components/schemas/CustomVoice", @@ -19193,39 +19221,39 @@ }, { "$ref": "#/components/schemas/DeepgramVoice", - "title": "Deepgram" + "title": "DeepgramVoice" }, { "$ref": "#/components/schemas/ElevenLabsVoice", - "title": "ElevenLabs" + "title": "ElevenLabsVoice" }, { "$ref": "#/components/schemas/HumeVoice", - "title": "Hume" + "title": "HumeVoice" }, { "$ref": "#/components/schemas/LMNTVoice", - "title": "LMNT" + "title": "LMNTVoice" }, { "$ref": "#/components/schemas/NeuphonicVoice", - "title": "Neuphonic" + "title": "NeuphonicVoice" }, { "$ref": "#/components/schemas/OpenAIVoice", - "title": "OpenAI" + "title": "OpenAIVoice" }, { "$ref": "#/components/schemas/PlayHTVoice", - "title": "PlayHT" + "title": "PlayHTVoice" }, { "$ref": "#/components/schemas/RimeAIVoice", - "title": "RimeAI" + "title": "RimeAIVoice" }, { "$ref": "#/components/schemas/SmallestAIVoice", - "title": "SmallestAI" + "title": "SmallestAIVoice" }, { "$ref": "#/components/schemas/TavusVoice", @@ -19233,13 +19261,13 @@ }, { "$ref": "#/components/schemas/VapiVoice", - "title": "Vapi" + "title": "VapiVoice" + }, + { + "$ref": "#/components/schemas/SesameVoice", + "title": "SesameVoice" } - ], - "default": { - "provider": "playht", - "voiceId": "jennifer" - } + ] }, "firstMessage": { "type": "string", @@ -19412,7 +19440,6 @@ }, "backgroundSound": { "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", - "maxLength": 1000, "oneOf": [ { "type": "enum", @@ -19909,36 +19936,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/Start", - "title": "Start" - }, - { - "$ref": "#/components/schemas/WorkflowAssistant", - "title": "Assistant" + "$ref": "#/components/schemas/ConversationNode", + "title": "ConversationNode" }, { - "$ref": "#/components/schemas/Say", - "title": "Say" - }, - { - "$ref": "#/components/schemas/Gather", - "title": "Gather" - }, - { - "$ref": "#/components/schemas/ApiRequest", - "title": "ApiRequest" - }, - { - "$ref": "#/components/schemas/Hangup", - "title": "Hangup" - }, - { - "$ref": "#/components/schemas/Transfer", - "title": "Transfer" - }, - { - "$ref": "#/components/schemas/Conversation", - "title": "Conversation" + "$ref": "#/components/schemas/ToolNode", + "title": "ToolNode" } ] } @@ -19947,60 +19950,12 @@ "description": "These are the options for the workflow's LLM.", "oneOf": [ { - "$ref": "#/components/schemas/AnthropicModel", - "title": "Anthropic" - }, - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, - { - "$ref": "#/components/schemas/CerebrasModel", - "title": "Cerebras" - }, - { - "$ref": "#/components/schemas/CustomLLMModel", - "title": "CustomLLM" - }, - { - "$ref": "#/components/schemas/DeepInfraModel", - "title": "DeepInfra" - }, - { - "$ref": "#/components/schemas/DeepSeekModel", - "title": "DeepSeek" - }, - { - "$ref": "#/components/schemas/GoogleModel", - "title": "Google" - }, - { - "$ref": "#/components/schemas/GroqModel", - "title": "Groq" - }, - { - "$ref": "#/components/schemas/InflectionAIModel", - "title": "InflectionAI" - }, - { - "$ref": "#/components/schemas/OpenAIModel", - "title": "OpenAI" - }, - { - "$ref": "#/components/schemas/OpenRouterModel", - "title": "OpenRouter" - }, - { - "$ref": "#/components/schemas/PerplexityAIModel", - "title": "PerplexityAI" - }, - { - "$ref": "#/components/schemas/TogetherAIModel", - "title": "Together" + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" }, { - "$ref": "#/components/schemas/XaiModel", - "title": "XAI" + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" } ] }, @@ -21439,11 +21394,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AssemblyAITranscriber", - "title": "AssemblyAI" + "title": "AssemblyAITranscriber" }, { "$ref": "#/components/schemas/AzureSpeechTranscriber", - "title": "Azure" + "title": "AzureSpeechTranscriber" }, { "$ref": "#/components/schemas/CustomTranscriber", @@ -21451,45 +21406,45 @@ }, { "$ref": "#/components/schemas/DeepgramTranscriber", - "title": "Deepgram" + "title": "DeepgramTranscriber" }, { "$ref": "#/components/schemas/ElevenLabsTranscriber", - "title": "ElevenLabs" + "title": "ElevenLabsTranscriber" }, { "$ref": "#/components/schemas/GladiaTranscriber", - "title": "Gladia" + "title": "GladiaTranscriber" }, { - "$ref": "#/components/schemas/SpeechmaticsTranscriber", - "title": "Speechmatics" + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" }, { - "$ref": "#/components/schemas/TalkscriberTranscriber", - "title": "Talkscriber" + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" }, { - "$ref": "#/components/schemas/GoogleTranscriber", - "title": "Google" + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" }, { "$ref": "#/components/schemas/OpenAITranscriber", - "title": "OpenAI" + "title": "OpenAITranscriber" } ] }, "model": { "description": "These are the options for the assistant's LLM.", "oneOf": [ - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, { "$ref": "#/components/schemas/AnthropicModel", "title": "Anthropic" }, + { + "$ref": "#/components/schemas/AnyscaleModel", + "title": "Anyscale" + }, { "$ref": "#/components/schemas/CerebrasModel", "title": "Cerebras" @@ -21534,10 +21489,6 @@ "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" }, - { - "$ref": "#/components/schemas/VapiModel", - "title": "Vapi" - }, { "$ref": "#/components/schemas/XaiModel", "title": "XAI" @@ -21549,11 +21500,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AzureVoice", - "title": "Azure" + "title": "AzureVoice" }, { "$ref": "#/components/schemas/CartesiaVoice", - "title": "Cartesia" + "title": "CartesiaVoice" }, { "$ref": "#/components/schemas/CustomVoice", @@ -21561,39 +21512,39 @@ }, { "$ref": "#/components/schemas/DeepgramVoice", - "title": "Deepgram" + "title": "DeepgramVoice" }, { "$ref": "#/components/schemas/ElevenLabsVoice", - "title": "ElevenLabs" + "title": "ElevenLabsVoice" }, { "$ref": "#/components/schemas/HumeVoice", - "title": "Hume" + "title": "HumeVoice" }, { "$ref": "#/components/schemas/LMNTVoice", - "title": "LMNT" + "title": "LMNTVoice" }, { "$ref": "#/components/schemas/NeuphonicVoice", - "title": "Neuphonic" + "title": "NeuphonicVoice" }, { "$ref": "#/components/schemas/OpenAIVoice", - "title": "OpenAI" + "title": "OpenAIVoice" }, { "$ref": "#/components/schemas/PlayHTVoice", - "title": "PlayHT" + "title": "PlayHTVoice" }, { "$ref": "#/components/schemas/RimeAIVoice", - "title": "RimeAI" + "title": "RimeAIVoice" }, { "$ref": "#/components/schemas/SmallestAIVoice", - "title": "SmallestAI" + "title": "SmallestAIVoice" }, { "$ref": "#/components/schemas/TavusVoice", @@ -21601,13 +21552,13 @@ }, { "$ref": "#/components/schemas/VapiVoice", - "title": "Vapi" + "title": "VapiVoice" + }, + { + "$ref": "#/components/schemas/SesameVoice", + "title": "SesameVoice" } - ], - "default": { - "provider": "playht", - "voiceId": "jennifer" - } + ] }, "firstMessage": { "type": "string", @@ -21780,7 +21731,6 @@ }, "backgroundSound": { "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", - "maxLength": 1000, "oneOf": [ { "type": "enum", @@ -22273,11 +22223,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AssemblyAITranscriber", - "title": "AssemblyAI" + "title": "AssemblyAITranscriber" }, { "$ref": "#/components/schemas/AzureSpeechTranscriber", - "title": "Azure" + "title": "AzureSpeechTranscriber" }, { "$ref": "#/components/schemas/CustomTranscriber", @@ -22285,45 +22235,45 @@ }, { "$ref": "#/components/schemas/DeepgramTranscriber", - "title": "Deepgram" + "title": "DeepgramTranscriber" }, { "$ref": "#/components/schemas/ElevenLabsTranscriber", - "title": "ElevenLabs" + "title": "ElevenLabsTranscriber" }, { "$ref": "#/components/schemas/GladiaTranscriber", - "title": "Gladia" + "title": "GladiaTranscriber" }, { - "$ref": "#/components/schemas/SpeechmaticsTranscriber", - "title": "Speechmatics" + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" }, { - "$ref": "#/components/schemas/TalkscriberTranscriber", - "title": "Talkscriber" + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" }, { - "$ref": "#/components/schemas/GoogleTranscriber", - "title": "Google" + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" }, { "$ref": "#/components/schemas/OpenAITranscriber", - "title": "OpenAI" + "title": "OpenAITranscriber" } ] }, "model": { "description": "These are the options for the assistant's LLM.", "oneOf": [ - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, { "$ref": "#/components/schemas/AnthropicModel", "title": "Anthropic" }, + { + "$ref": "#/components/schemas/AnyscaleModel", + "title": "Anyscale" + }, { "$ref": "#/components/schemas/CerebrasModel", "title": "Cerebras" @@ -22368,10 +22318,6 @@ "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" }, - { - "$ref": "#/components/schemas/VapiModel", - "title": "Vapi" - }, { "$ref": "#/components/schemas/XaiModel", "title": "XAI" @@ -22383,11 +22329,11 @@ "oneOf": [ { "$ref": "#/components/schemas/AzureVoice", - "title": "Azure" + "title": "AzureVoice" }, { "$ref": "#/components/schemas/CartesiaVoice", - "title": "Cartesia" + "title": "CartesiaVoice" }, { "$ref": "#/components/schemas/CustomVoice", @@ -22395,39 +22341,39 @@ }, { "$ref": "#/components/schemas/DeepgramVoice", - "title": "Deepgram" + "title": "DeepgramVoice" }, { "$ref": "#/components/schemas/ElevenLabsVoice", - "title": "ElevenLabs" + "title": "ElevenLabsVoice" }, { "$ref": "#/components/schemas/HumeVoice", - "title": "Hume" + "title": "HumeVoice" }, { "$ref": "#/components/schemas/LMNTVoice", - "title": "LMNT" + "title": "LMNTVoice" }, { "$ref": "#/components/schemas/NeuphonicVoice", - "title": "Neuphonic" + "title": "NeuphonicVoice" }, { "$ref": "#/components/schemas/OpenAIVoice", - "title": "OpenAI" + "title": "OpenAIVoice" }, { "$ref": "#/components/schemas/PlayHTVoice", - "title": "PlayHT" + "title": "PlayHTVoice" }, { "$ref": "#/components/schemas/RimeAIVoice", - "title": "RimeAI" + "title": "RimeAIVoice" }, { "$ref": "#/components/schemas/SmallestAIVoice", - "title": "SmallestAI" + "title": "SmallestAIVoice" }, { "$ref": "#/components/schemas/TavusVoice", @@ -22435,13 +22381,13 @@ }, { "$ref": "#/components/schemas/VapiVoice", - "title": "Vapi" + "title": "VapiVoice" + }, + { + "$ref": "#/components/schemas/SesameVoice", + "title": "SesameVoice" } - ], - "default": { - "provider": "playht", - "voiceId": "jennifer" - } + ] }, "firstMessage": { "type": "string", @@ -22614,7 +22560,6 @@ }, "backgroundSound": { "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", - "maxLength": 1000, "oneOf": [ { "type": "enum", @@ -24951,10 +24896,6 @@ "$ref": "#/components/schemas/TransferDestinationAssistant", "title": "Assistant" }, - { - "$ref": "#/components/schemas/TransferDestinationStep", - "title": "Step" - }, { "$ref": "#/components/schemas/TransferDestinationNumber", "title": "Number" @@ -25338,9 +25279,9 @@ "type": { "type": "string", "enum": [ - "textEditor" + "text-editor" ], - "description": "The type of tool. \"textEditor\" for Text Editor tool." + "description": "The type of tool. \"text-editor\" for Text Editor tool." }, "subType": { "type": "string", @@ -25819,7 +25760,7 @@ "updatedAt" ] }, - "SmsSendTool": { + "SmsTool": { "type": "object", "properties": { "async": { @@ -26182,248 +26123,109 @@ "type": { "type": "string", "enum": [ - "gohighlevel.contact.create" - ], - "description": "The type of tool. \"gohighlevel.contact.create\" for GoHighLevel contact create tool." - }, - "id": { - "type": "string", - "description": "This is the unique identifier for the tool." - }, - "orgId": { - "type": "string", - "description": "This is the unique identifier for the organization that this tool belongs to." - }, - "createdAt": { - "format": "date-time", - "type": "string", - "description": "This is the ISO 8601 date-time string of when the tool was created." - }, - "updatedAt": { - "format": "date-time", - "type": "string", - "description": "This is the ISO 8601 date-time string of when the tool was last updated." - }, - "function": { - "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", - "allOf": [ - { - "$ref": "#/components/schemas/OpenAIFunction" - } - ] - }, - "server": { - "description": "This is the server that will be hit when this tool is requested by the model.\n\nAll requests will be sent with the call object among other things. You can find more details in the Server URL documentation.\n\nThis overrides the serverUrl set on the org and the phoneNumber. Order of precedence: highest tool.server.url, then assistant.serverUrl, then phoneNumber.serverUrl, then org.serverUrl.", - "allOf": [ - { - "$ref": "#/components/schemas/Server" - } - ] - } - }, - "required": [ - "type", - "id", - "orgId", - "createdAt", - "updatedAt" - ] - }, - "GoHighLevelContactGetTool": { - "type": "object", - "properties": { - "async": { - "type": "boolean", - "description": "This determines if the tool is async.\n\nIf async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\nIf sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\nDefaults to synchronous (`false`).", - "example": false - }, - "messages": { - "type": "array", - "description": "These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ToolMessageStart", - "title": "ToolMessageStart" - }, - { - "$ref": "#/components/schemas/ToolMessageComplete", - "title": "ToolMessageComplete" - }, - { - "$ref": "#/components/schemas/ToolMessageFailed", - "title": "ToolMessageFailed" - }, - { - "$ref": "#/components/schemas/ToolMessageDelayed", - "title": "ToolMessageDelayed" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "gohighlevel.contact.get" - ], - "description": "The type of tool. \"gohighlevel.contact.get\" for GoHighLevel contact get tool." - }, - "id": { - "type": "string", - "description": "This is the unique identifier for the tool." - }, - "orgId": { - "type": "string", - "description": "This is the unique identifier for the organization that this tool belongs to." - }, - "createdAt": { - "format": "date-time", - "type": "string", - "description": "This is the ISO 8601 date-time string of when the tool was created." - }, - "updatedAt": { - "format": "date-time", - "type": "string", - "description": "This is the ISO 8601 date-time string of when the tool was last updated." - }, - "function": { - "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", - "allOf": [ - { - "$ref": "#/components/schemas/OpenAIFunction" - } - ] - }, - "server": { - "description": "This is the server that will be hit when this tool is requested by the model.\n\nAll requests will be sent with the call object among other things. You can find more details in the Server URL documentation.\n\nThis overrides the serverUrl set on the org and the phoneNumber. Order of precedence: highest tool.server.url, then assistant.serverUrl, then phoneNumber.serverUrl, then org.serverUrl.", - "allOf": [ - { - "$ref": "#/components/schemas/Server" - } - ] - } - }, - "required": [ - "type", - "id", - "orgId", - "createdAt", - "updatedAt" - ] - }, - "CreateOutputToolDTO": { - "type": "object", - "properties": { - "async": { - "type": "boolean", - "description": "This determines if the tool is async.\n\nIf async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\nIf sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\nDefaults to synchronous (`false`).", - "example": false - }, - "messages": { - "type": "array", - "description": "These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ToolMessageStart", - "title": "ToolMessageStart" - }, - { - "$ref": "#/components/schemas/ToolMessageComplete", - "title": "ToolMessageComplete" - }, - { - "$ref": "#/components/schemas/ToolMessageFailed", - "title": "ToolMessageFailed" - }, - { - "$ref": "#/components/schemas/ToolMessageDelayed", - "title": "ToolMessageDelayed" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "output" - ], - "description": "The type of tool. \"output\" for Output tool." - }, - "function": { - "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", - "allOf": [ - { - "$ref": "#/components/schemas/OpenAIFunction" - } - ] - }, - "server": { - "description": "This is the server that will be hit when this tool is requested by the model.\n\nAll requests will be sent with the call object among other things. You can find more details in the Server URL documentation.\n\nThis overrides the serverUrl set on the org and the phoneNumber. Order of precedence: highest tool.server.url, then assistant.serverUrl, then phoneNumber.serverUrl, then org.serverUrl.", - "allOf": [ - { - "$ref": "#/components/schemas/Server" - } - ] - } - }, - "required": [ - "type" - ] - }, - "CreateBashToolDTO": { - "type": "object", - "properties": { - "async": { - "type": "boolean", - "description": "This determines if the tool is async.\n\nIf async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\nIf sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\nDefaults to synchronous (`false`).", - "example": false - }, - "messages": { - "type": "array", - "description": "These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ToolMessageStart", - "title": "ToolMessageStart" - }, - { - "$ref": "#/components/schemas/ToolMessageComplete", - "title": "ToolMessageComplete" - }, - { - "$ref": "#/components/schemas/ToolMessageFailed", - "title": "ToolMessageFailed" - }, - { - "$ref": "#/components/schemas/ToolMessageDelayed", - "title": "ToolMessageDelayed" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "bash" + "gohighlevel.contact.create" ], - "description": "The type of tool. \"bash\" for Bash tool." + "description": "The type of tool. \"gohighlevel.contact.create\" for GoHighLevel contact create tool." }, - "subType": { + "id": { + "type": "string", + "description": "This is the unique identifier for the tool." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the organization that this tool belongs to." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the tool was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the tool was last updated." + }, + "function": { + "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", + "allOf": [ + { + "$ref": "#/components/schemas/OpenAIFunction" + } + ] + }, + "server": { + "description": "This is the server that will be hit when this tool is requested by the model.\n\nAll requests will be sent with the call object among other things. You can find more details in the Server URL documentation.\n\nThis overrides the serverUrl set on the org and the phoneNumber. Order of precedence: highest tool.server.url, then assistant.serverUrl, then phoneNumber.serverUrl, then org.serverUrl.", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] + } + }, + "required": [ + "type", + "id", + "orgId", + "createdAt", + "updatedAt" + ] + }, + "GoHighLevelContactGetTool": { + "type": "object", + "properties": { + "async": { + "type": "boolean", + "description": "This determines if the tool is async.\n\nIf async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\nIf sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\nDefaults to synchronous (`false`).", + "example": false + }, + "messages": { + "type": "array", + "description": "These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/ToolMessageStart", + "title": "ToolMessageStart" + }, + { + "$ref": "#/components/schemas/ToolMessageComplete", + "title": "ToolMessageComplete" + }, + { + "$ref": "#/components/schemas/ToolMessageFailed", + "title": "ToolMessageFailed" + }, + { + "$ref": "#/components/schemas/ToolMessageDelayed", + "title": "ToolMessageDelayed" + } + ] + } + }, + "type": { "type": "string", "enum": [ - "bash_20241022" + "gohighlevel.contact.get" ], - "description": "The sub type of tool." + "description": "The type of tool. \"gohighlevel.contact.get\" for GoHighLevel contact get tool." }, - "name": { + "id": { "type": "string", - "description": "The name of the tool, fixed to 'bash'", - "default": "bash", - "enum": [ - "bash" - ] + "description": "This is the unique identifier for the tool." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the organization that this tool belongs to." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the tool was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the tool was last updated." }, "function": { "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", @@ -26444,11 +26246,13 @@ }, "required": [ "type", - "subType", - "name" + "id", + "orgId", + "createdAt", + "updatedAt" ] }, - "CreateComputerToolDTO": { + "CreateOutputToolDTO": { "type": "object", "properties": { "async": { @@ -26483,37 +26287,85 @@ "type": { "type": "string", "enum": [ - "computer" + "output" ], - "description": "The type of tool. \"computer\" for Computer tool." + "description": "The type of tool. \"output\" for Output tool." + }, + "function": { + "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", + "allOf": [ + { + "$ref": "#/components/schemas/OpenAIFunction" + } + ] + }, + "server": { + "description": "This is the server that will be hit when this tool is requested by the model.\n\nAll requests will be sent with the call object among other things. You can find more details in the Server URL documentation.\n\nThis overrides the serverUrl set on the org and the phoneNumber. Order of precedence: highest tool.server.url, then assistant.serverUrl, then phoneNumber.serverUrl, then org.serverUrl.", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] + } + }, + "required": [ + "type" + ] + }, + "CreateBashToolDTO": { + "type": "object", + "properties": { + "async": { + "type": "boolean", + "description": "This determines if the tool is async.\n\nIf async, the assistant will move forward without waiting for your server to respond. This is useful if you just want to trigger something on your server.\n\nIf sync, the assistant will wait for your server to respond. This is useful if want assistant to respond with the result from your server.\n\nDefaults to synchronous (`false`).", + "example": false + }, + "messages": { + "type": "array", + "description": "These are the messages that will be spoken to the user as the tool is running.\n\nFor some tools, this is auto-filled based on special fields like `tool.destinations`. For others like the function tool, these can be custom configured.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/ToolMessageStart", + "title": "ToolMessageStart" + }, + { + "$ref": "#/components/schemas/ToolMessageComplete", + "title": "ToolMessageComplete" + }, + { + "$ref": "#/components/schemas/ToolMessageFailed", + "title": "ToolMessageFailed" + }, + { + "$ref": "#/components/schemas/ToolMessageDelayed", + "title": "ToolMessageDelayed" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "bash" + ], + "description": "The type of tool. \"bash\" for Bash tool." }, "subType": { "type": "string", "enum": [ - "computer_20241022" + "bash_20241022" ], "description": "The sub type of tool." }, "name": { "type": "string", - "description": "The name of the tool, fixed to 'computer'", - "default": "computer", + "description": "The name of the tool, fixed to 'bash'", + "default": "bash", "enum": [ - "computer" + "bash" ] }, - "displayWidthPx": { - "type": "number", - "description": "The display width in pixels" - }, - "displayHeightPx": { - "type": "number", - "description": "The display height in pixels" - }, - "displayNumber": { - "type": "number", - "description": "Optional display number" - }, "function": { "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", "allOf": [ @@ -26534,12 +26386,10 @@ "required": [ "type", "subType", - "name", - "displayWidthPx", - "displayHeightPx" + "name" ] }, - "CreateTextEditorToolDTO": { + "CreateComputerToolDTO": { "type": "object", "properties": { "async": { @@ -26574,25 +26424,37 @@ "type": { "type": "string", "enum": [ - "textEditor" + "computer" ], - "description": "The type of tool. \"textEditor\" for Text Editor tool." + "description": "The type of tool. \"computer\" for Computer tool." }, "subType": { "type": "string", "enum": [ - "text_editor_20241022" + "computer_20241022" ], "description": "The sub type of tool." }, "name": { "type": "string", - "description": "The name of the tool, fixed to 'str_replace_editor'", - "default": "str_replace_editor", + "description": "The name of the tool, fixed to 'computer'", + "default": "computer", "enum": [ - "str_replace_editor" + "computer" ] }, + "displayWidthPx": { + "type": "number", + "description": "The display width in pixels" + }, + "displayHeightPx": { + "type": "number", + "description": "The display height in pixels" + }, + "displayNumber": { + "type": "number", + "description": "Optional display number" + }, "function": { "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", "allOf": [ @@ -26613,10 +26475,12 @@ "required": [ "type", "subType", - "name" + "name", + "displayWidthPx", + "displayHeightPx" ] }, - "CreateSmsSendToolDTO": { + "CreateTextEditorToolDTO": { "type": "object", "properties": { "async": { @@ -26651,9 +26515,24 @@ "type": { "type": "string", "enum": [ - "sms" + "text-editor" ], - "description": "The type of tool. \"sms\" for Twilio SMS sending tool." + "description": "The type of tool. \"text-editor\" for Text Editor tool." + }, + "subType": { + "type": "string", + "enum": [ + "text_editor_20241022" + ], + "description": "The sub type of tool." + }, + "name": { + "type": "string", + "description": "The name of the tool, fixed to 'str_replace_editor'", + "default": "str_replace_editor", + "enum": [ + "str_replace_editor" + ] }, "function": { "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", @@ -26673,10 +26552,12 @@ } }, "required": [ - "type" + "type", + "subType", + "name" ] }, - "CreateMcpToolDTO": { + "CreateSmsToolDTO": { "type": "object", "properties": { "async": { @@ -26711,9 +26592,9 @@ "type": { "type": "string", "enum": [ - "mcp" + "sms" ], - "description": "The type of tool. \"mcp\" for MCP tool." + "description": "The type of tool. \"sms\" for Twilio SMS sending tool." }, "function": { "description": "This is the function definition of the tool.\n\nFor `endCall`, `transferCall`, and `dtmf` tools, this is auto-filled based on tool-specific fields like `tool.destinations`. But, even in those cases, you can provide a custom function definition for advanced use cases.\n\nAn example of an advanced use case is if you want to customize the message that's spoken for `endCall` tool. You can specify a function where it returns an argument \"reason\". Then, in `messages` array, you can have many \"request-complete\" messages. One of these messages will be triggered if the `messages[].conditions` matches the \"reason\" argument.", @@ -27033,10 +26914,6 @@ "$ref": "#/components/schemas/TransferDestinationAssistant", "title": "Assistant" }, - { - "$ref": "#/components/schemas/TransferDestinationStep", - "title": "Step" - }, { "$ref": "#/components/schemas/TransferDestinationNumber", "title": "Number" @@ -27580,7 +27457,7 @@ } } }, - "UpdateSmsSendToolDTO": { + "UpdateSmsToolDTO": { "type": "object", "properties": { "async": { @@ -28255,36 +28132,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/Start", - "title": "Start" + "$ref": "#/components/schemas/ConversationNode", + "title": "ConversationNode" }, { - "$ref": "#/components/schemas/WorkflowAssistant", - "title": "Assistant" - }, - { - "$ref": "#/components/schemas/Say", - "title": "Say" - }, - { - "$ref": "#/components/schemas/Gather", - "title": "Gather" - }, - { - "$ref": "#/components/schemas/ApiRequest", - "title": "ApiRequest" - }, - { - "$ref": "#/components/schemas/Hangup", - "title": "Hangup" - }, - { - "$ref": "#/components/schemas/Transfer", - "title": "Transfer" - }, - { - "$ref": "#/components/schemas/Conversation", - "title": "Conversation" + "$ref": "#/components/schemas/ToolNode", + "title": "ToolNode" } ] } @@ -28293,60 +28146,12 @@ "description": "These are the options for the workflow's LLM.", "oneOf": [ { - "$ref": "#/components/schemas/AnthropicModel", - "title": "Anthropic" - }, - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, - { - "$ref": "#/components/schemas/CerebrasModel", - "title": "Cerebras" - }, - { - "$ref": "#/components/schemas/CustomLLMModel", - "title": "CustomLLM" - }, - { - "$ref": "#/components/schemas/DeepInfraModel", - "title": "DeepInfra" - }, - { - "$ref": "#/components/schemas/DeepSeekModel", - "title": "DeepSeek" - }, - { - "$ref": "#/components/schemas/GoogleModel", - "title": "Google" - }, - { - "$ref": "#/components/schemas/GroqModel", - "title": "Groq" - }, - { - "$ref": "#/components/schemas/InflectionAIModel", - "title": "InflectionAI" - }, - { - "$ref": "#/components/schemas/OpenAIModel", - "title": "OpenAI" - }, - { - "$ref": "#/components/schemas/OpenRouterModel", - "title": "OpenRouter" - }, - { - "$ref": "#/components/schemas/PerplexityAIModel", - "title": "PerplexityAI" - }, - { - "$ref": "#/components/schemas/TogetherAIModel", - "title": "Together" + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" }, { - "$ref": "#/components/schemas/XaiModel", - "title": "XAI" + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" } ] }, @@ -28393,36 +28198,12 @@ "items": { "oneOf": [ { - "$ref": "#/components/schemas/Start", - "title": "Start" + "$ref": "#/components/schemas/ConversationNode", + "title": "ConversationNode" }, { - "$ref": "#/components/schemas/WorkflowAssistant", - "title": "Assistant" - }, - { - "$ref": "#/components/schemas/Say", - "title": "Say" - }, - { - "$ref": "#/components/schemas/Gather", - "title": "Gather" - }, - { - "$ref": "#/components/schemas/ApiRequest", - "title": "ApiRequest" - }, - { - "$ref": "#/components/schemas/Hangup", - "title": "Hangup" - }, - { - "$ref": "#/components/schemas/Transfer", - "title": "Transfer" - }, - { - "$ref": "#/components/schemas/Conversation", - "title": "Conversation" + "$ref": "#/components/schemas/ToolNode", + "title": "ToolNode" } ] } @@ -28431,60 +28212,12 @@ "description": "These are the options for the workflow's LLM.", "oneOf": [ { - "$ref": "#/components/schemas/AnthropicModel", - "title": "Anthropic" - }, - { - "$ref": "#/components/schemas/AnyscaleModel", - "title": "Anyscale" - }, - { - "$ref": "#/components/schemas/CerebrasModel", - "title": "Cerebras" - }, - { - "$ref": "#/components/schemas/CustomLLMModel", - "title": "CustomLLM" - }, - { - "$ref": "#/components/schemas/DeepInfraModel", - "title": "DeepInfra" - }, - { - "$ref": "#/components/schemas/DeepSeekModel", - "title": "DeepSeek" - }, - { - "$ref": "#/components/schemas/GoogleModel", - "title": "Google" - }, - { - "$ref": "#/components/schemas/GroqModel", - "title": "Groq" - }, - { - "$ref": "#/components/schemas/InflectionAIModel", - "title": "InflectionAI" - }, - { - "$ref": "#/components/schemas/OpenAIModel", - "title": "OpenAI" - }, - { - "$ref": "#/components/schemas/OpenRouterModel", - "title": "OpenRouter" - }, - { - "$ref": "#/components/schemas/PerplexityAIModel", - "title": "PerplexityAI" - }, - { - "$ref": "#/components/schemas/TogetherAIModel", - "title": "Together" + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" }, { - "$ref": "#/components/schemas/XaiModel", - "title": "XAI" + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" } ] }, @@ -34764,6 +34497,14 @@ "properties": { "details": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -34772,25 +34513,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferCallTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -34801,20 +34546,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] }, @@ -34899,6 +34652,14 @@ "properties": { "details": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -34907,25 +34668,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferCallTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -34936,20 +34701,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] }, @@ -35056,6 +34829,14 @@ "properties": { "details": { "oneOf": [ + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, { "$ref": "#/components/schemas/CreateDtmfToolDTO", "title": "DtmfTool" @@ -35064,25 +34845,29 @@ "$ref": "#/components/schemas/CreateEndCallToolDTO", "title": "EndCallTool" }, - { - "$ref": "#/components/schemas/CreateVoicemailToolDTO", - "title": "VoicemailTool" - }, { "$ref": "#/components/schemas/CreateFunctionToolDTO", "title": "FunctionTool" }, { - "$ref": "#/components/schemas/CreateGhlToolDTO", - "title": "GhlTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" }, { - "$ref": "#/components/schemas/CreateMakeToolDTO", - "title": "MakeTool" + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" }, { - "$ref": "#/components/schemas/CreateTransferCallToolDTO", - "title": "TransferCallTool" + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" }, { "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", @@ -35093,20 +34878,28 @@ "title": "GoogleSheetsRowAppendTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", - "title": "GoHighLevelCalendarAvailabilityTool" + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", - "title": "GoHighLevelCalendarEventCreateTool" + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", - "title": "GoHighLevelContactCreateTool" + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" }, { - "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", - "title": "GoHighLevelContactGetTool" + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" } ] }, @@ -36284,10 +36077,6 @@ "$ref": "#/components/schemas/TransferDestinationAssistant", "title": "Assistant" }, - { - "$ref": "#/components/schemas/TransferDestinationStep", - "title": "Step" - }, { "$ref": "#/components/schemas/TransferDestinationNumber", "title": "Number" @@ -38801,10 +38590,6 @@ "$ref": "#/components/schemas/TransferDestinationAssistant", "title": "Assistant" }, - { - "$ref": "#/components/schemas/TransferDestinationStep", - "title": "Step" - }, { "$ref": "#/components/schemas/TransferDestinationNumber", "title": "Number" @@ -39485,20 +39270,17 @@ "type": "object", "properties": { "message": { - "type": "array", "description": "This is the message that will be spoken to the user.\n\nIf this is not returned, assistant will speak:\n1. a `request-complete` or `request-failed` message from `tool.messages`, if it exists\n2. a response generated by the model, if not", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ToolMessageComplete", - "title": "ToolMessageComplete" - }, - { - "$ref": "#/components/schemas/ToolMessageFailed", - "title": "ToolMessageFailed" - } - ] - } + "oneOf": [ + { + "$ref": "#/components/schemas/ToolMessageComplete", + "title": "ToolMessageComplete" + }, + { + "$ref": "#/components/schemas/ToolMessageFailed", + "title": "ToolMessageFailed" + } + ] }, "name": { "type": "string", @@ -39552,10 +39334,6 @@ "$ref": "#/components/schemas/TransferDestinationAssistant", "title": "Assistant" }, - { - "$ref": "#/components/schemas/TransferDestinationStep", - "title": "Step" - }, { "$ref": "#/components/schemas/TransferDestinationNumber", "title": "Number" @@ -40663,9 +40441,9 @@ "type": { "type": "string", "enum": [ - "textEditor" + "text-editor" ], - "description": "The type of tool. \"textEditor\" for Text Editor tool." + "description": "The type of tool. \"text-editor\" for Text Editor tool." }, "subType": { "type": "string",