retell-sdk 5.66.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/agent.d.mts +7 -14
  10. package/resources/agent.d.mts.map +1 -1
  11. package/resources/agent.d.ts +7 -14
  12. package/resources/agent.d.ts.map +1 -1
  13. package/resources/agent.js +0 -8
  14. package/resources/agent.js.map +1 -1
  15. package/resources/agent.mjs +0 -8
  16. package/resources/agent.mjs.map +1 -1
  17. package/resources/batch-call.d.mts +5 -5
  18. package/resources/batch-call.d.mts.map +1 -1
  19. package/resources/batch-call.d.ts +5 -5
  20. package/resources/batch-call.d.ts.map +1 -1
  21. package/resources/call.d.mts +15 -15
  22. package/resources/call.d.mts.map +1 -1
  23. package/resources/call.d.ts +15 -15
  24. package/resources/call.d.ts.map +1 -1
  25. package/resources/chat-agent.d.mts +7 -14
  26. package/resources/chat-agent.d.mts.map +1 -1
  27. package/resources/chat-agent.d.ts +7 -14
  28. package/resources/chat-agent.d.ts.map +1 -1
  29. package/resources/chat-agent.js +0 -8
  30. package/resources/chat-agent.js.map +1 -1
  31. package/resources/chat-agent.mjs +0 -8
  32. package/resources/chat-agent.mjs.map +1 -1
  33. package/resources/chat.d.mts +57 -0
  34. package/resources/chat.d.mts.map +1 -1
  35. package/resources/chat.d.ts +57 -0
  36. package/resources/chat.d.ts.map +1 -1
  37. package/resources/contact.d.mts +32 -32
  38. package/resources/contact.d.mts.map +1 -1
  39. package/resources/contact.d.ts +32 -32
  40. package/resources/contact.d.ts.map +1 -1
  41. package/resources/conversation-flow-component.d.mts +57 -525
  42. package/resources/conversation-flow-component.d.mts.map +1 -1
  43. package/resources/conversation-flow-component.d.ts +57 -525
  44. package/resources/conversation-flow-component.d.ts.map +1 -1
  45. package/resources/conversation-flow.d.mts +117 -1053
  46. package/resources/conversation-flow.d.mts.map +1 -1
  47. package/resources/conversation-flow.d.ts +117 -1053
  48. package/resources/conversation-flow.d.ts.map +1 -1
  49. package/resources/crm.d.mts +6 -0
  50. package/resources/crm.d.mts.map +1 -1
  51. package/resources/crm.d.ts +6 -0
  52. package/resources/crm.d.ts.map +1 -1
  53. package/resources/index.d.mts +2 -2
  54. package/resources/index.d.mts.map +1 -1
  55. package/resources/index.d.ts +2 -2
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js.map +1 -1
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/llm.d.mts +12 -456
  60. package/resources/llm.d.mts.map +1 -1
  61. package/resources/llm.d.ts +12 -456
  62. package/resources/llm.d.ts.map +1 -1
  63. package/resources/tests.d.mts +3 -3
  64. package/resources/tests.d.mts.map +1 -1
  65. package/resources/tests.d.ts +3 -3
  66. package/resources/tests.d.ts.map +1 -1
  67. package/src/client.ts +0 -4
  68. package/src/resources/agent.ts +9 -15
  69. package/src/resources/batch-call.ts +9 -3
  70. package/src/resources/call.ts +27 -9
  71. package/src/resources/chat-agent.ts +9 -15
  72. package/src/resources/chat.ts +77 -0
  73. package/src/resources/contact.ts +38 -38
  74. package/src/resources/conversation-flow-component.ts +138 -618
  75. package/src/resources/conversation-flow.ts +285 -1233
  76. package/src/resources/crm.ts +7 -0
  77. package/src/resources/index.ts +0 -2
  78. package/src/resources/llm.ts +9 -531
  79. package/src/resources/tests.ts +9 -3
  80. package/src/version.ts +1 -1
  81. package/version.d.mts +1 -1
  82. package/version.d.mts.map +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.d.ts.map +1 -1
  85. package/version.js +1 -1
  86. package/version.js.map +1 -1
  87. package/version.mjs +1 -1
  88. package/version.mjs.map +1 -1
@@ -167,7 +167,7 @@ export interface ConversationFlowResponse {
167
167
  /**
168
168
  * Tools available in the conversation flow.
169
169
  */
170
- tools?: Array<ConversationFlowResponse.CustomTool | ConversationFlowResponse.CheckAvailabilityCalTool | ConversationFlowResponse.BookAppointmentCalTool> | null;
170
+ tools?: Array<ConversationFlowResponse.Tool> | null;
171
171
  }
172
172
  export declare namespace ConversationFlowResponse {
173
173
  /**
@@ -209,7 +209,7 @@ export declare namespace ConversationFlowResponse {
209
209
  /**
210
210
  * Tools available within the component
211
211
  */
212
- tools?: Array<Component.CustomTool | Component.CheckAvailabilityCalTool | Component.BookAppointmentCalTool> | null;
212
+ tools?: Array<Component.Tool> | null;
213
213
  }
