retell-sdk 6.2.4 → 6.2.6

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 (57) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +24 -12
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +24 -12
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +10 -6
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +10 -6
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +162 -30
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +162 -30
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/chat-agent.d.mts +24 -12
  16. package/resources/chat-agent.d.mts.map +1 -1
  17. package/resources/chat-agent.d.ts +24 -12
  18. package/resources/chat-agent.d.ts.map +1 -1
  19. package/resources/chat.d.mts +66 -6
  20. package/resources/chat.d.mts.map +1 -1
  21. package/resources/chat.d.ts +66 -6
  22. package/resources/chat.d.ts.map +1 -1
  23. package/resources/conversation-flow-component.d.mts +63 -51
  24. package/resources/conversation-flow-component.d.mts.map +1 -1
  25. package/resources/conversation-flow-component.d.ts +63 -51
  26. package/resources/conversation-flow-component.d.ts.map +1 -1
  27. package/resources/conversation-flow.d.mts +129 -105
  28. package/resources/conversation-flow.d.mts.map +1 -1
  29. package/resources/conversation-flow.d.ts +129 -105
  30. package/resources/conversation-flow.d.ts.map +1 -1
  31. package/resources/llm.d.mts +33 -15
  32. package/resources/llm.d.mts.map +1 -1
  33. package/resources/llm.d.ts +33 -15
  34. package/resources/llm.d.ts.map +1 -1
  35. package/resources/playground.d.mts +22 -2
  36. package/resources/playground.d.mts.map +1 -1
  37. package/resources/playground.d.ts +22 -2
  38. package/resources/playground.d.ts.map +1 -1
  39. package/resources/tests.d.mts +3 -3
  40. package/resources/tests.d.mts.map +1 -1
  41. package/resources/tests.d.ts +3 -3
  42. package/resources/tests.d.ts.map +1 -1
  43. package/src/resources/agent.ts +21 -15
  44. package/src/resources/batch-call.ts +7 -9
  45. package/src/resources/call.ts +165 -39
  46. package/src/resources/chat-agent.ts +21 -15
  47. package/src/resources/chat.ts +72 -6
  48. package/src/resources/conversation-flow-component.ts +21 -93
  49. package/src/resources/conversation-flow.ts +42 -192
  50. package/src/resources/llm.ts +30 -18
  51. package/src/resources/playground.ts +24 -2
  52. package/src/resources/tests.ts +0 -6
  53. package/src/version.ts +1 -1
  54. package/version.d.mts +1 -1
  55. package/version.d.ts +1 -1
  56. package/version.js +1 -1
  57. package/version.mjs +1 -1
@@ -870,7 +870,9 @@ export declare namespace PhoneCallResponse {
870
870
  */
871
871
  arguments: string;
872
872
  /**
873
- * Name of the function in this tool call.
873
+ * Name of the tool. This is the configured tool name, or the node name for a
874
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
875
+ * characters. To identify the kind of tool, use `type`.
874
876
  */
875
877
  name: string;
876
878
  /**
@@ -886,6 +888,14 @@ export declare namespace PhoneCallResponse {
886
888
  * internally to maintain reasoning chain in multi-turn function calling.
887
889
  */
888
890
  thought_signature?: string;
891
+ /**
892
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
893
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
894
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
895
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
896
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
897
+ */
898
+ type?: string;
889
899
  }
890
900
  interface ToolCallResultUtterance {
891
901
  /**
@@ -1032,7 +1042,9 @@ export declare namespace PhoneCallResponse {
1032
1042
  */
1033
1043
  arguments: string;
1034
1044
  /**
1035
- * Name of the function in this tool call.
1045
+ * Name of the tool. This is the configured tool name, or the node name for a
1046
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1047
+ * characters. To identify the kind of tool, use `type`.
1036
1048
  */
1037
1049
  name: string;
1038
1050
  /**
@@ -1048,6 +1060,14 @@ export declare namespace PhoneCallResponse {
1048
1060
  * internally to maintain reasoning chain in multi-turn function calling.
1049
1061
  */
1050
1062
  thought_signature?: string;
1063
+ /**
1064
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1065
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1066
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1067
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1068
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1069
+ */
1070
+ type?: string;
1051
1071
  }
