@composio/client 0.1.0-alpha.40 → 0.1.0-alpha.42

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 (108) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +1 -1
  3. package/client.d.mts +1 -1
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +1 -1
  6. package/client.d.ts.map +1 -1
  7. package/client.js +1 -1
  8. package/client.js.map +1 -1
  9. package/client.mjs +1 -1
  10. package/client.mjs.map +1 -1
  11. package/package.json +2 -2
  12. package/resources/auth-configs.d.mts +3 -3
  13. package/resources/auth-configs.d.mts.map +1 -1
  14. package/resources/auth-configs.d.ts +3 -3
  15. package/resources/auth-configs.d.ts.map +1 -1
  16. package/resources/connected-accounts.d.mts +2656 -964
  17. package/resources/connected-accounts.d.mts.map +1 -1
  18. package/resources/connected-accounts.d.ts +2656 -964
  19. package/resources/connected-accounts.d.ts.map +1 -1
  20. package/resources/files.d.mts +30 -0
  21. package/resources/files.d.mts.map +1 -1
  22. package/resources/files.d.ts +30 -0
  23. package/resources/files.d.ts.map +1 -1
  24. package/resources/index.d.mts +1 -1
  25. package/resources/index.d.ts +1 -1
  26. package/resources/index.js +1 -1
  27. package/resources/index.js.map +1 -1
  28. package/resources/index.mjs +1 -1
  29. package/resources/link.d.mts +410 -1
  30. package/resources/link.d.mts.map +1 -1
  31. package/resources/link.d.ts +410 -1
  32. package/resources/link.d.ts.map +1 -1
  33. package/resources/mcp/custom.d.mts +9 -6
  34. package/resources/mcp/custom.d.mts.map +1 -1
  35. package/resources/mcp/custom.d.ts +9 -6
  36. package/resources/mcp/custom.d.ts.map +1 -1
  37. package/resources/mcp/mcp.d.mts +2 -4
  38. package/resources/mcp/mcp.d.mts.map +1 -1
  39. package/resources/mcp/mcp.d.ts +2 -4
  40. package/resources/mcp/mcp.d.ts.map +1 -1
  41. package/resources/mcp/mcp.js.map +1 -1
  42. package/resources/mcp/mcp.mjs.map +1 -1
  43. package/resources/tool-router/index.d.mts +3 -0
  44. package/resources/tool-router/index.d.mts.map +1 -0
  45. package/resources/tool-router/index.d.ts +3 -0
  46. package/resources/tool-router/index.d.ts.map +1 -0
  47. package/resources/tool-router/index.js +9 -0
  48. package/resources/tool-router/index.js.map +1 -0
  49. package/resources/tool-router/index.mjs +4 -0
  50. package/resources/tool-router/index.mjs.map +1 -0
  51. package/resources/tool-router/session.d.mts +708 -0
  52. package/resources/tool-router/session.d.mts.map +1 -0
  53. package/resources/tool-router/session.d.ts +708 -0
  54. package/resources/tool-router/session.d.ts.map +1 -0
  55. package/resources/tool-router/session.js +98 -0
  56. package/resources/tool-router/session.js.map +1 -0
  57. package/resources/tool-router/session.mjs +94 -0
  58. package/resources/tool-router/session.mjs.map +1 -0
  59. package/resources/tool-router/tool-router.d.mts +91 -0
  60. package/resources/tool-router/tool-router.d.mts.map +1 -0
  61. package/resources/tool-router/tool-router.d.ts +91 -0
  62. package/resources/tool-router/tool-router.d.ts.map +1 -0
  63. package/resources/tool-router/tool-router.js +46 -0
  64. package/resources/tool-router/tool-router.js.map +1 -0
  65. package/resources/tool-router/tool-router.mjs +41 -0
  66. package/resources/tool-router/tool-router.mjs.map +1 -0
  67. package/resources/tool-router.d.mts +1 -86
  68. package/resources/tool-router.d.mts.map +1 -1
  69. package/resources/tool-router.d.ts +1 -86
  70. package/resources/tool-router.d.ts.map +1 -1
  71. package/resources/tool-router.js +2 -34
  72. package/resources/tool-router.js.map +1 -1
  73. package/resources/tool-router.mjs +1 -32
  74. package/resources/tool-router.mjs.map +1 -1
  75. package/resources/toolkits.d.mts +9 -9
  76. package/resources/toolkits.d.ts +9 -9
  77. package/resources/toolkits.js +9 -9
  78. package/resources/toolkits.mjs +9 -9
  79. package/resources/tools.d.mts +83 -328
  80. package/resources/tools.d.mts.map +1 -1
  81. package/resources/tools.d.ts +83 -328
  82. package/resources/tools.d.ts.map +1 -1
  83. package/resources/tools.js +3 -3
  84. package/resources/tools.mjs +3 -3
  85. package/resources/triggers-types.d.mts +0 -4
  86. package/resources/triggers-types.d.mts.map +1 -1
  87. package/resources/triggers-types.d.ts +0 -4
  88. package/resources/triggers-types.d.ts.map +1 -1
  89. package/src/client.ts +5 -5
  90. package/src/resources/auth-configs.ts +9 -3
  91. package/src/resources/connected-accounts.ts +4657 -1579
  92. package/src/resources/files.ts +36 -0
  93. package/src/resources/index.ts +1 -1
  94. package/src/resources/link.ts +741 -1
  95. package/src/resources/mcp/custom.ts +10 -6
  96. package/src/resources/mcp/mcp.ts +2 -4
  97. package/src/resources/tool-router/index.ts +19 -0
  98. package/src/resources/tool-router/session.ts +858 -0
  99. package/src/resources/tool-router/tool-router.ts +137 -0
  100. package/src/resources/tool-router.ts +1 -105
  101. package/src/resources/toolkits.ts +9 -9
  102. package/src/resources/tools.ts +99 -553
  103. package/src/resources/triggers-types.ts +0 -5
  104. package/src/version.ts +1 -1
  105. package/version.d.mts +1 -1
  106. package/version.d.ts +1 -1
  107. package/version.js +1 -1
  108. package/version.mjs +1 -1