214
214
  namespace Component {
215
215
  interface ConversationNode {
@@ -643,7 +643,7 @@ export declare namespace ConversationFlowResponse {
643
643
  /**
644
644
  * The LLM model to use
645
645
  */
646
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
646
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
647
647
  /**
648
648
  * Type of model choice
649
649
  */
@@ -774,7 +774,7 @@ export declare namespace ConversationFlowResponse {
774
774
  * The tools owned by this subagent node. This includes other tool types like
775
775
  * transfer_call, agent_swap, etc.
776
776
  */
777
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
777
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
778
778
  voice_speed?: number | null;
779
779
  }
780
780
  namespace SubagentNode {
@@ -1135,7 +1135,7 @@ export declare namespace ConversationFlowResponse {
1135
1135
  /**
1136
1136
  * The LLM model to use
1137
1137
  */
1138
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
1138
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
1139
1139
  /**
1140
1140
  * Type of model choice
1141
1141
  */
@@ -1519,80 +1519,6 @@ export declare namespace ConversationFlowResponse {
1519
1519
  }
1520
1520
  }
1521
1521
  }
1522
- /**
1523
- * @deprecated
1524
- */
1525
- interface CheckAvailabilityCalTool {
1526
- /**
1527
- * Cal.com Api key that have access to the cal.com event you want to check
1528
- * availability for.
1529
- */
1530
- cal_api_key: string;
1531
- /**
1532
- * Cal.com event type id number for the cal.com event you want to check
1533
- * availability for. Can be a number or a dynamic variable in the format
1534
- * `{{variable_name}}` that will be resolved at runtime.
1535
- */
1536
- event_type_id: number | string;
1537
- /**
1538
- * Name of the tool. Must be unique within all tools available to LLM at any given
1539
- * time (general tools + state tools + state transitions). Must be consisted of
1540
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
1541
- * (no space allowed).
1542
- */
1543
- name: string;
1544
- type: 'check_availability_cal';
1545
- /**
1546
- * Describes what the tool does, sometimes can also include information about when
1547
- * to call the tool.
1548
- */
1549
- description?: string;
1550
- /**
1551
- * Timezone to be used when checking availability, must be in
1552
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
1553
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
1554
- * resolved at runtime. If not specified, will check if user specified timezone in
1555
- * call, and if not, will use the timezone of the Retell servers.
1556
- */
1557
- timezone?: string;
1558
- }
1559
- /**
1560
- * @deprecated
1561
- */
1562
- interface BookAppointmentCalTool {
1563
- /**
1564
- * Cal.com Api key that have access to the cal.com event you want to book
1565
- * appointment.
1566
- */
1567
- cal_api_key: string;
1568
- /**
1569
- * Cal.com event type id number for the cal.com event you want to book appointment.
1570
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
1571
- * will be resolved at runtime.
1572
- */
1573
- event_type_id: number | string;
1574
- /**
1575
- * Name of the tool. Must be unique within all tools available to LLM at any given
1576
- * time (general tools + state tools + state transitions). Must be consisted of
1577
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
1578
- * (no space allowed).
1579
- */
1580
- name: string;
1581
- type: 'book_appointment_cal';
1582
- /**
1583
- * Describes what the tool does, sometimes can also include information about when
1584
- * to call the tool.
1585
- */
1586
- description?: string;
1587
- /**
1588
- * Timezone to be used when booking appointment, must be in
1589
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
1590
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
1591
- * resolved at runtime. If not specified, will check if user specified timezone in
1592
- * call, and if not, will use the timezone of the Retell servers.
1593
- */
1594
- timezone?: string;
1595
- }
1596
1522
  interface AgentSwapTool {
1597
1523
  /**
1598
1524
  * The id of the agent to swap to.
@@ -2352,7 +2278,7 @@ export declare namespace ConversationFlowResponse {
2352
2278
  /**
2353
2279
  * The LLM model to use
2354
2280
  */
2355
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
2281
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
2356
2282
  /**
2357
2283
  * Type of model choice
2358
2284
  */
@@ -2670,7 +2596,7 @@ export declare namespace ConversationFlowResponse {
2670
2596
  /**
2671
2597
  * The LLM model to use
2672
2598
  */
2673
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
2599
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
2674
2600
  /**
2675
2601
  * Type of model choice
2676
2602
  */
@@ -2996,7 +2922,7 @@ export declare namespace ConversationFlowResponse {
2996
2922
  /**
2997
2923
  * The LLM model to use
2998
2924
  */
2999
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
2925
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
3000
2926
  /**
3001
2927
  * Type of model choice
3002
2928
  */
@@ -3491,7 +3417,7 @@ export declare namespace ConversationFlowResponse {
3491
3417
  /**
3492
3418
  * The LLM model to use
3493
3419
  */
3494
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
3420
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
3495
3421
  /**
3496
3422
  * Type of model choice
3497
3423
  */
@@ -3783,7 +3709,7 @@ export declare namespace ConversationFlowResponse {
3783
3709
  /**
3784
3710
  * The LLM model to use
3785
3711
  */
3786
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
3712
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
3787
3713
  /**
3788
3714
  * Type of model choice
3789
3715
  */
@@ -4060,7 +3986,7 @@ export declare namespace ConversationFlowResponse {
4060
3986
  /**
4061
3987
  * The LLM model to use
4062
3988
  */
4063
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
3989
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
4064
3990
  /**
4065
3991
  * Type of model choice
4066
3992
  */
@@ -4348,7 +4274,7 @@ export declare namespace ConversationFlowResponse {
4348
4274
  /**
4349
4275
  * The LLM model to use
4350
4276
  */
4351
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
4277
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
4352
4278
  /**
4353
4279
  * Type of model choice
4354
4280
  */
@@ -4738,7 +4664,7 @@ export declare namespace ConversationFlowResponse {
4738
4664
  /**
4739
4665
  * The LLM model to use
4740
4666
  */
4741
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
4667
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
4742
4668
  /**
4743
4669
  * Type of model choice
4744
4670
  */
@@ -5004,7 +4930,7 @@ export declare namespace ConversationFlowResponse {
5004
4930
  /**
5005
4931
  * The LLM model to use
5006
4932
  */
5007
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
4933
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5008
4934
  /**
5009
4935
  * Type of model choice
5010
4936
  */
@@ -5332,7 +5258,7 @@ export declare namespace ConversationFlowResponse {
5332
5258
  /**
5333
5259
  * The LLM model to use
5334
5260
  */
5335
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
5261
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5336
5262
  /**
5337
5263
  * Type of model choice
5338
5264
  */
@@ -5797,7 +5723,7 @@ export declare namespace ConversationFlowResponse {
5797
5723
  /**
5798
5724
  * The LLM model to use
5799
5725
  */
5800
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
5726
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5801
5727
  /**
5802
5728
  * Type of model choice
5803
5729
  */
@@ -5980,7 +5906,7 @@ export declare namespace ConversationFlowResponse {
5980
5906
  /**
5981
5907
  * The LLM model to use
5982
5908
  */
5983
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
5909
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5984
5910
  /**
5985
5911
  * Type of model choice
5986
5912
  */
@@ -6057,7 +5983,7 @@ export declare namespace ConversationFlowResponse {
6057
5983
  width?: number;
6058
5984
  }
6059
5985
  }
6060
- interface CustomTool {
5986
+ interface Tool {
6061
5987
  /**
6062
5988
  * Name of the tool. Must be unique within all tools available to LLM at any given
6063
5989
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -6136,7 +6062,7 @@ export declare namespace ConversationFlowResponse {
6136
6062
  * documentation about the format. Omitting parameters defines a function with an
6137
6063
  * empty parameter list.
6138
6064
  */
6139
- parameters?: CustomTool.Parameters;
6065
+ parameters?: Tool.Parameters;
6140
6066
  /**
6141
6067
  * Query parameters to append to the request URL.
6142
6068
  */
@@ -6176,7 +6102,7 @@ export declare namespace ConversationFlowResponse {
6176
6102
  */
6177
6103
  tool_id?: string;
6178
6104
  }
6179
- namespace CustomTool {
6105
+ namespace Tool {
6180
6106
  /**
6181
6107
  * The parameters the functions accepts, described as a JSON Schema object. See
6182
6108
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -6201,88 +6127,6 @@ export declare namespace ConversationFlowResponse {
6201
6127
  required?: Array<string>;
6202
6128
  }
6203
6129
  }
6204
- /**
6205
- * @deprecated
6206
- */
6207
- interface CheckAvailabilityCalTool {
6208
- /**
6209
- * Cal.com Api key that have access to the cal.com event you want to check
6210
- * availability for.
6211
- */
6212
- cal_api_key: string;
6213
- /**
6214
- * Cal.com event type id number for the cal.com event you want to check
6215
- * availability for. Can be a number or a dynamic variable in the format
6216
- * `{{variable_name}}` that will be resolved at runtime.
6217
- */
6218
- event_type_id: number | string;
6219
- /**
6220
- * Name of the tool. Must be unique within all tools available to LLM at any given
6221
- * time (general tools + state tools + state transitions). Must be consisted of
6222
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
6223
- * (no space allowed).
6224
- */
6225
- name: string;
6226
- type: 'check_availability_cal';
6227
- /**
6228
- * Describes what the tool does, sometimes can also include information about when
6229
- * to call the tool.
6230
- */
6231
- description?: string;
6232
- /**
6233
- * Timezone to be used when checking availability, must be in
6234
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
6235
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
6236
- * resolved at runtime. If not specified, will check if user specified timezone in
6237
- * call, and if not, will use the timezone of the Retell servers.
6238
- */
6239
- timezone?: string;
6240
- /**
6241
- * Unique identifier for the tool
6242
- */
6243
- tool_id?: string;
6244
- }
6245
- /**
6246
- * @deprecated
6247
- */
6248
- interface BookAppointmentCalTool {
6249
- /**
6250
- * Cal.com Api key that have access to the cal.com event you want to book
6251
- * appointment.
6252
- */
6253
- cal_api_key: string;
6254
- /**
6255
- * Cal.com event type id number for the cal.com event you want to book appointment.
6256
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
6257
- * will be resolved at runtime.
6258
- */
6259
- event_type_id: number | string;
6260
- /**
6261
- * Name of the tool. Must be unique within all tools available to LLM at any given
6262
- * time (general tools + state tools + state transitions). Must be consisted of
6263
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
6264
- * (no space allowed).
6265
- */
6266
- name: string;
6267
- type: 'book_appointment_cal';
6268
- /**
6269
- * Describes what the tool does, sometimes can also include information about when
6270
- * to call the tool.
6271
- */
6272
- description?: string;
6273
- /**
6274
- * Timezone to be used when booking appointment, must be in
6275
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
6276
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
6277
- * resolved at runtime. If not specified, will check if user specified timezone in
6278
- * call, and if not, will use the timezone of the Retell servers.
6279
- */
6280
- timezone?: string;
6281
- /**
6282
- * Unique identifier for the tool
6283
- */
6284
- tool_id?: string;
6285
- }
6286
6130
  }
6287
6131
  /**
6288
6132
  * Knowledge base configuration for RAG retrieval.
@@ -6328,7 +6172,7 @@ export declare namespace ConversationFlowResponse {
6328
6172
  /**
6329
6173
  * The LLM model to use
6330
6174
  */
6331
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
6175
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
6332
6176
  /**
6333
6177
  * Type of model choice
6334
6178
  */
@@ -6769,7 +6613,7 @@ export declare namespace ConversationFlowResponse {
6769
6613
  /**
6770
6614
  * The LLM model to use
6771
6615
  */
6772
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
6616
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
6773
6617
  /**
6774
6618
  * Type of model choice
6775
6619
  */
@@ -6900,7 +6744,7 @@ export declare namespace ConversationFlowResponse {
6900
6744
  * The tools owned by this subagent node. This includes other tool types like
6901
6745
  * transfer_call, agent_swap, etc.
6902
6746
  */
6903
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
6747
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
6904
6748
  voice_speed?: number | null;
6905
6749
  }
6906
6750
  namespace SubagentNode {
@@ -7261,7 +7105,7 @@ export declare namespace ConversationFlowResponse {
7261
7105
  /**
7262
7106
  * The LLM model to use
7263
7107
  */
7264
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
7108
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
7265
7109
  /**
7266
7110
  * Type of model choice
7267
7111
  */
@@ -7645,80 +7489,6 @@ export declare namespace ConversationFlowResponse {
7645
7489
  }
7646
7490
  }
7647
7491
  }
7648
- /**
7649
- * @deprecated
7650
- */
7651
- interface CheckAvailabilityCalTool {
7652
- /**
7653
- * Cal.com Api key that have access to the cal.com event you want to check
7654
- * availability for.
7655
- */
7656
- cal_api_key: string;
7657
- /**
7658
- * Cal.com event type id number for the cal.com event you want to check
7659
- * availability for. Can be a number or a dynamic variable in the format
7660
- * `{{variable_name}}` that will be resolved at runtime.
7661
- */
7662
- event_type_id: number | string;
7663
- /**
7664
- * Name of the tool. Must be unique within all tools available to LLM at any given
7665
- * time (general tools + state tools + state transitions). Must be consisted of
7666
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
7667
- * (no space allowed).
7668
- */
7669
- name: string;
7670
- type: 'check_availability_cal';
7671
- /**
7672
- * Describes what the tool does, sometimes can also include information about when
7673
- * to call the tool.
7674
- */
7675
- description?: string;
7676
- /**
7677
- * Timezone to be used when checking availability, must be in
7678
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
7679
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
7680
- * resolved at runtime. If not specified, will check if user specified timezone in
7681
- * call, and if not, will use the timezone of the Retell servers.
7682
- */
7683
- timezone?: string;
7684
- }
7685
- /**
7686
- * @deprecated
7687
- */
7688
- interface BookAppointmentCalTool {
7689
- /**
7690
- * Cal.com Api key that have access to the cal.com event you want to book
7691
- * appointment.
7692
- */
7693
- cal_api_key: string;
7694
- /**
7695
- * Cal.com event type id number for the cal.com event you want to book appointment.
7696
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
7697
- * will be resolved at runtime.
7698
- */
7699
- event_type_id: number | string;
7700
- /**
7701
- * Name of the tool. Must be unique within all tools available to LLM at any given
7702
- * time (general tools + state tools + state transitions). Must be consisted of
7703
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
7704
- * (no space allowed).
7705
- */
7706
- name: string;
7707
- type: 'book_appointment_cal';
7708
- /**
7709
- * Describes what the tool does, sometimes can also include information about when
7710
- * to call the tool.
7711
- */
7712
- description?: string;
7713
- /**
7714
- * Timezone to be used when booking appointment, must be in
7715
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
7716
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
7717
- * resolved at runtime. If not specified, will check if user specified timezone in
7718
- * call, and if not, will use the timezone of the Retell servers.
7719
- */
7720
- timezone?: string;
7721
- }
7722
7492
  interface AgentSwapTool {
7723
7493
  /**
7724
7494
  * The id of the agent to swap to.
@@ -8478,7 +8248,7 @@ export declare namespace ConversationFlowResponse {
8478
8248
  /**
8479
8249
  * The LLM model to use
8480
8250
  */
8481
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
8251
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
8482
8252
  /**
8483
8253
  * Type of model choice
8484
8254
  */
@@ -8796,7 +8566,7 @@ export declare namespace ConversationFlowResponse {
8796
8566
  /**
8797
8567
  * The LLM model to use
8798
8568
  */
8799
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
8569
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
8800
8570
  /**
8801
8571
  * Type of model choice
8802
8572
  */
@@ -9122,7 +8892,7 @@ export declare namespace ConversationFlowResponse {
9122
8892
  /**
9123
8893
  * The LLM model to use
9124
8894
  */
9125
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
8895
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9126
8896
  /**
9127
8897
  * Type of model choice
9128
8898
  */
@@ -9617,7 +9387,7 @@ export declare namespace ConversationFlowResponse {
9617
9387
  /**
9618
9388
  * The LLM model to use
9619
9389
  */
9620
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
9390
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9621
9391
  /**
9622
9392
  * Type of model choice
9623
9393
  */
@@ -9909,7 +9679,7 @@ export declare namespace ConversationFlowResponse {
9909
9679
  /**
9910
9680
  * The LLM model to use
9911
9681
  */
9912
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
9682
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9913
9683
  /**
9914
9684
  * Type of model choice
9915
9685
  */
@@ -10186,7 +9956,7 @@ export declare namespace ConversationFlowResponse {
10186
9956
  /**
10187
9957
  * The LLM model to use
10188
9958
  */
10189
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
9959
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
10190
9960
  /**
10191
9961
  * Type of model choice
10192
9962
  */
@@ -10474,7 +10244,7 @@ export declare namespace ConversationFlowResponse {
10474
10244
  /**
10475
10245
  * The LLM model to use
10476
10246
  */
10477
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
10247
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
10478
10248
  /**
10479
10249
  * Type of model choice
10480
10250
  */
@@ -10864,7 +10634,7 @@ export declare namespace ConversationFlowResponse {
10864
10634
  /**
10865
10635
  * The LLM model to use
10866
10636
  */
10867
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
10637
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
10868
10638
  /**
10869
10639
  * Type of model choice
10870
10640
  */
@@ -11130,7 +10900,7 @@ export declare namespace ConversationFlowResponse {
11130
10900
  /**
11131
10901
  * The LLM model to use
11132
10902
  */
11133
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
10903
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11134
10904
  /**
11135
10905
  * Type of model choice
11136
10906
  */
@@ -11458,7 +11228,7 @@ export declare namespace ConversationFlowResponse {
11458
11228
  /**
11459
11229
  * The LLM model to use
11460
11230
  */
11461
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
11231
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11462
11232
  /**
11463
11233
  * Type of model choice
11464
11234
  */
@@ -11923,7 +11693,7 @@ export declare namespace ConversationFlowResponse {
11923
11693
  /**
11924
11694
  * The LLM model to use
11925
11695
  */
11926
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
11696
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11927
11697
  /**
11928
11698
  * Type of model choice
11929
11699
  */
@@ -12106,7 +11876,7 @@ export declare namespace ConversationFlowResponse {
12106
11876
  /**
12107
11877
  * The LLM model to use
12108
11878
  */
12109
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
11879
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
12110
11880
  /**
12111
11881
  * Type of model choice
12112
11882
  */
@@ -12152,7 +11922,7 @@ export declare namespace ConversationFlowResponse {
12152
11922
  width?: number;
12153
11923
  }
12154
11924
  }
12155
- interface CustomTool {
11925
+ interface Tool {
12156
11926
  /**
12157
11927
  * Name of the tool. Must be unique within all tools available to LLM at any given
12158
11928
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -12231,7 +12001,7 @@ export declare namespace ConversationFlowResponse {
12231
12001
  * documentation about the format. Omitting parameters defines a function with an
12232
12002
  * empty parameter list.
12233
12003
  */
12234
- parameters?: CustomTool.Parameters;
12004
+ parameters?: Tool.Parameters;
12235
12005
  /**
12236
12006
  * Query parameters to append to the request URL.
12237
12007
  */
@@ -12271,7 +12041,7 @@ export declare namespace ConversationFlowResponse {
12271
12041
  */
12272
12042
  tool_id?: string;
12273
12043
  }
12274
- namespace CustomTool {
12044
+ namespace Tool {
12275
12045
  /**
12276
12046
  * The parameters the functions accepts, described as a JSON Schema object. See
12277
12047
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -12296,88 +12066,6 @@ export declare namespace ConversationFlowResponse {
12296
12066
  required?: Array<string>;
12297
12067
  }
12298
12068
  }
12299
- /**
12300
- * @deprecated
12301
- */
12302
- interface CheckAvailabilityCalTool {
12303
- /**
12304
- * Cal.com Api key that have access to the cal.com event you want to check
12305
- * availability for.
12306
- */
12307
- cal_api_key: string;
12308
- /**
12309
- * Cal.com event type id number for the cal.com event you want to check
12310
- * availability for. Can be a number or a dynamic variable in the format
12311
- * `{{variable_name}}` that will be resolved at runtime.
12312
- */
12313
- event_type_id: number | string;
12314
- /**
12315
- * Name of the tool. Must be unique within all tools available to LLM at any given
12316
- * time (general tools + state tools + state transitions). Must be consisted of
12317
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
12318
- * (no space allowed).
12319
- */
12320
- name: string;
12321
- type: 'check_availability_cal';
12322
- /**
12323
- * Describes what the tool does, sometimes can also include information about when
12324
- * to call the tool.
12325
- */
12326
- description?: string;
12327
- /**
12328
- * Timezone to be used when checking availability, must be in
12329
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
12330
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
12331
- * resolved at runtime. If not specified, will check if user specified timezone in
12332
- * call, and if not, will use the timezone of the Retell servers.
12333
- */
12334
- timezone?: string;
12335
- /**
12336
- * Unique identifier for the tool
12337
- */
12338
- tool_id?: string;
12339
- }
12340
- /**
12341
- * @deprecated
12342
- */
12343
- interface BookAppointmentCalTool {
12344
- /**
12345
- * Cal.com Api key that have access to the cal.com event you want to book
12346
- * appointment.
12347
- */
12348
- cal_api_key: string;
12349
- /**
12350
- * Cal.com event type id number for the cal.com event you want to book appointment.
12351
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
12352
- * will be resolved at runtime.
12353
- */
12354
- event_type_id: number | string;
12355
- /**
12356
- * Name of the tool. Must be unique within all tools available to LLM at any given
12357
- * time (general tools + state tools + state transitions). Must be consisted of
12358
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
12359
- * (no space allowed).
12360
- */
12361
- name: string;
12362
- type: 'book_appointment_cal';
12363
- /**
12364
- * Describes what the tool does, sometimes can also include information about when
12365
- * to call the tool.
12366
- */
12367
- description?: string;
12368
- /**
12369
- * Timezone to be used when booking appointment, must be in
12370
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
12371
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
12372
- * resolved at runtime. If not specified, will check if user specified timezone in
12373
- * call, and if not, will use the timezone of the Retell servers.
12374
- */
12375
- timezone?: string;
12376
- /**
12377
- * Unique identifier for the tool
12378
- */
12379
- tool_id?: string;
12380
- }
12381
12069
  }
12382
12070
  export interface ConversationFlowListResponse {
12383
12071
  /**
@@ -12472,7 +12160,7 @@ export interface ConversationFlowCreateParams {
12472
12160
  /**
12473
12161
  * Tools available in the conversation flow.
12474
12162
  */
12475
- tools?: Array<ConversationFlowCreateParams.CustomTool | ConversationFlowCreateParams.CheckAvailabilityCalTool | ConversationFlowCreateParams.BookAppointmentCalTool> | null;
12163
+ tools?: Array<ConversationFlowCreateParams.Tool> | null;
12476
12164
  }
12477
12165
  export declare namespace ConversationFlowCreateParams {
12478
12166
  /**
@@ -12482,7 +12170,7 @@ export declare namespace ConversationFlowCreateParams {
12482
12170
  /**
12483
12171
  * The LLM model to use
12484
12172
  */
12485
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
12173
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
12486
12174
  /**
12487
12175
  * Type of model choice
12488
12176
  */
@@ -12923,7 +12611,7 @@ export declare namespace ConversationFlowCreateParams {
12923
12611
  /**
12924
12612
  * The LLM model to use
12925
12613
  */
12926
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
12614
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
12927
12615
  /**
12928
12616
  * Type of model choice
12929
12617
  */
@@ -13054,7 +12742,7 @@ export declare namespace ConversationFlowCreateParams {
13054
12742
  * The tools owned by this subagent node. This includes other tool types like
13055
12743
  * transfer_call, agent_swap, etc.
13056
12744
  */
13057
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
12745
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
13058
12746
  voice_speed?: number | null;
13059
12747
  }
13060
12748
  namespace SubagentNode {
@@ -13415,7 +13103,7 @@ export declare namespace ConversationFlowCreateParams {
13415
13103
  /**
13416
13104
  * The LLM model to use
13417
13105
  */
13418
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
13106
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
13419
13107
  /**
13420
13108
  * Type of model choice
13421
13109
  */
@@ -13799,80 +13487,6 @@ export declare namespace ConversationFlowCreateParams {
13799
13487
  }
13800
13488
  }
13801
13489
  }
13802
- /**
13803
- * @deprecated
13804
- */
13805
- interface CheckAvailabilityCalTool {
13806
- /**
13807
- * Cal.com Api key that have access to the cal.com event you want to check
13808
- * availability for.
13809
- */
13810
- cal_api_key: string;
13811
- /**
13812
- * Cal.com event type id number for the cal.com event you want to check
13813
- * availability for. Can be a number or a dynamic variable in the format
13814
- * `{{variable_name}}` that will be resolved at runtime.
13815
- */
13816
- event_type_id: number | string;
13817
- /**
13818
- * Name of the tool. Must be unique within all tools available to LLM at any given
13819
- * time (general tools + state tools + state transitions). Must be consisted of
13820
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
13821
- * (no space allowed).
13822
- */
13823
- name: string;
13824
- type: 'check_availability_cal';
13825
- /**
13826
- * Describes what the tool does, sometimes can also include information about when
13827
- * to call the tool.
13828
- */
13829
- description?: string;
13830
- /**
13831
- * Timezone to be used when checking availability, must be in
13832
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
13833
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
13834
- * resolved at runtime. If not specified, will check if user specified timezone in
13835
- * call, and if not, will use the timezone of the Retell servers.
13836
- */
13837
- timezone?: string;
13838
- }
13839
- /**
13840
- * @deprecated
13841
- */
13842
- interface BookAppointmentCalTool {
13843
- /**
13844
- * Cal.com Api key that have access to the cal.com event you want to book
13845
- * appointment.
13846
- */
13847
- cal_api_key: string;
13848
- /**
13849
- * Cal.com event type id number for the cal.com event you want to book appointment.
13850
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
13851
- * will be resolved at runtime.
13852
- */
13853
- event_type_id: number | string;
13854
- /**
13855
- * Name of the tool. Must be unique within all tools available to LLM at any given
13856
- * time (general tools + state tools + state transitions). Must be consisted of
13857
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
13858
- * (no space allowed).
13859
- */
13860
- name: string;
13861
- type: 'book_appointment_cal';
13862
- /**
13863
- * Describes what the tool does, sometimes can also include information about when
13864
- * to call the tool.
13865
- */
13866
- description?: string;
13867
- /**
13868
- * Timezone to be used when booking appointment, must be in
13869
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
13870
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
13871
- * resolved at runtime. If not specified, will check if user specified timezone in
13872
- * call, and if not, will use the timezone of the Retell servers.
13873
- */
13874
- timezone?: string;
13875
- }
13876
13490
  interface AgentSwapTool {
13877
13491
  /**
13878
13492
  * The id of the agent to swap to.
@@ -14632,7 +14246,7 @@ export declare namespace ConversationFlowCreateParams {
14632
14246
  /**
14633
14247
  * The LLM model to use
14634
14248
  */
14635
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
14249
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
14636
14250
  /**
14637
14251
  * Type of model choice
14638
14252
  */
@@ -14950,7 +14564,7 @@ export declare namespace ConversationFlowCreateParams {
14950
14564
  /**
14951
14565
  * The LLM model to use
14952
14566
  */
14953
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
14567
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
14954
14568
  /**
14955
14569
  * Type of model choice
14956
14570
  */
@@ -15276,7 +14890,7 @@ export declare namespace ConversationFlowCreateParams {
15276
14890
  /**
15277
14891
  * The LLM model to use
15278
14892
  */
15279
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
14893
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
15280
14894
  /**
15281
14895
  * Type of model choice
15282
14896
  */
@@ -15771,7 +15385,7 @@ export declare namespace ConversationFlowCreateParams {
15771
15385
  /**
15772
15386
  * The LLM model to use
15773
15387
  */
15774
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
15388
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
15775
15389
  /**
15776
15390
  * Type of model choice
15777
15391
  */
@@ -16063,7 +15677,7 @@ export declare namespace ConversationFlowCreateParams {
16063
15677
  /**
16064
15678
  * The LLM model to use
16065
15679
  */
16066
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
15680
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
16067
15681
  /**
16068
15682
  * Type of model choice
16069
15683
  */
@@ -16340,7 +15954,7 @@ export declare namespace ConversationFlowCreateParams {
16340
15954
  /**
16341
15955
  * The LLM model to use
16342
15956
  */
16343
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
15957
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
16344
15958
  /**
16345
15959
  * Type of model choice
16346
15960
  */
@@ -16628,7 +16242,7 @@ export declare namespace ConversationFlowCreateParams {
16628
16242
  /**
16629
16243
  * The LLM model to use
16630
16244
  */
16631
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
16245
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
16632
16246
  /**
16633
16247
  * Type of model choice
16634
16248
  */
@@ -17018,7 +16632,7 @@ export declare namespace ConversationFlowCreateParams {
17018
16632
  /**
17019
16633
  * The LLM model to use
17020
16634
  */
17021
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
16635
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
17022
16636
  /**
17023
16637
  * Type of model choice
17024
16638
  */
@@ -17284,7 +16898,7 @@ export declare namespace ConversationFlowCreateParams {
17284
16898
  /**
17285
16899
  * The LLM model to use
17286
16900
  */
17287
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
16901
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
17288
16902
  /**
17289
16903
  * Type of model choice
17290
16904
  */
@@ -17612,7 +17226,7 @@ export declare namespace ConversationFlowCreateParams {
17612
17226
  /**
17613
17227
  * The LLM model to use
17614
17228
  */
17615
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
17229
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
17616
17230
  /**
17617
17231
  * Type of model choice
17618
17232
  */
@@ -18077,7 +17691,7 @@ export declare namespace ConversationFlowCreateParams {
18077
17691
  /**
18078
17692
  * The LLM model to use
18079
17693
  */
18080
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
17694
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
18081
17695
  /**
18082
17696
  * Type of model choice
18083
17697
  */
@@ -18260,7 +17874,7 @@ export declare namespace ConversationFlowCreateParams {
18260
17874
  /**
18261
17875
  * The LLM model to use
18262
17876
  */
18263
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
17877
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
18264
17878
  /**
18265
17879
  * Type of model choice
18266
17880
  */
@@ -18310,7 +17924,7 @@ export declare namespace ConversationFlowCreateParams {
18310
17924
  /**
18311
17925
  * Tools available within the component
18312
17926
  */
18313
- tools?: Array<Component.CustomTool | Component.CheckAvailabilityCalTool | Component.BookAppointmentCalTool> | null;
17927
+ tools?: Array<Component.Tool> | null;
18314
17928
  }
18315
17929
  namespace Component {
18316
17930
  interface ConversationNode {
@@ -18744,7 +18358,7 @@ export declare namespace ConversationFlowCreateParams {
18744
18358
  /**
18745
18359
  * The LLM model to use
18746
18360
  */
18747
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
18361
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
18748
18362
  /**
18749
18363
  * Type of model choice
18750
18364
  */
@@ -18875,7 +18489,7 @@ export declare namespace ConversationFlowCreateParams {
18875
18489
  * The tools owned by this subagent node. This includes other tool types like
18876
18490
  * transfer_call, agent_swap, etc.
18877
18491
  */
18878
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
18492
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
18879
18493
  voice_speed?: number | null;
18880
18494
  }
18881
18495
  namespace SubagentNode {
@@ -19236,7 +18850,7 @@ export declare namespace ConversationFlowCreateParams {
19236
18850
  /**
19237
18851
  * The LLM model to use
19238
18852
  */
19239
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
18853
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
19240
18854
  /**
19241
18855
  * Type of model choice
19242
18856
  */
@@ -19620,80 +19234,6 @@ export declare namespace ConversationFlowCreateParams {
19620
19234
  }
19621
19235
  }
19622
19236
  }
19623
- /**
19624
- * @deprecated
19625
- */
19626
- interface CheckAvailabilityCalTool {
19627
- /**
19628
- * Cal.com Api key that have access to the cal.com event you want to check
19629
- * availability for.
19630
- */
19631
- cal_api_key: string;
19632
- /**
19633
- * Cal.com event type id number for the cal.com event you want to check
19634
- * availability for. Can be a number or a dynamic variable in the format
19635
- * `{{variable_name}}` that will be resolved at runtime.
19636
- */
19637
- event_type_id: number | string;
19638
- /**
19639
- * Name of the tool. Must be unique within all tools available to LLM at any given
19640
- * time (general tools + state tools + state transitions). Must be consisted of
19641
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
19642
- * (no space allowed).
19643
- */
19644
- name: string;
19645
- type: 'check_availability_cal';
19646
- /**
19647
- * Describes what the tool does, sometimes can also include information about when
19648
- * to call the tool.
19649
- */
19650
- description?: string;
19651
- /**
19652
- * Timezone to be used when checking availability, must be in
19653
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
19654
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
19655
- * resolved at runtime. If not specified, will check if user specified timezone in
19656
- * call, and if not, will use the timezone of the Retell servers.
19657
- */
19658
- timezone?: string;
19659
- }
19660
- /**
19661
- * @deprecated
19662
- */
19663
- interface BookAppointmentCalTool {
19664
- /**
19665
- * Cal.com Api key that have access to the cal.com event you want to book
19666
- * appointment.
19667
- */
19668
- cal_api_key: string;
19669
- /**
19670
- * Cal.com event type id number for the cal.com event you want to book appointment.
19671
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
19672
- * will be resolved at runtime.
19673
- */
19674
- event_type_id: number | string;
19675
- /**
19676
- * Name of the tool. Must be unique within all tools available to LLM at any given
19677
- * time (general tools + state tools + state transitions). Must be consisted of
19678
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
19679
- * (no space allowed).
19680
- */
19681
- name: string;
19682
- type: 'book_appointment_cal';
19683
- /**
19684
- * Describes what the tool does, sometimes can also include information about when
19685
- * to call the tool.
19686
- */
19687
- description?: string;
19688
- /**
19689
- * Timezone to be used when booking appointment, must be in
19690
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
19691
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
19692
- * resolved at runtime. If not specified, will check if user specified timezone in
19693
- * call, and if not, will use the timezone of the Retell servers.
19694
- */
19695
- timezone?: string;
19696
- }
19697
19237
  interface AgentSwapTool {
19698
19238
  /**
19699
19239
  * The id of the agent to swap to.
@@ -20453,7 +19993,7 @@ export declare namespace ConversationFlowCreateParams {
20453
19993
  /**
20454
19994
  * The LLM model to use
20455
19995
  */
20456
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
19996
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
20457
19997
  /**
20458
19998
  * Type of model choice
20459
19999
  */
@@ -20771,7 +20311,7 @@ export declare namespace ConversationFlowCreateParams {
20771
20311
  /**
20772
20312
  * The LLM model to use
20773
20313
  */
20774
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
20314
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
20775
20315
  /**
20776
20316
  * Type of model choice
20777
20317
  */
@@ -21097,7 +20637,7 @@ export declare namespace ConversationFlowCreateParams {
21097
20637
  /**
21098
20638
  * The LLM model to use
21099
20639
  */
21100
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
20640
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
21101
20641
  /**
21102
20642
  * Type of model choice
21103
20643
  */
@@ -21592,7 +21132,7 @@ export declare namespace ConversationFlowCreateParams {
21592
21132
  /**
21593
21133
  * The LLM model to use
21594
21134
  */
21595
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
21135
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
21596
21136
  /**
21597
21137
  * Type of model choice
21598
21138
  */
@@ -21884,7 +21424,7 @@ export declare namespace ConversationFlowCreateParams {
21884
21424
  /**
21885
21425
  * The LLM model to use
21886
21426
  */
21887
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
21427
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
21888
21428
  /**
21889
21429
  * Type of model choice
21890
21430
  */
@@ -22161,7 +21701,7 @@ export declare namespace ConversationFlowCreateParams {
22161
21701
  /**
22162
21702
  * The LLM model to use
22163
21703
  */
22164
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
21704
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
22165
21705
  /**
22166
21706
  * Type of model choice
22167
21707
  */
@@ -22449,7 +21989,7 @@ export declare namespace ConversationFlowCreateParams {
22449
21989
  /**
22450
21990
  * The LLM model to use
22451
21991
  */
22452
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
21992
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
22453
21993
  /**
22454
21994
  * Type of model choice
22455
21995
  */
@@ -22839,7 +22379,7 @@ export declare namespace ConversationFlowCreateParams {
22839
22379
  /**
22840
22380
  * The LLM model to use
22841
22381
  */
22842
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
22382
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
22843
22383
  /**
22844
22384
  * Type of model choice
22845
22385
  */
@@ -23105,7 +22645,7 @@ export declare namespace ConversationFlowCreateParams {
23105
22645
  /**
23106
22646
  * The LLM model to use
23107
22647
  */
23108
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
22648
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
23109
22649
  /**
23110
22650
  * Type of model choice
23111
22651
  */
@@ -23433,7 +22973,7 @@ export declare namespace ConversationFlowCreateParams {
23433
22973
  /**
23434
22974
  * The LLM model to use
23435
22975
  */
23436
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
22976
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
23437
22977
  /**
23438
22978
  * Type of model choice
23439
22979
  */
@@ -23898,7 +23438,7 @@ export declare namespace ConversationFlowCreateParams {
23898
23438
  /**
23899
23439
  * The LLM model to use
23900
23440
  */
23901
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
23441
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
23902
23442
  /**
23903
23443
  * Type of model choice
23904
23444
  */
@@ -24081,7 +23621,7 @@ export declare namespace ConversationFlowCreateParams {
24081
23621
  /**
24082
23622
  * The LLM model to use
24083
23623
  */
24084
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
23624
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
24085
23625
  /**
24086
23626
  * Type of model choice
24087
23627
  */
@@ -24158,7 +23698,7 @@ export declare namespace ConversationFlowCreateParams {
24158
23698
  width?: number;
24159
23699
  }
24160
23700
  }
24161
- interface CustomTool {
23701
+ interface Tool {
24162
23702
  /**
24163
23703
  * Name of the tool. Must be unique within all tools available to LLM at any given
24164
23704
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -24237,7 +23777,7 @@ export declare namespace ConversationFlowCreateParams {
24237
23777
  * documentation about the format. Omitting parameters defines a function with an
24238
23778
  * empty parameter list.
24239
23779
  */
24240
- parameters?: CustomTool.Parameters;
23780
+ parameters?: Tool.Parameters;
24241
23781
  /**
24242
23782
  * Query parameters to append to the request URL.
24243
23783
  */
@@ -24277,7 +23817,7 @@ export declare namespace ConversationFlowCreateParams {
24277
23817
  */
24278
23818
  tool_id?: string;
24279
23819
  }
24280
- namespace CustomTool {
23820
+ namespace Tool {
24281
23821
  /**
24282
23822
  * The parameters the functions accepts, described as a JSON Schema object. See
24283
23823
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -24302,88 +23842,6 @@ export declare namespace ConversationFlowCreateParams {
24302
23842
  required?: Array<string>;
24303
23843
  }
24304
23844
  }
24305
- /**
24306
- * @deprecated
24307
- */
24308
- interface CheckAvailabilityCalTool {
24309
- /**
24310
- * Cal.com Api key that have access to the cal.com event you want to check
24311
- * availability for.
24312
- */
24313
- cal_api_key: string;
24314
- /**
24315
- * Cal.com event type id number for the cal.com event you want to check
24316
- * availability for. Can be a number or a dynamic variable in the format
24317
- * `{{variable_name}}` that will be resolved at runtime.
24318
- */
24319
- event_type_id: number | string;
24320
- /**
24321
- * Name of the tool. Must be unique within all tools available to LLM at any given
24322
- * time (general tools + state tools + state transitions). Must be consisted of
24323
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
24324
- * (no space allowed).
24325
- */
24326
- name: string;
24327
- type: 'check_availability_cal';
24328
- /**
24329
- * Describes what the tool does, sometimes can also include information about when
24330
- * to call the tool.
24331
- */
24332
- description?: string;
24333
- /**
24334
- * Timezone to be used when checking availability, must be in
24335
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
24336
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
24337
- * resolved at runtime. If not specified, will check if user specified timezone in
24338
- * call, and if not, will use the timezone of the Retell servers.
24339
- */
24340
- timezone?: string;
24341
- /**
24342
- * Unique identifier for the tool
24343
- */
24344
- tool_id?: string;
24345
- }
24346
- /**
24347
- * @deprecated
24348
- */
24349
- interface BookAppointmentCalTool {
24350
- /**
24351
- * Cal.com Api key that have access to the cal.com event you want to book
24352
- * appointment.
24353
- */
24354
- cal_api_key: string;
24355
- /**
24356
- * Cal.com event type id number for the cal.com event you want to book appointment.
24357
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
24358
- * will be resolved at runtime.
24359
- */
24360
- event_type_id: number | string;
24361
- /**
24362
- * Name of the tool. Must be unique within all tools available to LLM at any given
24363
- * time (general tools + state tools + state transitions). Must be consisted of
24364
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
24365
- * (no space allowed).
24366
- */
24367
- name: string;
24368
- type: 'book_appointment_cal';
24369
- /**
24370
- * Describes what the tool does, sometimes can also include information about when
24371
- * to call the tool.
24372
- */
24373
- description?: string;
24374
- /**
24375
- * Timezone to be used when booking appointment, must be in
24376
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
24377
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
24378
- * resolved at runtime. If not specified, will check if user specified timezone in
24379
- * call, and if not, will use the timezone of the Retell servers.
24380
- */
24381
- timezone?: string;
24382
- /**
24383
- * Unique identifier for the tool
24384
- */
24385
- tool_id?: string;
24386
- }
24387
23845
  }
24388
23846
  /**
24389
23847
  * Knowledge base configuration for RAG retrieval.
@@ -24457,7 +23915,7 @@ export declare namespace ConversationFlowCreateParams {
24457
23915
  width?: number;
24458
23916
  }
24459
23917
  }
24460
- interface CustomTool {
23918
+ interface Tool {
24461
23919
  /**
24462
23920
  * Name of the tool. Must be unique within all tools available to LLM at any given
24463
23921
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -24536,7 +23994,7 @@ export declare namespace ConversationFlowCreateParams {
24536
23994
  * documentation about the format. Omitting parameters defines a function with an
24537
23995
  * empty parameter list.
24538
23996
  */
24539
- parameters?: CustomTool.Parameters;
23997
+ parameters?: Tool.Parameters;
24540
23998
  /**
24541
23999
  * Query parameters to append to the request URL.
24542
24000
  */
@@ -24576,7 +24034,7 @@ export declare namespace ConversationFlowCreateParams {
24576
24034
  */
24577
24035
  tool_id?: string;
24578
24036
  }
24579
- namespace CustomTool {
24037
+ namespace Tool {
24580
24038
  /**
24581
24039
  * The parameters the functions accepts, described as a JSON Schema object. See
24582
24040
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -24601,88 +24059,6 @@ export declare namespace ConversationFlowCreateParams {
24601
24059
  required?: Array<string>;
24602
24060
  }
24603
24061
  }
24604
- /**
24605
- * @deprecated
24606
- */
24607
- interface CheckAvailabilityCalTool {
24608
- /**
24609
- * Cal.com Api key that have access to the cal.com event you want to check
24610
- * availability for.
24611
- */
24612
- cal_api_key: string;
24613
- /**
24614
- * Cal.com event type id number for the cal.com event you want to check
24615
- * availability for. Can be a number or a dynamic variable in the format
24616
- * `{{variable_name}}` that will be resolved at runtime.
24617
- */
24618
- event_type_id: number | string;
24619
- /**
24620
- * Name of the tool. Must be unique within all tools available to LLM at any given
24621
- * time (general tools + state tools + state transitions). Must be consisted of
24622
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
24623
- * (no space allowed).
24624
- */
24625
- name: string;
24626
- type: 'check_availability_cal';
24627
- /**
24628
- * Describes what the tool does, sometimes can also include information about when
24629
- * to call the tool.
24630
- */
24631
- description?: string;
24632
- /**
24633
- * Timezone to be used when checking availability, must be in
24634
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
24635
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
24636
- * resolved at runtime. If not specified, will check if user specified timezone in
24637
- * call, and if not, will use the timezone of the Retell servers.
24638
- */
24639
- timezone?: string;
24640
- /**
24641
- * Unique identifier for the tool
24642
- */
24643
- tool_id?: string;
24644
- }
24645
- /**
24646
- * @deprecated
24647
- */
24648
- interface BookAppointmentCalTool {
24649
- /**
24650
- * Cal.com Api key that have access to the cal.com event you want to book
24651
- * appointment.
24652
- */
24653
- cal_api_key: string;
24654
- /**
24655
- * Cal.com event type id number for the cal.com event you want to book appointment.
24656
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
24657
- * will be resolved at runtime.
24658
- */
24659
- event_type_id: number | string;
24660
- /**
24661
- * Name of the tool. Must be unique within all tools available to LLM at any given
24662
- * time (general tools + state tools + state transitions). Must be consisted of
24663
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
24664
- * (no space allowed).
24665
- */
24666
- name: string;
24667
- type: 'book_appointment_cal';
24668
- /**
24669
- * Describes what the tool does, sometimes can also include information about when
24670
- * to call the tool.
24671
- */
24672
- description?: string;
24673
- /**
24674
- * Timezone to be used when booking appointment, must be in
24675
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
24676
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
24677
- * resolved at runtime. If not specified, will check if user specified timezone in
24678
- * call, and if not, will use the timezone of the Retell servers.
24679
- */
24680
- timezone?: string;
24681
- /**
24682
- * Unique identifier for the tool
24683
- */
24684
- tool_id?: string;
24685
- }
24686
24062
  }
24687
24063
  export interface ConversationFlowRetrieveParams {
24688
24064
  /**
@@ -24779,7 +24155,7 @@ export interface ConversationFlowUpdateParams {
24779
24155
  /**
24780
24156
  * Body param: Tools available in the conversation flow.
24781
24157
  */
24782
- tools?: Array<ConversationFlowUpdateParams.CustomTool | ConversationFlowUpdateParams.CheckAvailabilityCalTool | ConversationFlowUpdateParams.BookAppointmentCalTool> | null;
24158
+ tools?: Array<ConversationFlowUpdateParams.Tool> | null;
24783
24159
  }
24784
24160
  export declare namespace ConversationFlowUpdateParams {
24785
24161
  /**
@@ -24821,7 +24197,7 @@ export declare namespace ConversationFlowUpdateParams {
24821
24197
  /**
24822
24198
  * Tools available within the component
24823
24199
  */
24824
- tools?: Array<Component.CustomTool | Component.CheckAvailabilityCalTool | Component.BookAppointmentCalTool> | null;
24200
+ tools?: Array<Component.Tool> | null;
24825
24201
  }
24826
24202
  namespace Component {
24827
24203
  interface ConversationNode {
@@ -25255,7 +24631,7 @@ export declare namespace ConversationFlowUpdateParams {
25255
24631
  /**
25256
24632
  * The LLM model to use
25257
24633
  */
25258
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
24634
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
25259
24635
  /**
25260
24636
  * Type of model choice
25261
24637
  */
@@ -25386,7 +24762,7 @@ export declare namespace ConversationFlowUpdateParams {
25386
24762
  * The tools owned by this subagent node. This includes other tool types like
25387
24763
  * transfer_call, agent_swap, etc.
25388
24764
  */
25389
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
24765
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
25390
24766
  voice_speed?: number | null;
25391
24767
  }
25392
24768
  namespace SubagentNode {
@@ -25747,7 +25123,7 @@ export declare namespace ConversationFlowUpdateParams {
25747
25123
  /**
25748
25124
  * The LLM model to use
25749
25125
  */
25750
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
25126
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
25751
25127
  /**
25752
25128
  * Type of model choice
25753
25129
  */
@@ -26131,80 +25507,6 @@ export declare namespace ConversationFlowUpdateParams {
26131
25507
  }
26132
25508
  }
26133
25509
  }
26134
- /**
26135
- * @deprecated
26136
- */
26137
- interface CheckAvailabilityCalTool {
26138
- /**
26139
- * Cal.com Api key that have access to the cal.com event you want to check
26140
- * availability for.
26141
- */
26142
- cal_api_key: string;
26143
- /**
26144
- * Cal.com event type id number for the cal.com event you want to check
26145
- * availability for. Can be a number or a dynamic variable in the format
26146
- * `{{variable_name}}` that will be resolved at runtime.
26147
- */
26148
- event_type_id: number | string;
26149
- /**
26150
- * Name of the tool. Must be unique within all tools available to LLM at any given
26151
- * time (general tools + state tools + state transitions). Must be consisted of
26152
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
26153
- * (no space allowed).
26154
- */
26155
- name: string;
26156
- type: 'check_availability_cal';
26157
- /**
26158
- * Describes what the tool does, sometimes can also include information about when
26159
- * to call the tool.
26160
- */
26161
- description?: string;
26162
- /**
26163
- * Timezone to be used when checking availability, must be in
26164
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
26165
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
26166
- * resolved at runtime. If not specified, will check if user specified timezone in
26167
- * call, and if not, will use the timezone of the Retell servers.
26168
- */
26169
- timezone?: string;
26170
- }
26171
- /**
26172
- * @deprecated
26173
- */
26174
- interface BookAppointmentCalTool {
26175
- /**
26176
- * Cal.com Api key that have access to the cal.com event you want to book
26177
- * appointment.
26178
- */
26179
- cal_api_key: string;
26180
- /**
26181
- * Cal.com event type id number for the cal.com event you want to book appointment.
26182
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
26183
- * will be resolved at runtime.
26184
- */
26185
- event_type_id: number | string;
26186
- /**
26187
- * Name of the tool. Must be unique within all tools available to LLM at any given
26188
- * time (general tools + state tools + state transitions). Must be consisted of
26189
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
26190
- * (no space allowed).
26191
- */
26192
- name: string;
26193
- type: 'book_appointment_cal';
26194
- /**
26195
- * Describes what the tool does, sometimes can also include information about when
26196
- * to call the tool.
26197
- */
26198
- description?: string;
26199
- /**
26200
- * Timezone to be used when booking appointment, must be in
26201
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
26202
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
26203
- * resolved at runtime. If not specified, will check if user specified timezone in
26204
- * call, and if not, will use the timezone of the Retell servers.
26205
- */
26206
- timezone?: string;
26207
- }
26208
25510
  interface AgentSwapTool {
26209
25511
  /**
26210
25512
  * The id of the agent to swap to.
@@ -26964,7 +26266,7 @@ export declare namespace ConversationFlowUpdateParams {
26964
26266
  /**
26965
26267
  * The LLM model to use
26966
26268
  */
26967
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
26269
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
26968
26270
  /**
26969
26271
  * Type of model choice
26970
26272
  */
@@ -27282,7 +26584,7 @@ export declare namespace ConversationFlowUpdateParams {
27282
26584
  /**
27283
26585
  * The LLM model to use
27284
26586
  */
27285
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
26587
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
27286
26588
  /**
27287
26589
  * Type of model choice
27288
26590
  */
@@ -27608,7 +26910,7 @@ export declare namespace ConversationFlowUpdateParams {
27608
26910
  /**
27609
26911
  * The LLM model to use
27610
26912
  */
27611
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
26913
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
27612
26914
  /**
27613
26915
  * Type of model choice
27614
26916
  */
@@ -28103,7 +27405,7 @@ export declare namespace ConversationFlowUpdateParams {
28103
27405
  /**
28104
27406
  * The LLM model to use
28105
27407
  */
28106
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
27408
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
28107
27409
  /**
28108
27410
  * Type of model choice
28109
27411
  */
@@ -28395,7 +27697,7 @@ export declare namespace ConversationFlowUpdateParams {
28395
27697
  /**
28396
27698
  * The LLM model to use
28397
27699
  */
28398
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
27700
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
28399
27701
  /**
28400
27702
  * Type of model choice
28401
27703
  */
@@ -28672,7 +27974,7 @@ export declare namespace ConversationFlowUpdateParams {
28672
27974
  /**
28673
27975
  * The LLM model to use
28674
27976
  */
28675
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
27977
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
28676
27978
  /**
28677
27979
  * Type of model choice
28678
27980
  */
@@ -28960,7 +28262,7 @@ export declare namespace ConversationFlowUpdateParams {
28960
28262
  /**
28961
28263
  * The LLM model to use
28962
28264
  */
28963
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
28265
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
28964
28266
  /**
28965
28267
  * Type of model choice
28966
28268
  */
@@ -29350,7 +28652,7 @@ export declare namespace ConversationFlowUpdateParams {
29350
28652
  /**
29351
28653
  * The LLM model to use
29352
28654
  */
29353
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
28655
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
29354
28656
  /**
29355
28657
  * Type of model choice
29356
28658
  */
@@ -29616,7 +28918,7 @@ export declare namespace ConversationFlowUpdateParams {
29616
28918
  /**
29617
28919
  * The LLM model to use
29618
28920
  */
29619
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
28921
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
29620
28922
  /**
29621
28923
  * Type of model choice
29622
28924
  */
@@ -29944,7 +29246,7 @@ export declare namespace ConversationFlowUpdateParams {
29944
29246
  /**
29945
29247
  * The LLM model to use
29946
29248
  */
29947
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
29249
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
29948
29250
  /**
29949
29251
  * Type of model choice
29950
29252
  */
@@ -30409,7 +29711,7 @@ export declare namespace ConversationFlowUpdateParams {
30409
29711
  /**
30410
29712
  * The LLM model to use
30411
29713
  */
30412
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
29714
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
30413
29715
  /**
30414
29716
  * Type of model choice
30415
29717
  */
@@ -30592,7 +29894,7 @@ export declare namespace ConversationFlowUpdateParams {
30592
29894
  /**
30593
29895
  * The LLM model to use
30594
29896
  */
30595
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
29897
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
30596
29898
  /**
30597
29899
  * Type of model choice
30598
29900
  */
@@ -30669,7 +29971,7 @@ export declare namespace ConversationFlowUpdateParams {
30669
29971
  width?: number;
30670
29972
  }
30671
29973
  }
30672
- interface CustomTool {
29974
+ interface Tool {
30673
29975
  /**
30674
29976
  * Name of the tool. Must be unique within all tools available to LLM at any given
30675
29977
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -30748,7 +30050,7 @@ export declare namespace ConversationFlowUpdateParams {
30748
30050
  * documentation about the format. Omitting parameters defines a function with an
30749
30051
  * empty parameter list.
30750
30052
  */
30751
- parameters?: CustomTool.Parameters;
30053
+ parameters?: Tool.Parameters;
30752
30054
  /**
30753
30055
  * Query parameters to append to the request URL.
30754
30056
  */
@@ -30788,7 +30090,7 @@ export declare namespace ConversationFlowUpdateParams {
30788
30090
  */
30789
30091
  tool_id?: string;
30790
30092
  }
30791
- namespace CustomTool {
30093
+ namespace Tool {
30792
30094
  /**
30793
30095
  * The parameters the functions accepts, described as a JSON Schema object. See
30794
30096
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -30813,88 +30115,6 @@ export declare namespace ConversationFlowUpdateParams {
30813
30115
  required?: Array<string>;
30814
30116
  }
30815
30117
  }
30816
- /**
30817
- * @deprecated
30818
- */
30819
- interface CheckAvailabilityCalTool {
30820
- /**
30821
- * Cal.com Api key that have access to the cal.com event you want to check
30822
- * availability for.
30823
- */
30824
- cal_api_key: string;
30825
- /**
30826
- * Cal.com event type id number for the cal.com event you want to check
30827
- * availability for. Can be a number or a dynamic variable in the format
30828
- * `{{variable_name}}` that will be resolved at runtime.
30829
- */
30830
- event_type_id: number | string;
30831
- /**
30832
- * Name of the tool. Must be unique within all tools available to LLM at any given
30833
- * time (general tools + state tools + state transitions). Must be consisted of
30834
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
30835
- * (no space allowed).
30836
- */
30837
- name: string;
30838
- type: 'check_availability_cal';
30839
- /**
30840
- * Describes what the tool does, sometimes can also include information about when
30841
- * to call the tool.
30842
- */
30843
- description?: string;
30844
- /**
30845
- * Timezone to be used when checking availability, must be in
30846
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
30847
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
30848
- * resolved at runtime. If not specified, will check if user specified timezone in
30849
- * call, and if not, will use the timezone of the Retell servers.
30850
- */
30851
- timezone?: string;
30852
- /**
30853
- * Unique identifier for the tool
30854
- */
30855
- tool_id?: string;
30856
- }
30857
- /**
30858
- * @deprecated
30859
- */
30860
- interface BookAppointmentCalTool {
30861
- /**
30862
- * Cal.com Api key that have access to the cal.com event you want to book
30863
- * appointment.
30864
- */
30865
- cal_api_key: string;
30866
- /**
30867
- * Cal.com event type id number for the cal.com event you want to book appointment.
30868
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
30869
- * will be resolved at runtime.
30870
- */
30871
- event_type_id: number | string;
30872
- /**
30873
- * Name of the tool. Must be unique within all tools available to LLM at any given
30874
- * time (general tools + state tools + state transitions). Must be consisted of
30875
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
30876
- * (no space allowed).
30877
- */
30878
- name: string;
30879
- type: 'book_appointment_cal';
30880
- /**
30881
- * Describes what the tool does, sometimes can also include information about when
30882
- * to call the tool.
30883
- */
30884
- description?: string;
30885
- /**
30886
- * Timezone to be used when booking appointment, must be in
30887
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
30888
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
30889
- * resolved at runtime. If not specified, will check if user specified timezone in
30890
- * call, and if not, will use the timezone of the Retell servers.
30891
- */
30892
- timezone?: string;
30893
- /**
30894
- * Unique identifier for the tool
30895
- */
30896
- tool_id?: string;
30897
- }
30898
30118
  }
30899
30119
  /**
30900
30120
  * Knowledge base configuration for RAG retrieval.
@@ -30940,7 +30160,7 @@ export declare namespace ConversationFlowUpdateParams {
30940
30160
  /**
30941
30161
  * The LLM model to use
30942
30162
  */
30943
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
30163
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
30944
30164
  /**
30945
30165
  * Type of model choice
30946
30166
  */
@@ -31381,7 +30601,7 @@ export declare namespace ConversationFlowUpdateParams {
31381
30601
  /**
31382
30602
  * The LLM model to use
31383
30603
  */
31384
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
30604
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
31385
30605
  /**
31386
30606
  * Type of model choice
31387
30607
  */
@@ -31512,7 +30732,7 @@ export declare namespace ConversationFlowUpdateParams {
31512
30732
  * The tools owned by this subagent node. This includes other tool types like
31513
30733
  * transfer_call, agent_swap, etc.
31514
30734
  */
31515
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
30735
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
31516
30736
  voice_speed?: number | null;
31517
30737
  }
31518
30738
  namespace SubagentNode {
@@ -31873,7 +31093,7 @@ export declare namespace ConversationFlowUpdateParams {
31873
31093
  /**
31874
31094
  * The LLM model to use
31875
31095
  */
31876
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
31096
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
31877
31097
  /**
31878
31098
  * Type of model choice
31879
31099
  */
@@ -32257,80 +31477,6 @@ export declare namespace ConversationFlowUpdateParams {
32257
31477
  }
32258
31478
  }
32259
31479
  }
32260
- /**
32261
- * @deprecated
32262
- */
32263
- interface CheckAvailabilityCalTool {
32264
- /**
32265
- * Cal.com Api key that have access to the cal.com event you want to check
32266
- * availability for.
32267
- */
32268
- cal_api_key: string;
32269
- /**
32270
- * Cal.com event type id number for the cal.com event you want to check
32271
- * availability for. Can be a number or a dynamic variable in the format
32272
- * `{{variable_name}}` that will be resolved at runtime.
32273
- */
32274
- event_type_id: number | string;
32275
- /**
32276
- * Name of the tool. Must be unique within all tools available to LLM at any given
32277
- * time (general tools + state tools + state transitions). Must be consisted of
32278
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
32279
- * (no space allowed).
32280
- */
32281
- name: string;
32282
- type: 'check_availability_cal';
32283
- /**
32284
- * Describes what the tool does, sometimes can also include information about when
32285
- * to call the tool.
32286
- */
32287
- description?: string;
32288
- /**
32289
- * Timezone to be used when checking availability, must be in
32290
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
32291
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
32292
- * resolved at runtime. If not specified, will check if user specified timezone in
32293
- * call, and if not, will use the timezone of the Retell servers.
32294
- */
32295
- timezone?: string;
32296
- }
32297
- /**
32298
- * @deprecated
32299
- */
32300
- interface BookAppointmentCalTool {
32301
- /**
32302
- * Cal.com Api key that have access to the cal.com event you want to book
32303
- * appointment.
32304
- */
32305
- cal_api_key: string;
32306
- /**
32307
- * Cal.com event type id number for the cal.com event you want to book appointment.
32308
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
32309
- * will be resolved at runtime.
32310
- */
32311
- event_type_id: number | string;
32312
- /**
32313
- * Name of the tool. Must be unique within all tools available to LLM at any given
32314
- * time (general tools + state tools + state transitions). Must be consisted of
32315
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
32316
- * (no space allowed).
32317
- */
32318
- name: string;
32319
- type: 'book_appointment_cal';
32320
- /**
32321
- * Describes what the tool does, sometimes can also include information about when
32322
- * to call the tool.
32323
- */
32324
- description?: string;
32325
- /**
32326
- * Timezone to be used when booking appointment, must be in
32327
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
32328
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
32329
- * resolved at runtime. If not specified, will check if user specified timezone in
32330
- * call, and if not, will use the timezone of the Retell servers.
32331
- */
32332
- timezone?: string;
32333
- }
32334
31480
  interface AgentSwapTool {
32335
31481
  /**
32336
31482
  * The id of the agent to swap to.
@@ -33090,7 +32236,7 @@ export declare namespace ConversationFlowUpdateParams {
33090
32236
  /**
33091
32237
  * The LLM model to use
33092
32238
  */
33093
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
32239
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
33094
32240
  /**
33095
32241
  * Type of model choice
33096
32242
  */
@@ -33408,7 +32554,7 @@ export declare namespace ConversationFlowUpdateParams {
33408
32554
  /**
33409
32555
  * The LLM model to use
33410
32556
  */
33411
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
32557
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
33412
32558
  /**
33413
32559
  * Type of model choice
33414
32560
  */
@@ -33734,7 +32880,7 @@ export declare namespace ConversationFlowUpdateParams {
33734
32880
  /**
33735
32881
  * The LLM model to use
33736
32882
  */
33737
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
32883
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
33738
32884
  /**
33739
32885
  * Type of model choice
33740
32886
  */
@@ -34229,7 +33375,7 @@ export declare namespace ConversationFlowUpdateParams {
34229
33375
  /**
34230
33376
  * The LLM model to use
34231
33377
  */
34232
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
33378
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
34233
33379
  /**
34234
33380
  * Type of model choice
34235
33381
  */
@@ -34521,7 +33667,7 @@ export declare namespace ConversationFlowUpdateParams {
34521
33667
  /**
34522
33668
  * The LLM model to use
34523
33669
  */
34524
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
33670
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
34525
33671
  /**
34526
33672
  * Type of model choice
34527
33673
  */
@@ -34798,7 +33944,7 @@ export declare namespace ConversationFlowUpdateParams {
34798
33944
  /**
34799
33945
  * The LLM model to use
34800
33946
  */
34801
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
33947
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
34802
33948
  /**
34803
33949
  * Type of model choice
34804
33950
  */
@@ -35086,7 +34232,7 @@ export declare namespace ConversationFlowUpdateParams {
35086
34232
  /**
35087
34233
  * The LLM model to use
35088
34234
  */
35089
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
34235
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
35090
34236
  /**
35091
34237
  * Type of model choice
35092
34238
  */
@@ -35476,7 +34622,7 @@ export declare namespace ConversationFlowUpdateParams {
35476
34622
  /**
35477
34623
  * The LLM model to use
35478
34624
  */
35479
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
34625
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
35480
34626
  /**
35481
34627
  * Type of model choice
35482
34628
  */
@@ -35742,7 +34888,7 @@ export declare namespace ConversationFlowUpdateParams {
35742
34888
  /**
35743
34889
  * The LLM model to use
35744
34890
  */
35745
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
34891
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
35746
34892
  /**
35747
34893
  * Type of model choice
35748
34894
  */
@@ -36070,7 +35216,7 @@ export declare namespace ConversationFlowUpdateParams {
36070
35216
  /**
36071
35217
  * The LLM model to use
36072
35218
  */
36073
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
35219
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
36074
35220
  /**
36075
35221
  * Type of model choice
36076
35222
  */
@@ -36535,7 +35681,7 @@ export declare namespace ConversationFlowUpdateParams {
36535
35681
  /**
36536
35682
  * The LLM model to use
36537
35683
  */
36538
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
35684
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
36539
35685
  /**
36540
35686
  * Type of model choice
36541
35687
  */
@@ -36718,7 +35864,7 @@ export declare namespace ConversationFlowUpdateParams {
36718
35864
  /**
36719
35865
  * The LLM model to use
36720
35866
  */
36721
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
35867
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
36722
35868
  /**
36723
35869
  * Type of model choice
36724
35870
  */
@@ -36764,7 +35910,7 @@ export declare namespace ConversationFlowUpdateParams {
36764
35910
  width?: number;
36765
35911
  }
36766
35912
  }
36767
- interface CustomTool {
35913
+ interface Tool {
36768
35914
  /**
36769
35915
  * Name of the tool. Must be unique within all tools available to LLM at any given
36770
35916
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -36843,7 +35989,7 @@ export declare namespace ConversationFlowUpdateParams {
36843
35989
  * documentation about the format. Omitting parameters defines a function with an
36844
35990
  * empty parameter list.
36845
35991
  */
36846
- parameters?: CustomTool.Parameters;
35992
+ parameters?: Tool.Parameters;
36847
35993
  /**
36848
35994
  * Query parameters to append to the request URL.
36849
35995
  */
@@ -36883,7 +36029,7 @@ export declare namespace ConversationFlowUpdateParams {
36883
36029
  */
36884
36030
  tool_id?: string;
36885
36031
  }
36886
- namespace CustomTool {
36032
+ namespace Tool {
36887
36033
  /**
36888
36034
  * The parameters the functions accepts, described as a JSON Schema object. See
36889
36035
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -36908,88 +36054,6 @@ export declare namespace ConversationFlowUpdateParams {
36908
36054
  required?: Array<string>;
36909
36055
  }
36910
36056
  }
36911
- /**
36912
- * @deprecated
36913
- */
36914
- interface CheckAvailabilityCalTool {
36915
- /**
36916
- * Cal.com Api key that have access to the cal.com event you want to check
36917
- * availability for.
36918
- */
36919
- cal_api_key: string;
36920
- /**
36921
- * Cal.com event type id number for the cal.com event you want to check
36922
- * availability for. Can be a number or a dynamic variable in the format
36923
- * `{{variable_name}}` that will be resolved at runtime.
36924
- */
36925
- event_type_id: number | string;
36926
- /**
36927
- * Name of the tool. Must be unique within all tools available to LLM at any given
36928
- * time (general tools + state tools + state transitions). Must be consisted of
36929
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
36930
- * (no space allowed).
36931
- */
36932
- name: string;
36933
- type: 'check_availability_cal';
36934
- /**
36935
- * Describes what the tool does, sometimes can also include information about when
36936
- * to call the tool.
36937
- */
36938
- description?: string;
36939
- /**
36940
- * Timezone to be used when checking availability, must be in
36941
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
36942
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
36943
- * resolved at runtime. If not specified, will check if user specified timezone in
36944
- * call, and if not, will use the timezone of the Retell servers.
36945
- */
36946
- timezone?: string;
36947
- /**
36948
- * Unique identifier for the tool
36949
- */
36950
- tool_id?: string;
36951
- }
36952
- /**
36953
- * @deprecated
36954
- */
36955
- interface BookAppointmentCalTool {
36956
- /**
36957
- * Cal.com Api key that have access to the cal.com event you want to book
36958
- * appointment.
36959
- */
36960
- cal_api_key: string;
36961
- /**
36962
- * Cal.com event type id number for the cal.com event you want to book appointment.
36963
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
36964
- * will be resolved at runtime.
36965
- */
36966
- event_type_id: number | string;
36967
- /**
36968
- * Name of the tool. Must be unique within all tools available to LLM at any given
36969
- * time (general tools + state tools + state transitions). Must be consisted of
36970
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
36971
- * (no space allowed).
36972
- */
36973
- name: string;
36974
- type: 'book_appointment_cal';
36975
- /**
36976
- * Describes what the tool does, sometimes can also include information about when
36977
- * to call the tool.
36978
- */
36979
- description?: string;
36980
- /**
36981
- * Timezone to be used when booking appointment, must be in
36982
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
36983
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
36984
- * resolved at runtime. If not specified, will check if user specified timezone in
36985
- * call, and if not, will use the timezone of the Retell servers.
36986
- */
36987
- timezone?: string;
36988
- /**
36989
- * Unique identifier for the tool
36990
- */
36991
- tool_id?: string;
36992
- }
36993
36057
  }
36994
36058
  export interface ConversationFlowListParams {
36995
36059
  /**