1052
1072
  interface ToolCallResultUtterance {
1053
1073
  /**
@@ -1194,7 +1214,9 @@ export declare namespace PhoneCallResponse {
1194
1214
  */
1195
1215
  arguments: string;
1196
1216
  /**
1197
- * Name of the function in this tool call.
1217
+ * Name of the tool. This is the configured tool name, or the node name for a
1218
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1219
+ * characters. To identify the kind of tool, use `type`.
1198
1220
  */
1199
1221
  name: string;
1200
1222
  /**
@@ -1210,6 +1232,14 @@ export declare namespace PhoneCallResponse {
1210
1232
  * internally to maintain reasoning chain in multi-turn function calling.
1211
1233
  */
1212
1234
  thought_signature?: string;
1235
+ /**
1236
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1237
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1238
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1239
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1240
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1241
+ */
1242
+ type?: string;
1213
1243
  }
1214
1244
  interface ToolCallResultUtterance {
1215
1245
  /**
@@ -1356,7 +1386,9 @@ export declare namespace PhoneCallResponse {
1356
1386
  */
1357
1387
  arguments: string;
1358
1388
  /**
1359
- * Name of the function in this tool call.
1389
+ * Name of the tool. This is the configured tool name, or the node name for a
1390
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1391
+ * characters. To identify the kind of tool, use `type`.
1360
1392
  */
1361
1393
  name: string;
1362
1394
  /**
@@ -1372,6 +1404,14 @@ export declare namespace PhoneCallResponse {
1372
1404
  * internally to maintain reasoning chain in multi-turn function calling.
1373
1405
  */
1374
1406
  thought_signature?: string;
1407
+ /**
1408
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1409
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1410
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1411
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1412
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1413
+ */
1414
+ type?: string;
1375
1415
  }
1376
1416
  interface ToolCallResultUtterance {
1377
1417
  /**
@@ -1518,7 +1558,9 @@ export declare namespace PhoneCallResponse {
1518
1558
  */
1519
1559
  arguments: string;
1520
1560
  /**
1521
- * Name of the function in this tool call.
1561
+ * Name of the tool. This is the configured tool name, or the node name for a
1562
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1563
+ * characters. To identify the kind of tool, use `type`.
1522
1564
  */
1523
1565
  name: string;
1524
1566
  /**
@@ -1534,6 +1576,14 @@ export declare namespace PhoneCallResponse {
1534
1576
  * internally to maintain reasoning chain in multi-turn function calling.
1535
1577
  */
1536
1578
  thought_signature?: string;
1579
+ /**
1580
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1581
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1582
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1583
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1584
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1585
+ */
1586
+ type?: string;
1537
1587
  }
1538
1588
  interface ToolCallResultUtterance {
1539
1589
  /**
@@ -1724,7 +1774,9 @@ export declare namespace PhoneCallResponse {
1724
1774
  */
1725
1775
  arguments: string;
1726
1776
  /**
1727
- * Name of the function in this tool call.
1777
+ * Name of the tool. This is the configured tool name, or the node name for a
1778
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
1779
+ * characters. To identify the kind of tool, use `type`.
1728
1780
  */
1729
1781
  name: string;
1730
1782
  /**
@@ -1740,6 +1792,14 @@ export declare namespace PhoneCallResponse {
1740
1792
  * internally to maintain reasoning chain in multi-turn function calling.
1741
1793
  */
1742
1794
  thought_signature?: string;
1795
+ /**
1796
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
1797
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
1798
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
1799
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
1800
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
1801
+ */
1802
+ type?: string;
1743
1803
  }
1744
1804
  interface ToolCallResultUtterance {
1745
1805
  /**
@@ -2510,7 +2570,9 @@ export declare namespace WebCallResponse {
2510
2570
  */
2511
2571
  arguments: string;
2512
2572
  /**
2513
- * Name of the function in this tool call.
2573
+ * Name of the tool. This is the configured tool name, or the node name for a
2574
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
2575
+ * characters. To identify the kind of tool, use `type`.
2514
2576
  */
2515
2577
  name: string;
2516
2578
  /**
@@ -2526,6 +2588,14 @@ export declare namespace WebCallResponse {
2526
2588
  * internally to maintain reasoning chain in multi-turn function calling.
2527
2589
  */
2528
2590
  thought_signature?: string;
2591
+ /**
2592
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
2593
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
2594
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
2595
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
2596
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
2597
+ */
2598
+ type?: string;
2529
2599
  }