@@ -99,9 +99,9 @@ export class Tools extends APIResource {
99
99
  }
100
100
 
101
101
  /**
102
- * Retrieve a list of all available tool enumeration values (tool slugs) for the
103
- * project. This endpoint returns a comma-separated string of tool slugs that can
104
- * be used in other API calls.
102
+ * Retrieve a list of all available tool enumeration values (tool slugs) from
103
+ * latest version of each toolkit. This endpoint returns a comma-separated string
104
+ * of tool slugs that can be used in other API calls.
105
105
  *
106
106
  * @example
107
107
  * ```ts
@@ -411,7 +411,7 @@ export interface ToolProxyResponse {
411
411
  }
412
412
 
413
413
  /**
414
- * JSON string containing all tool enum values
414
+ * JSON string containing all tool enum values from latest version of each toolkit
415
415
  */
416
416
  export type ToolRetrieveEnumResponse = Array<string>;
417
417
 
@@ -523,7 +523,8 @@ export interface ToolExecuteParams {
523
523
  | ToolExecuteParams.UnionMember4
524
524
  | ToolExecuteParams.UnionMember5
525
525
  | ToolExecuteParams.UnionMember6
526
- | ToolExecuteParams.UnionMember7;
526
+ | ToolExecuteParams.UnionMember7
527
+ | ToolExecuteParams.UnionMember8;
527
528
 
528
529
  /**
529
530
  * Natural language description of the task to perform (mutually exclusive with
@@ -537,7 +538,7 @@ export interface ToolExecuteParams {
537
538
  user_id?: string;
538
539
 
539
540
  /**
540
- * Tool version to execute (defaults to "latest" if not specified)
541
+ * Tool version to execute (defaults to "00000000_00" if not specified)
541
542
  */
542
543
  version?: string;
543
544
  }
@@ -682,398 +683,21 @@ export namespace ToolExecuteParams {
682
683
  }
683
684
 