2530
2600
  interface ToolCallResultUtterance {
2531
2601
  /**
@@ -2672,7 +2742,9 @@ export declare namespace WebCallResponse {
2672
2742
  */
2673
2743
  arguments: string;
2674
2744
  /**
2675
- * Name of the function in this tool call.
2745
+ * Name of the tool. This is the configured tool name, or the node name for a
2746
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
2747
+ * characters. To identify the kind of tool, use `type`.
2676
2748
  */
2677
2749
  name: string;
2678
2750
  /**
@@ -2688,6 +2760,14 @@ export declare namespace WebCallResponse {
2688
2760
  * internally to maintain reasoning chain in multi-turn function calling.
2689
2761
  */
2690
2762
  thought_signature?: string;
2763
+ /**
2764
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
2765
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
2766
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
2767
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
2768
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
2769
+ */
2770
+ type?: string;
2691
2771
  }
2692
2772
  interface ToolCallResultUtterance {
2693
2773
  /**
@@ -2834,7 +2914,9 @@ export declare namespace WebCallResponse {
2834
2914
  */
2835
2915
  arguments: string;
2836
2916
  /**
2837
- * Name of the function in this tool call.
2917
+ * Name of the tool. This is the configured tool name, or the node name for a
2918
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
2919
+ * characters. To identify the kind of tool, use `type`.
2838
2920
  */
2839
2921
  name: string;
2840
2922
  /**
@@ -2850,6 +2932,14 @@ export declare namespace WebCallResponse {
2850
2932
  * internally to maintain reasoning chain in multi-turn function calling.
2851
2933
  */
2852
2934
  thought_signature?: string;
2935
+ /**
2936
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
2937
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
2938
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
2939
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
2940
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
2941
+ */
2942
+ type?: string;
2853
2943
  }
2854
2944
  interface ToolCallResultUtterance {
2855
2945
  /**
@@ -2996,7 +3086,9 @@ export declare namespace WebCallResponse {
2996
3086
  */
2997
3087
  arguments: string;
2998
3088
  /**
2999
- * Name of the function in this tool call.
3089
+ * Name of the tool. This is the configured tool name, or the node name for a
3090
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3091
+ * characters. To identify the kind of tool, use `type`.
3000
3092
  */
3001
3093
  name: string;
3002
3094
  /**
@@ -3012,6 +3104,14 @@ export declare namespace WebCallResponse {
3012
3104
  * internally to maintain reasoning chain in multi-turn function calling.
3013
3105
  */
3014
3106
  thought_signature?: string;
3107
+ /**
3108
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3109
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3110
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3111
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3112
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3113
+ */
3114
+ type?: string;
3015
3115
  }
3016
3116
  interface ToolCallResultUtterance {
3017
3117
  /**
@@ -3158,7 +3258,9 @@ export declare namespace WebCallResponse {
3158
3258
  */
3159
3259
  arguments: string;
3160
3260
  /**
3161
- * Name of the function in this tool call.
3261
+ * Name of the tool. This is the configured tool name, or the node name for a
3262
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3263
+ * characters. To identify the kind of tool, use `type`.
3162
3264
  */
3163
3265
  name: string;
3164
3266
  /**
@@ -3174,6 +3276,14 @@ export declare namespace WebCallResponse {
3174
3276
  * internally to maintain reasoning chain in multi-turn function calling.
3175
3277
  */
3176
3278
  thought_signature?: string;
3279
+ /**
3280
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3281
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3282
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3283
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3284
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3285
+ */
3286
+ type?: string;
3177
3287
  }
3178
3288
  interface ToolCallResultUtterance {
3179
3289
  /**
@@ -3354,7 +3464,9 @@ export declare namespace WebCallResponse {
3354
3464
  */
3355
3465
  arguments: string;
3356
3466
  /**
3357
- * Name of the function in this tool call.
3467
+ * Name of the tool. This is the configured tool name, or the node name for a
3468
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
3469
+ * characters. To identify the kind of tool, use `type`.
3358
3470
  */
3359
3471
  name: string;
3360
3472
  /**
@@ -3370,6 +3482,14 @@ export declare namespace WebCallResponse {
3370
3482
  * internally to maintain reasoning chain in multi-turn function calling.
3371
3483
  */
3372
3484
  thought_signature?: string;
3485
+ /**
3486
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
3487
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
3488
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
3489
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
3490
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
3491
+ */
3492
+ type?: string;
3373
3493
  }
3374
3494
  interface ToolCallResultUtterance {
3375
3495
  /**
@@ -5788,7 +5908,7 @@ export declare namespace CallCreatePhoneCallParams {
5788
5908
  /**
5789
5909
  * The model to use for post call analysis. Default to gpt-5.6-terra.
5790
5910
  */
5791
- post_call_analysis_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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
5911
+ post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
5792
5912
  /**
5793
5913
  * Integration (Agent Functions) tools run as a dependency graph during teardown,
5794
5914
  * after post-call analysis. Each tool can be gated by a condition. On calls the
@@ -6234,7 +6354,8 @@ export declare namespace CallCreatePhoneCallParams {
6234
6354
  app_tool_template_name: string;
6235
6355
  /**
6236
6356
  * Name of the tool. Must be unique within the phase's tools; referenced by
6237
- * depends_on.
6357
+ * depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
6358
+ * dashes, with a maximum length of 64 (no space allowed).
6238
6359
  */
6239
6360
  name: string;
6240
6361
  /**
@@ -6648,7 +6769,9 @@ export declare namespace CallCreatePhoneCallParams {
6648
6769
  interface SendSMSTool {
6649
6770
  /**
6650
6771
  * Name of the tool. Must be unique within all tools available to LLM at any given
6651
- * time (general tools + state tools + state edges).
6772
+ * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
6773
+ * 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
6774
+ * allowed).
6652
6775
  */
6653
6776
  name: string;
6654
6777
  sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
@@ -6747,7 +6870,8 @@ export declare namespace CallCreatePhoneCallParams {
6747
6870
  app_tool_template_name: string;
6748
6871
  /**
6749
6872
  * Name of the tool. Must be unique within the phase's tools; referenced by
6750
- * depends_on.
6873
+ * depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
6874
+ * dashes, with a maximum length of 64 (no space allowed).
6751
6875
  */
6752
6876
  name: string;
6753
6877
  /**
@@ -7241,7 +7365,7 @@ export declare namespace CallCreatePhoneCallParams {
7241
7365
  /**
7242
7366
  * The LLM model to use
7243
7367
  */
7244
- 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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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';
7368
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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';
7245
7369
  /**
7246
7370
  * Type of model choice
7247
7371
  */
@@ -7293,7 +7417,7 @@ export declare namespace CallCreatePhoneCallParams {
7293
7417
  /**
7294
7418
  * Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
7295
7419
  */
7296
- 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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
7420
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
7297
7421
  /**
7298
7422
  * If set to true, will use high priority pool with more dedicated resource to
7299
7423
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -7651,7 +7775,7 @@ export declare namespace CallCreateWebCallParams {
7651
7775
  /**
7652
7776
  * The model to use for post call analysis. Default to gpt-5.6-terra.
7653
7777
  */
7654
- post_call_analysis_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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
7778
+ post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
7655
7779
  /**
7656
7780
  * Integration (Agent Functions) tools run as a dependency graph during teardown,
7657
7781
  * after post-call analysis. Each tool can be gated by a condition. On calls the
@@ -8097,7 +8221,8 @@ export declare namespace CallCreateWebCallParams {
8097
8221
  app_tool_template_name: string;
8098
8222
  /**
8099
8223
  * Name of the tool. Must be unique within the phase's tools; referenced by
8100
- * depends_on.
8224
+ * depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
8225
+ * dashes, with a maximum length of 64 (no space allowed).
8101
8226
  */
8102
8227
  name: string;
8103
8228
  /**
@@ -8511,7 +8636,9 @@ export declare namespace CallCreateWebCallParams {
8511
8636
  interface SendSMSTool {
8512
8637
  /**
8513
8638
  * Name of the tool. Must be unique within all tools available to LLM at any given
8514
- * time (general tools + state tools + state edges).
8639
+ * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
8640
+ * 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
8641
+ * allowed).
8515
8642
  */
8516
8643
  name: string;
8517
8644
  sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
@@ -8610,7 +8737,8 @@ export declare namespace CallCreateWebCallParams {
8610
8737
  app_tool_template_name: string;
8611
8738
  /**
8612
8739
  * Name of the tool. Must be unique within the phase's tools; referenced by
8613
- * depends_on.
8740
+ * depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
8741
+ * dashes, with a maximum length of 64 (no space allowed).
8614
8742
  */
8615
8743
  name: string;
8616
8744
  /**
@@ -9104,7 +9232,7 @@ export declare namespace CallCreateWebCallParams {
9104
9232
  /**
9105
9233
  * The LLM model to use
9106
9234
  */
9107
- 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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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';
9235
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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';
9108
9236
  /**
9109
9237
  * Type of model choice
9110
9238
  */
@@ -9156,7 +9284,7 @@ export declare namespace CallCreateWebCallParams {
9156
9284
  /**
9157
9285
  * Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
9158
9286
  */
9159
- 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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
9287
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
9160
9288
  /**
9161
9289
  * If set to true, will use high priority pool with more dedicated resource to
9162
9290
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -9513,7 +9641,7 @@ export declare namespace CallRegisterPhoneCallParams {
9513
9641
  /**
9514
9642
  * The model to use for post call analysis. Default to gpt-5.6-terra.
9515
9643
  */
9516
- post_call_analysis_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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
9644
+ post_call_analysis_model?: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
9517
9645
  /**
9518
9646
  * Integration (Agent Functions) tools run as a dependency graph during teardown,
9519
9647
  * after post-call analysis. Each tool can be gated by a condition. On calls the
@@ -9959,7 +10087,8 @@ export declare namespace CallRegisterPhoneCallParams {
9959
10087
  app_tool_template_name: string;
9960
10088
  /**
9961
10089
  * Name of the tool. Must be unique within the phase's tools; referenced by
9962
- * depends_on.
10090
+ * depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
10091
+ * dashes, with a maximum length of 64 (no space allowed).
9963
10092
  */
9964
10093
  name: string;
9965
10094
  /**
@@ -10373,7 +10502,9 @@ export declare namespace CallRegisterPhoneCallParams {
10373
10502
  interface SendSMSTool {
10374
10503
  /**
10375
10504
  * Name of the tool. Must be unique within all tools available to LLM at any given
10376
- * time (general tools + state tools + state edges).
10505
+ * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
10506
+ * 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
10507
+ * allowed).
10377
10508
  */
10378
10509
  name: string;
10379
10510
  sms_content: SendSMSTool.SMSContentPredefined | SendSMSTool.SMSContentInferred | SendSMSTool.SMSContentTemplate;
@@ -10472,7 +10603,8 @@ export declare namespace CallRegisterPhoneCallParams {
10472
10603
  app_tool_template_name: string;
10473
10604
  /**
10474
10605
  * Name of the tool. Must be unique within the phase's tools; referenced by
10475
- * depends_on.
10606
+ * depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
10607
+ * dashes, with a maximum length of 64 (no space allowed).
10476
10608
  */
10477
10609
  name: string;
10478
10610
  /**
@@ -10966,7 +11098,7 @@ export declare namespace CallRegisterPhoneCallParams {
10966
11098
  /**
10967
11099
  * The LLM model to use
10968
11100
  */
10969
- 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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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';
11101
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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';
10970
11102
  /**
10971
11103
  * Type of model choice
10972
11104
  */
@@ -11018,7 +11150,7 @@ export declare namespace CallRegisterPhoneCallParams {
11018
11150
  /**
11019
11151
  * Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
11020
11152
  */
11021
- 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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
11153
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | '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' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | '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' | null;
11022
11154
  /**
11023
11155
  * If set to true, will use high priority pool with more dedicated resource to
11024
11156
  * ensure lower and more consistent latency, default to false. This feature usually