684
685
  export interface UnionMember1 {
685
- authScheme: 'API_KEY';
686
-
687
- toolkitSlug: string;
688
-
689
- val: UnionMember1.Val;
690
- }
691
-
692
- export namespace UnionMember1 {
693
- export interface Val {
694
- account_id?: string;
695
-
696
- account_url?: string;
697
-
698
- api_key?: string;
699
-
700
- api_url?: string;
701
-
702
- base_url?: string;
703
-
704
- basic_encoded?: string;
705
-
706
- bearer_token?: string;
707
-
708
- borneo_dashboard_url?: string;
709
-
710
- COMPANYDOMAIN?: string;
711
-
712
- dc?: string;
713
-
714
- domain?: string;
715
-
716
- extension?: string;
717
-
718
- form_api_base_url?: string;
719
-
720
- generic_api_key?: string;
721
-
722
- instanceEndpoint?: string;
723
-
724
- instanceName?: string;
725
-
726
- proxy_password?: string;
727
-
728
- proxy_username?: string;
729
-
730
- region?: string;
731
-
732
- server_location?: string;
733
-
734
- shop?: string;
735
-
736
- site_name?: string;
737
-
738
- subdomain?: string;
739
-
740
- version?: string;
741
-
742
- your_server?: string;
743
-
744
- 'your-domain'?: string;
745
-
746
- [k: string]: unknown;
747
- }
748
- }
749
-
750
- export interface UnionMember2 {
751
- authScheme: 'BASIC_WITH_JWT';
752
-
753
- toolkitSlug: string;
754
-
755
- val: UnionMember2.Val;
756
- }
757
-
758
- export namespace UnionMember2 {
759
- export interface Val {
760
- password: string;
761
-
762
- username: string;
763
-
764
- account_id?: string;
765
-
766
- account_url?: string;
767
-
768
- api_url?: string;
769
-
770
- base_url?: string;
771
-
772
- borneo_dashboard_url?: string;
773
-
774
- COMPANYDOMAIN?: string;
775
-
776
- dc?: string;
777
-
778
- domain?: string;
779
-
780
- extension?: string;
781
-
782
- form_api_base_url?: string;
783
-
784
- instanceEndpoint?: string;
785
-
786
- instanceName?: string;
787
-
788
- proxy_password?: string;
789
-
790
- proxy_username?: string;
791
-
792
- region?: string;
793
-
794
- server_location?: string;
795
-
796
- shop?: string;
797
-
798
- site_name?: string;
799
-
800
- subdomain?: string;
801
-
802
- version?: string;
803
-
804
- your_server?: string;
805
-
806
- 'your-domain'?: string;
807
-
808
- [k: string]: unknown;
809
- }
810
- }
811
-
812
- export interface UnionMember3 {
813
- authScheme: 'BASIC';
814
-
815
- toolkitSlug: string;
816
-
817
- val: UnionMember3.Val;
818
- }
819
-
820
- export namespace UnionMember3 {
821
- export interface Val {
822
- username: string;
823
-
824
- account_id?: string;
825
-
826
- account_url?: string;
827
-
828
- api_url?: string;
829
-
830
- base_url?: string;
831
-
832
- borneo_dashboard_url?: string;
833
-
834
- COMPANYDOMAIN?: string;
835
-
836
- dc?: string;
837
-
838
- domain?: string;
839
-
840
- extension?: string;
841
-
842
- form_api_base_url?: string;
843
-
844
- instanceEndpoint?: string;
845
-
846
- instanceName?: string;
847
-
848
- password?: string;
849
-
850
- proxy_password?: string;
851
-
852
- proxy_username?: string;
853
-
854
- region?: string;
855
-
856
- server_location?: string;
857
-
858
- shop?: string;
859
-
860
- site_name?: string;
861
-
862
- subdomain?: string;
863
-
864
- version?: string;
865
-
866
- your_server?: string;
867
-
868
- 'your-domain'?: string;
869
-
870
- [k: string]: unknown;
871
- }
872
- }
873
-
874
- export interface UnionMember4 {
875
- authScheme: 'BEARER_TOKEN';
876
-
877
- toolkitSlug: string;
878
-
879
- val: UnionMember4.Val;
880
- }
881
-
882
- export namespace UnionMember4 {
883
- export interface Val {
884
- token: string;
885
-
886
- account_id?: string;
887
-
888
- account_url?: string;
889
-
890
- api_url?: string;
891
-
892
- base_url?: string;
893
-
894
- borneo_dashboard_url?: string;
895
-
896
- COMPANYDOMAIN?: string;
897
-
898
- dc?: string;
899
-
900
- domain?: string;
901
-
902
- extension?: string;
903
-
904
- form_api_base_url?: string;
905
-
906
- instanceEndpoint?: string;
907
-
908
- instanceName?: string;
909
-
910
- proxy_password?: string;
911
-
912
- proxy_username?: string;
913
-
914
- region?: string;
915
-
916
- server_location?: string;
917
-
918
- shop?: string;
919
-
920
- site_name?: string;
921
-
922
- subdomain?: string;
923
-
924
- version?: string;
925
-
926
- your_server?: string;
927
-
928
- 'your-domain'?: string;
929
-
930
- [k: string]: unknown;
931
- }
932
- }
933
-
934
- export interface UnionMember5 {
935
- authScheme: 'OAUTH1';
936
-
937
- toolkitSlug: string;
938
-
939
- val: UnionMember5.Val;
940
- }
941
-
942
- export namespace UnionMember5 {
943
- export interface Val {
944
- oauth_token: string;
945
-
946
- oauth_token_secret: string;
947
-
948
- account_id?: string;
949
-
950
- account_url?: string;
951
-
952
- api_url?: string;
953
-
954
- base_url?: string;
955
-
956
- borneo_dashboard_url?: string;
957
-
958
- callback_url?: string;
959
-
960
- COMPANYDOMAIN?: string;
961
-
962
- consumer_key?: string;
963
-
964
- dc?: string;
965
-
966
- domain?: string;
967
-
968
- extension?: string;
969
-
970
- form_api_base_url?: string;
971
-
972
- instanceEndpoint?: string;
973
-
974
- instanceName?: string;
975
-
976
- oauth_verifier?: string;
977
-
978
- proxy_password?: string;
979
-
980
- proxy_username?: string;
981
-
982
- redirectUrl?: string;
983
-
984
- region?: string;
985
-
986
- server_location?: string;
987
-
988
- shop?: string;
989
-
990
- site_name?: string;
991
-
992
- subdomain?: string;
993
-
994
- version?: string;
995
-
996
- your_server?: string;
997
-
998
- 'your-domain'?: string;
999
-
1000
- [k: string]: unknown;
1001
- }
1002
- }
1003
-
1004
- export interface UnionMember6 {
1005
- authScheme: 'NO_AUTH';
1006
-
1007
- toolkitSlug: string;
1008
-
1009
- val: UnionMember6.Val;
1010
- }
1011
-
1012
- export namespace UnionMember6 {
1013
- export interface Val {
1014
- account_id?: string;
1015
-
1016
- account_url?: string;
1017
-
1018
- api_url?: string;
1019
-
1020
- base_url?: string;
1021
-
1022
- borneo_dashboard_url?: string;
1023
-
1024
- COMPANYDOMAIN?: string;
1025
-
1026
- dc?: string;
1027
-
1028
- domain?: string;
1029
-
1030
- extension?: string;
1031
-
1032
- form_api_base_url?: string;
1033
-
1034
- instanceEndpoint?: string;
1035
-
1036
- instanceName?: string;
1037
-
1038
- proxy_password?: string;
1039
-
1040
- proxy_username?: string;
1041
-
1042
- region?: string;
1043
-
1044
- server_location?: string;
1045
-
1046
- shop?: string;
1047
-
1048
- site_name?: string;
1049
-
1050
- subdomain?: string;
1051
-
1052
- version?: string;
1053
-
1054
- your_server?: string;
1055
-
1056
- 'your-domain'?: string;
1057
-
1058
- [k: string]: unknown;
1059
- }
1060
- }
1061
-
1062
- export interface UnionMember7 {
1063
- authScheme: 'SERVICE_ACCOUNT';
686
+ authScheme: 'DCR_OAUTH';
1064
687
 
1065
688
  toolkitSlug: string;
1066
689
 
1067
- val: UnionMember7.Val;
690
+ val: UnionMember1.Val;
1068
691
  }
1069
692
 
1070
- export namespace UnionMember7 {
693
+ export namespace UnionMember1 {
1071
694
  export interface Val {
1072
- application_id: string;
1073
-
1074
- installation_id: string;
695
+ access_token: string;
1075
696
 
1076
- private_key: string;
697
+ /**
698
+ * Dynamically registered client ID
699
+ */
700
+ client_id: string;
1077
701
 
1078
702
  account_id?: string;
1079
703
 
@@ -1085,136 +709,10 @@ export namespace ToolExecuteParams {
1085
709
 
1086
710
  borneo_dashboard_url?: string;
1087
711
 
1088
- COMPANYDOMAIN?: string;
1089
-
1090
- dc?: string;
1091
-
1092
- domain?: string;
1093
-
1094
- extension?: string;
1095
-
1096
- form_api_base_url?: string;
1097
-
1098
- instanceEndpoint?: string;
1099
-
1100
- instanceName?: string;
1101
-
1102
- proxy_password?: string;
1103
-
1104
- proxy_username?: string;
1105
-
1106
- region?: string;
1107
-
1108
- server_location?: string;
1109
-
1110
- shop?: string;
1111
-
1112
- site_name?: string;
1113
-
1114
- subdomain?: string;
1115
-
1116
- version?: string;
1117
-
1118
- your_server?: string;
1119
-
1120
- 'your-domain'?: string;
1121
-
1122
- [k: string]: unknown;
1123
- }
1124
- }
1125
- }
1126
-
1127
- export interface ToolGetInputParams {
1128
- /**
1129
- * Natural language description of what you want to accomplish with this tool
1130
- */
1131
- text: string;
1132
-
1133
- /**
1134
- * Custom description of the tool to help guide the LLM in generating more accurate
1135
- * inputs
1136
- */
1137
- custom_description?: string;
1138
-
1139
- /**
1140
- * System prompt to control and guide the behavior of the LLM when generating
1141
- * inputs
1142
- */
1143
- system_prompt?: string;
1144
-
1145
- /**
1146
- * Tool version to use when generating inputs (defaults to "latest" if not
1147
- * specified)
1148
- */
1149
- version?: string;
1150
- }
1151
-
1152
- export interface ToolProxyParams {
1153
- /**
1154
- * The API endpoint to call (absolute URL or path relative to base URL of the
1155
- * connected account)
1156
- */
1157
- endpoint: string;
1158
-
1159
- /**
1160
- * The HTTP method to use for the request
1161
- */
1162
- method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
1163
-
1164
- /**
1165
- * The request body (for POST, PUT, and PATCH requests)
1166
- */
1167
- body?: unknown;
1168
-
1169
- /**
1170
- * The ID of the connected account to use for authentication (if not provided, will
1171
- * use the default account for the project)
1172
- */
1173
- connected_account_id?: string;
1174
-
1175
- custom_connection_data?:
1176
- | ToolProxyParams.UnionMember0
1177
- | ToolProxyParams.UnionMember1
1178
- | ToolProxyParams.UnionMember2
1179
- | ToolProxyParams.UnionMember3
1180
- | ToolProxyParams.UnionMember4
1181
- | ToolProxyParams.UnionMember5
1182
- | ToolProxyParams.UnionMember6
1183
- | ToolProxyParams.UnionMember7;
1184
-
1185
- /**
1186
- * Additional HTTP headers or query parameters to include in the request
1187
- */
1188
- parameters?: Array<ToolProxyParams.Parameter>;
1189
- }
1190
-
1191
- export namespace ToolProxyParams {
1192
- export interface UnionMember0 {
1193
- authScheme: 'OAUTH2';
1194
-
1195
- toolkitSlug: string;
1196
-
1197
- val: UnionMember0.Val;
1198
- }
1199
-
1200
- export namespace UnionMember0 {
1201
- export interface Val {
1202
- access_token: string;
1203
-
1204
- account_id?: string;
1205
-
1206
- account_url?: string;
1207
-
1208
- api_url?: string;
1209
-
1210
712
  /**
1211
- * for slack user scopes
713
+ * Dynamically registered client secret
1212
714
  */
1213
- authed_user?: Val.AuthedUser;
1214
-
1215
- base_url?: string;
1216
-
1217
- borneo_dashboard_url?: string;
715
+ client_secret?: string;
1218
716
 
1219
717
  COMPANYDOMAIN?: string;
1220
718
 
@@ -1247,6 +745,11 @@ export namespace ToolProxyParams {
1247
745
 
1248
746
  region?: string;
1249
747
 
748
+ /**
749
+ * Token for managing the registered client
750
+ */
751
+ registration_access_token?: string;
752
+
1250
753
  scope?: string | Array<string> | null;
1251
754
 
1252
755
  server_location?: string;
@@ -1266,36 +769,23 @@ export namespace ToolProxyParams {
1266
769
 
1267
770
  version?: string;
1268
771
 
1269
- webhook_signature?: string;
1270
-
1271
772
  your_server?: string;
1272
773
 
1273
774
  'your-domain'?: string;
1274
775
 
1275
776
  [k: string]: unknown;
1276
777
  }
1277
-
1278
- export namespace Val {
1279
- /**
1280
- * for slack user scopes
1281
- */
1282
- export interface AuthedUser {
1283
- access_token?: string;
1284
-
1285
- scope?: string;
1286
- }
1287
- }
1288
778
  }
1289
779
 
1290
- export interface UnionMember1 {
780
+ export interface UnionMember2 {
1291
781
  authScheme: 'API_KEY';
1292
782
 
1293
783
  toolkitSlug: string;
1294
784
 
1295
- val: UnionMember1.Val;
785
+ val: UnionMember2.Val;
1296
786
  }
1297
787
 
1298
- export namespace UnionMember1 {
788
+ export namespace UnionMember2 {
1299
789
  export interface Val {
1300
790
  account_id?: string;
1301
791
 
@@ -1353,15 +843,15 @@ export namespace ToolProxyParams {
1353
843
  }
1354
844
  }
1355
845
 
1356
- export interface UnionMember2 {
846
+ export interface UnionMember3 {
1357
847
  authScheme: 'BASIC_WITH_JWT';
1358
848
 
1359
849
  toolkitSlug: string;
1360
850
 
1361
- val: UnionMember2.Val;
851
+ val: UnionMember3.Val;
1362
852
  }
1363
853
 
1364
- export namespace UnionMember2 {
854
+ export namespace UnionMember3 {
1365
855
  export interface Val {
1366
856
  password: string;
1367
857
 
@@ -1415,15 +905,15 @@ export namespace ToolProxyParams {
1415
905
  }
1416
906
  }
1417
907
 
1418
- export interface UnionMember3 {
908
+ export interface UnionMember4 {
1419
909
  authScheme: 'BASIC';
1420
910
 
1421
911
  toolkitSlug: string;
1422
912
 
1423
- val: UnionMember3.Val;
913
+ val: UnionMember4.Val;
1424
914
  }
1425
915
 
1426
- export namespace UnionMember3 {
916
+ export namespace UnionMember4 {
1427
917
  export interface Val {
1428
918
  username: string;
1429
919
 
@@ -1477,15 +967,15 @@ export namespace ToolProxyParams {
1477
967
  }
1478
968
  }
1479
969
 
1480
- export interface UnionMember4 {
970
+ export interface UnionMember5 {
1481
971
  authScheme: 'BEARER_TOKEN';
1482
972
 
1483
973
  toolkitSlug: string;
1484
974
 
1485
- val: UnionMember4.Val;
975
+ val: UnionMember5.Val;
1486
976
  }
1487
977
 
1488
- export namespace UnionMember4 {
978
+ export namespace UnionMember5 {
1489
979
  export interface Val {
1490
980
  token: string;
1491
981
 
@@ -1537,15 +1027,15 @@ export namespace ToolProxyParams {
1537
1027
  }
1538
1028
  }
1539
1029
 
1540
- export interface UnionMember5 {
1030
+ export interface UnionMember6 {
1541
1031
  authScheme: 'OAUTH1';
1542
1032
 
1543
1033
  toolkitSlug: string;
1544
1034
 
1545
- val: UnionMember5.Val;
1035
+ val: UnionMember6.Val;
1546
1036
  }
1547
1037
 
1548
- export namespace UnionMember5 {
1038
+ export namespace UnionMember6 {
1549
1039
  export interface Val {
1550
1040
  oauth_token: string;
1551
1041
 
@@ -1607,15 +1097,15 @@ export namespace ToolProxyParams {
1607
1097
  }
1608
1098
  }
1609
1099
 
1610
- export interface UnionMember6 {
1100
+ export interface UnionMember7 {
1611
1101
  authScheme: 'NO_AUTH';
1612
1102
 
1613
1103
  toolkitSlug: string;
1614
1104
 
1615
- val: UnionMember6.Val;
1105
+ val: UnionMember7.Val;
1616
1106
  }
1617
1107
 
1618
- export namespace UnionMember6 {
1108
+ export namespace UnionMember7 {
1619
1109
  export interface Val {
1620
1110
  account_id?: string;
1621
1111
 
@@ -1665,15 +1155,15 @@ export namespace ToolProxyParams {
1665
1155
  }
1666
1156
  }
1667
1157
 
1668
- export interface UnionMember7 {
1158
+ export interface UnionMember8 {
1669
1159
  authScheme: 'SERVICE_ACCOUNT';
1670
1160
 
1671
1161
  toolkitSlug: string;
1672
1162
 
1673
- val: UnionMember7.Val;
1163
+ val: UnionMember8.Val;
1674
1164
  }
1675
1165
 
1676
- export namespace UnionMember7 {
1166
+ export namespace UnionMember8 {
1677
1167
  export interface Val {
1678
1168
  application_id: string;
1679
1169
 
@@ -1728,7 +1218,63 @@ export namespace ToolProxyParams {
1728
1218
  [k: string]: unknown;
1729
1219
  }
1730
1220
  }
1221
+ }
1222
+
1223
+ export interface ToolGetInputParams {
1224
+ /**
1225
+ * Natural language description of what you want to accomplish with this tool
1226
+ */
1227
+ text: string;
1228
+
1229
+ /**
1230
+ * Custom description of the tool to help guide the LLM in generating more accurate
1231
+ * inputs
1232
+ */
1233
+ custom_description?: string;
1234
+
1235
+ /**
1236
+ * System prompt to control and guide the behavior of the LLM when generating
1237
+ * inputs
1238
+ */
1239
+ system_prompt?: string;
1240
+
1241
+ /**
1242
+ * Tool version to use when generating inputs (defaults to "latest" if not
1243
+ * specified)
1244
+ */
1245
+ version?: string;
1246
+ }
1247
+
1248
+ export interface ToolProxyParams {
1249
+ /**
1250
+ * The API endpoint to call (absolute URL or path relative to base URL of the
1251
+ * connected account)
1252
+ */
1253
+ endpoint: string;
1254
+
1255
+ /**
1256
+ * The HTTP method to use for the request
1257
+ */
1258
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
1259
+
1260
+ /**
1261
+ * The request body (for POST, PUT, and PATCH requests)
1262
+ */
1263
+ body?: unknown;
1264
+
1265
+ /**
1266
+ * The ID of the connected account to use for authentication (if not provided, will
1267
+ * use the default account for the project)
1268
+ */
1269
+ connected_account_id?: string;
1270
+
1271
+ /**
1272
+ * Additional HTTP headers or query parameters to include in the request
1273
+ */
1274
+ parameters?: Array<ToolProxyParams.Parameter>;
1275
+ }
1731
1276
 
1277
+ export namespace ToolProxyParams {
1732
1278
  export interface Parameter {
1733
1279
  /**
1734
1280
  * Parameter name