@stack-spot/portal-network 0.198.3 → 0.199.0-beta.1

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 (67) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/dist/api/agent-tools.d.ts +150 -148
  3. package/dist/api/agent-tools.d.ts.map +1 -1
  4. package/dist/api/agent-tools.js +41 -4
  5. package/dist/api/agent-tools.js.map +1 -1
  6. package/dist/api/ai.d.ts +288 -19
  7. package/dist/api/ai.d.ts.map +1 -1
  8. package/dist/api/ai.js +196 -11
  9. package/dist/api/ai.js.map +1 -1
  10. package/dist/api/cloudPlatformHorizon.d.ts +178 -9
  11. package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
  12. package/dist/api/cloudPlatformHorizon.js +69 -1
  13. package/dist/api/cloudPlatformHorizon.js.map +1 -1
  14. package/dist/api/codeShift.d.ts +316 -32
  15. package/dist/api/codeShift.d.ts.map +1 -1
  16. package/dist/api/codeShift.js +172 -8
  17. package/dist/api/codeShift.js.map +1 -1
  18. package/dist/api/dataIntegration.d.ts +291 -1
  19. package/dist/api/dataIntegration.d.ts.map +1 -1
  20. package/dist/api/dataIntegration.js +254 -0
  21. package/dist/api/dataIntegration.js.map +1 -1
  22. package/dist/api/discover.d.ts +72 -0
  23. package/dist/api/discover.d.ts.map +1 -1
  24. package/dist/api/discover.js +68 -2
  25. package/dist/api/discover.js.map +1 -1
  26. package/dist/client/agent-tools.d.ts +36 -3
  27. package/dist/client/agent-tools.d.ts.map +1 -1
  28. package/dist/client/agent-tools.js +35 -4
  29. package/dist/client/agent-tools.js.map +1 -1
  30. package/dist/client/ai.d.ts +137 -2
  31. package/dist/client/ai.d.ts.map +1 -1
  32. package/dist/client/ai.js +102 -2
  33. package/dist/client/ai.js.map +1 -1
  34. package/dist/client/cloud-platform-horizon.d.ts +19 -0
  35. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  36. package/dist/client/cloud-platform-horizon.js +19 -1
  37. package/dist/client/cloud-platform-horizon.js.map +1 -1
  38. package/dist/client/code-shift.d.ts +118 -4
  39. package/dist/client/code-shift.d.ts.map +1 -1
  40. package/dist/client/code-shift.js +100 -1
  41. package/dist/client/code-shift.js.map +1 -1
  42. package/dist/client/data-integration.d.ts +30 -0
  43. package/dist/client/data-integration.d.ts.map +1 -1
  44. package/dist/client/data-integration.js +22 -2
  45. package/dist/client/data-integration.js.map +1 -1
  46. package/dist/client/discover.d.ts +14 -0
  47. package/dist/client/discover.d.ts.map +1 -1
  48. package/dist/client/discover.js +28 -1
  49. package/dist/client/discover.js.map +1 -1
  50. package/dist/client/secrets.d.ts.map +1 -1
  51. package/dist/client/secrets.js +1 -1
  52. package/dist/client/secrets.js.map +1 -1
  53. package/dist/client/workspace-ai.d.ts +5 -5
  54. package/package.json +2 -2
  55. package/src/api/agent-tools.ts +199 -152
  56. package/src/api/ai.ts +521 -24
  57. package/src/api/cloudPlatformHorizon.ts +412 -9
  58. package/src/api/codeShift.ts +631 -37
  59. package/src/api/dataIntegration.ts +635 -1
  60. package/src/api/discover.ts +145 -2
  61. package/src/client/agent-tools.ts +26 -4
  62. package/src/client/ai.ts +81 -10
  63. package/src/client/cloud-platform-horizon.ts +12 -4
  64. package/src/client/code-shift.ts +64 -1
  65. package/src/client/data-integration.ts +15 -1
  66. package/src/client/discover.ts +14 -1
  67. package/src/client/secrets.ts +1 -1
@@ -4,8 +4,8 @@
4
4
  * DO NOT MODIFY - This file has been generated using oazapfts.
5
5
  * See https://www.npmjs.com/package/oazapfts
6
6
  */
7
- import * as Oazapfts from "@oazapfts/runtime";
8
- import * as QS from "@oazapfts/runtime/query";
7
+ import * as Oazapfts from "@oazapfts/runtime"
8
+ import * as QS from "@oazapfts/runtime/query"
9
9
  export const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders> = {
10
10
  headers: {},
11
11
  baseUrl: "/",
@@ -33,6 +33,7 @@ export type HttpValidationError = {
33
33
  detail?: ValidationError[];
34
34
  };
35
35
  export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace" | "favorite";
36
+ export type ToolkitType = "mcp" | "web_request";
36
37
  export type CustomToolkitSimpleResponse = {
37
38
  id: string;
38
39
  name: string;
@@ -40,6 +41,7 @@ export type CustomToolkitSimpleResponse = {
40
41
  avatar?: string | null;
41
42
  visibility_level: VisibilityLevelEnum;
42
43
  creator_name: string | null;
44
+ toolkit_type?: ToolkitType | null;
43
45
  };
44
46
  export type ToolkitRequest = {
45
47
  /** Toolkit name (up to 150 characters, required) */
@@ -51,6 +53,20 @@ export type ToolkitRequest = {
51
53
  /** Visibility level (default 'PERSONAL') */
52
54
  visibility_level?: VisibilityLevelEnum;
53
55
  };
56
+ export type ToolkitMcpRequest = {
57
+ /** Toolkit name (up to 150 characters, required) */
58
+ name: string;
59
+ /** Toolkit description (up to 1024 characters, optional) */
60
+ description?: string | null;
61
+ /** Toolkit avatar (text base64, optional) */
62
+ avatar?: string | null;
63
+ /** Visibility level (default 'PERSONAL') */
64
+ visibility_level?: VisibilityLevelEnum;
65
+ url: string;
66
+ toolkit_type: ToolkitType;
67
+ /** List of secret IDs (optional) */
68
+ secrets?: string[] | null;
69
+ };
54
70
  export type CreatedResponse = {
55
71
  id: string;
56
72
  };
@@ -76,10 +92,12 @@ export type CustomToolkitResponse = {
76
92
  avatar?: string | null;
77
93
  visibility_level: VisibilityLevelEnum;
78
94
  creator_name: string | null;
95
+ toolkit_type?: ToolkitType | null;
79
96
  tools: CustomToolkitToolResponse[];
80
97
  secret_id?: string | null;
81
98
  secrets?: string[] | null;
82
99
  is_usable_by_others: boolean;
100
+ url?: string | null;
83
101
  };
84
102
  export type ToolkitUpdateRequest = {
85
103
  /** Toolkit name (up to 150 characters, optional) */
@@ -95,6 +113,22 @@ export type ToolkitUpdateRequest = {
95
113
  /** List of secret IDs (optional) */
96
114
  secrets?: string[] | null;
97
115
  };
116
+ export type ToolkitMcpUpdateRequest = {
117
+ /** Toolkit name (up to 150 characters, optional) */
118
+ name?: string | null;
119
+ /** Toolkit description (up to 1024 characters, optional) */
120
+ description?: string | null;
121
+ /** Toolkit avatar (text base64, optional) */
122
+ avatar?: string | null;
123
+ /** Visibility level (optional) */
124
+ visibility_level?: VisibilityLevelEnum | null;
125
+ /** IAM secret ID (optional) */
126
+ secret_id?: string | null;
127
+ /** List of secret IDs (optional) */
128
+ secrets?: string[] | null;
129
+ /** MCP Server URL */
130
+ url?: string | null;
131
+ };
98
132
  export type ToolkitForkRequest = {
99
133
  /** Toolkit name (up to 150 characters, required) */
100
134
  name: string;
@@ -104,148 +138,7 @@ export type ToolkitForkRequest = {
104
138
  avatar?: string | null;
105
139
  };
106
140
  export type HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
107
- export type Reference = {
108
- $ref: string;
109
- summary?: string | null;
110
- description?: string | null;
111
- [key: string]: any;
112
- };
113
- export type DataType = "null" | "string" | "number" | "integer" | "boolean" | "array" | "object";
114
- export type Discriminator = {
115
- propertyName: string;
116
- mapping?: {
117
- [key: string]: string;
118
- } | null;
119
- [key: string]: any;
120
- };
121
- export type Xml = {
122
- name?: string | null;
123
- "namespace"?: string | null;
124
- prefix?: string | null;
125
- attribute?: boolean;
126
- wrapped?: boolean;
127
- [key: string]: any;
128
- };
129
- export type ExternalDocumentation = {
130
- description?: string | null;
131
- url: string;
132
- [key: string]: any;
133
- };
134
- export type Schema = {
135
- allOf?: (Reference | Schema)[] | null;
136
- anyOf?: (Reference | Schema)[] | null;
137
- oneOf?: (Reference | Schema)[] | null;
138
- not?: Reference | Schema | null;
139
- "if"?: Reference | Schema | null;
140
- then?: Reference | Schema | null;
141
- "else"?: Reference | Schema | null;
142
- dependentSchemas?: {
143
- [key: string]: Reference | Schema;
144
- } | null;
145
- prefixItems?: (Reference | Schema)[] | null;
146
- items?: Reference | Schema | null;
147
- contains?: Reference | Schema | null;
148
- properties?: {
149
- [key: string]: Reference | Schema;
150
- } | null;
151
- patternProperties?: {
152
- [key: string]: Reference | Schema;
153
- } | null;
154
- additionalProperties?: Reference | Schema | boolean | null;
155
- propertyNames?: Reference | Schema | null;
156
- unevaluatedItems?: Reference | Schema | null;
157
- unevaluatedProperties?: Reference | Schema | null;
158
- "type"?: DataType | DataType[] | null;
159
- "enum"?: any[] | null;
160
- "const"?: any | null;
161
- multipleOf?: number | null;
162
- maximum?: number | null;
163
- exclusiveMaximum?: number | null;
164
- minimum?: number | null;
165
- exclusiveMinimum?: number | null;
166
- maxLength?: number | null;
167
- minLength?: number | null;
168
- pattern?: string | null;
169
- maxItems?: number | null;
170
- minItems?: number | null;
171
- uniqueItems?: boolean | null;
172
- maxContains?: number | null;
173
- minContains?: number | null;
174
- maxProperties?: number | null;
175
- minProperties?: number | null;
176
- required?: string[] | null;
177
- dependentRequired?: {
178
- [key: string]: string[];
179
- } | null;
180
- format?: string | null;
181
- contentEncoding?: string | null;
182
- contentMediaType?: string | null;
183
- contentSchema?: Reference | Schema | null;
184
- title?: string | null;
185
- description?: string | null;
186
- "default"?: any | null;
187
- deprecated?: boolean | null;
188
- readOnly?: boolean | null;
189
- writeOnly?: boolean | null;
190
- discriminator?: Discriminator | null;
191
- xml?: Xml | null;
192
- externalDocs?: ExternalDocumentation | null;
193
- [key: string]: any;
194
- };
195
- export type Header = {
196
- description?: string | null;
197
- required?: boolean;
198
- deprecated?: boolean;
199
- style?: string | null;
200
- explode?: boolean | null;
201
- schema?: Reference | Schema | null;
202
- content?: {
203
- [key: string]: MediaType;
204
- } | null;
205
- [key: string]: any;
206
- };
207
- export type Encoding = {
208
- contentType?: string | null;
209
- headers?: {
210
- [key: string]: Header | Reference;
211
- } | null;
212
- style?: string | null;
213
- explode?: boolean | null;
214
- allowReserved?: boolean;
215
- [key: string]: any;
216
- };
217
- export type MediaType = {
218
- schema?: Reference | Schema | null;
219
- encoding?: {
220
- [key: string]: Encoding;
221
- } | null;
222
- [key: string]: any;
223
- };
224
- export type ParameterLocation = "query" | "header" | "path" | "cookie";
225
- export type Parameter = {
226
- description?: string | null;
227
- required?: boolean;
228
- deprecated?: boolean;
229
- style?: string | null;
230
- explode?: boolean | null;
231
- schema?: Reference | Schema | null;
232
- content?: {
233
- [key: string]: MediaType;
234
- } | null;
235
- name: string;
236
- "in": ParameterLocation;
237
- allowEmptyValue?: boolean;
238
- allowReserved?: boolean;
239
- [key: string]: any;
240
- };
241
- export type RequestBody = {
242
- description?: string | null;
243
- content: {
244
- [key: string]: MediaType;
245
- };
246
- required?: boolean;
247
- [key: string]: any;
248
- };
141
+ export type JsonValue = any;
249
142
  export type CustomToolRequest = {
250
143
  /** Tool name (up to 256 characters, required) */
251
144
  name: string;
@@ -256,9 +149,9 @@ export type CustomToolRequest = {
256
149
  /** Endpoint URL (required, must use https schema) */
257
150
  url: string;
258
151
  /** Dict of parameters (optional) */
259
- parameters?: Parameter[] | null;
152
+ parameters?: JsonValue[] | null;
260
153
  /** Dict of request body (optional) */
261
- request_body?: RequestBody | null;
154
+ request_body?: JsonValue | null;
262
155
  /** Response transformation (optional) */
263
156
  response_transformation?: string | null;
264
157
  };
@@ -290,10 +183,23 @@ export type AssignToolsToAgentRequest = {
290
183
  builtin_tool_ids?: string[] | null;
291
184
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
292
185
  sub_agents_ids?: string[] | null;
186
+ mcp_toolkit_ids?: string[] | null;
187
+ };
188
+ export type ToolkitMcpResponse = {
189
+ id?: string | null;
190
+ name?: string | null;
191
+ description?: string | null;
192
+ avatar?: string | null;
193
+ visibility_level?: string | null;
194
+ secret_id?: string | null;
195
+ secrets?: string[] | null;
196
+ url?: string | null;
197
+ toolkit_type?: ToolkitType | null;
293
198
  };
294
199
  export type AgentToolsResponse = {
295
200
  builtin_toolkits?: BuiltinToolkitResponse[];
296
201
  custom_toolkits?: CustomToolkitResponse[];
202
+ mcp_toolkits?: ToolkitMcpResponse[];
297
203
  };
298
204
  export type SchemaEnum = "OPENAI";
299
205
  export type FunctionParameter = {
@@ -323,6 +229,8 @@ export type Function = {
323
229
  strict: boolean;
324
230
  };
325
231
  export type OpenAiTool = {
232
+ /** Unique identifier for the tool */
233
+ id?: string | null;
326
234
  /** The type of the tool; must be 'function' */
327
235
  "type": "function";
328
236
  /** The function associated with this tool */
@@ -371,6 +279,7 @@ export type KnowledgeSourcesConfigRequest = {
371
279
  };
372
280
  export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
373
281
  export type AgentMemory = "vector" | "buffer";
282
+ export type PlannerType = "simple" | "tool_oriented";
374
283
  export type NewAgentRequest = {
375
284
  /** LLM model name */
376
285
  model_name?: string | null;
@@ -394,6 +303,7 @@ export type NewAgentRequest = {
394
303
  builtin_tools_ids?: string[];
395
304
  /** Custom tools to assign to the agent */
396
305
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
306
+ mcp_toolkit_ids?: string[] | null;
397
307
  sub_agents_ids?: string[] | null;
398
308
  detail_mode?: boolean;
399
309
  structured_output?: string | null;
@@ -406,6 +316,10 @@ export type NewAgentRequest = {
406
316
  memory?: AgentMemory;
407
317
  /** Available models for this particular agent */
408
318
  available_models_ids?: string[];
319
+ /** Agent planner type */
320
+ planner_type?: PlannerType | null;
321
+ /** Maximum number of LLM interactions allowed for the agent when using simple planner */
322
+ max_llm_interactions?: number | null;
409
323
  };
410
324
  export type SearchAgentsRequest = {
411
325
  /** Agent ids to filter for */
@@ -515,10 +429,38 @@ export type CustomToolkitDto = {
515
429
  visibility_level: VisibilityLevelEnum;
516
430
  creator_name: string;
517
431
  is_usable_by_others: boolean;
432
+ url: string | null;
433
+ toolkit_type: ToolkitType | null;
434
+ };
435
+ export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
436
+ export type SecretDto = {
437
+ id: string;
438
+ scope?: SecretScope | null;
439
+ };
440
+ export type Function2 = {
441
+ name: string;
442
+ description: string;
443
+ parameters: {
444
+ [key: string]: any;
445
+ };
446
+ strict?: boolean;
447
+ };
448
+ export type ToolkitMcpdto = {
449
+ secrets: SecretDto[] | null;
450
+ name: string;
451
+ description?: string | null;
452
+ avatar?: string | null;
453
+ visibility_level?: VisibilityLevelEnum;
454
+ id?: string | null;
455
+ url?: string | null;
456
+ tools?: Function2[] | null;
457
+ /** Toolkit type */
458
+ toolkit_type?: ToolkitType | null;
518
459
  };
519
460
  export type AgentToolsDto = {
520
461
  builtin_toolkits?: BuiltinToolkitDto[];
521
462
  custom_toolkits?: CustomToolkitDto[];
463
+ mcp_toolkits?: ToolkitMcpdto[];
522
464
  };
523
465
  export type LlmSettingsModel = {
524
466
  property_key?: string | null;
@@ -589,6 +531,7 @@ export type UpdateAgentRequest = {
589
531
  sub_agents_ids?: string[];
590
532
  /** Custom tools to assign to the agent */
591
533
  custom_tools?: AssignCustomToolsAgentRequest[] | null;
534
+ mcp_toolkit_ids?: string[] | null;
592
535
  detail_mode?: boolean | null;
593
536
  structured_output?: string | null;
594
537
  llm_settings?: {
@@ -600,6 +543,10 @@ export type UpdateAgentRequest = {
600
543
  available_models_ids?: string[];
601
544
  /** Agent memory */
602
545
  memory?: AgentMemory;
546
+ /** Agent planner type */
547
+ planner_type?: PlannerType;
548
+ /** Maximum number of LLM interactions allowed for the agent when using simple planner */
549
+ max_llm_interactions?: number | null;
603
550
  };
604
551
  export type ForkAgentRequest = {
605
552
  /** Agent slug to fork */
@@ -686,6 +633,34 @@ export type ToolkitForkResponse = {
686
633
  /** List of toolkit IDs that failed to fork */
687
634
  error_ids: string[];
688
635
  };
636
+ export type PaginatedResponseCustomToolkitSimpleResponse = {
637
+ total_pages: number;
638
+ items: CustomToolkitSimpleResponse[];
639
+ };
640
+ export type ParametersModel = {
641
+ properties: {
642
+ [key: string]: {
643
+ [key: string]: any;
644
+ };
645
+ };
646
+ required?: string[] | null;
647
+ "type": string;
648
+ additionalProperties: boolean;
649
+ };
650
+ export type FunctionModel = {
651
+ name: string;
652
+ description: string;
653
+ parameters: ParametersModel;
654
+ strict?: boolean;
655
+ };
656
+ export type FunctionItem = {
657
+ "type": string;
658
+ "function": FunctionModel;
659
+ };
660
+ export type FunctionsResponse = {
661
+ last_update: string;
662
+ tools: FunctionItem[];
663
+ };
689
664
  /**
690
665
  * Health Check
691
666
  */
@@ -780,13 +755,13 @@ export function listToolkitsV1ToolkitsGet({ visibility, xAccountId, xUsername, x
780
755
  /**
781
756
  * Create Toolkit
782
757
  */
783
- export function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitRequest }: {
758
+ export function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
784
759
  xAccountId?: string | null;
785
760
  xUsername?: string | null;
786
761
  xUserId?: string | null;
787
762
  xUserFullName?: string | null;
788
763
  authorization: string;
789
- toolkitRequest: ToolkitRequest;
764
+ body: ToolkitRequest | ToolkitMcpRequest;
790
765
  }, opts?: Oazapfts.RequestOpts) {
791
766
  return oazapfts.ok(oazapfts.fetchJson<{
792
767
  status: 201;
@@ -799,7 +774,7 @@ export function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xU
799
774
  }>("/v1/toolkits", oazapfts.json({
800
775
  ...opts,
801
776
  method: "POST",
802
- body: toolkitRequest,
777
+ body,
803
778
  headers: oazapfts.mergeHeaders(opts?.headers, {
804
779
  "x-account-id": xAccountId,
805
780
  "x-username": xUsername,
@@ -842,14 +817,14 @@ export function getToolkitV1ToolkitsToolkitIdGet({ toolkitId, xAccountId, xUsern
842
817
  /**
843
818
  * Update Toolkit
844
819
  */
845
- export function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, toolkitUpdateRequest }: {
820
+ export function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
846
821
  toolkitId: string;
847
822
  xAccountId?: string | null;
848
823
  xUsername?: string | null;
849
824
  xUserId?: string | null;
850
825
  xUserFullName?: string | null;
851
826
  authorization: string;
852
- toolkitUpdateRequest: ToolkitUpdateRequest;
827
+ body: ToolkitUpdateRequest | ToolkitMcpUpdateRequest;
853
828
  }, opts?: Oazapfts.RequestOpts) {
854
829
  return oazapfts.ok(oazapfts.fetchJson<{
855
830
  status: 204;
@@ -861,7 +836,7 @@ export function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, x
861
836
  }>(`/v1/toolkits/${encodeURIComponent(toolkitId)}`, oazapfts.json({
862
837
  ...opts,
863
838
  method: "PATCH",
864
- body: toolkitUpdateRequest,
839
+ body,
865
840
  headers: oazapfts.mergeHeaders(opts?.headers, {
866
841
  "x-account-id": xAccountId,
867
842
  "x-username": xUsername,
@@ -2186,3 +2161,75 @@ export function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccountId, xU
2186
2161
  })
2187
2162
  })));
2188
2163
  }
2164
+ /**
2165
+ * List Toolkits
2166
+ */
2167
+ export function listToolkitsV2ToolkitsGet({ name, visibilityList, size, page, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
2168
+ name?: string | null;
2169
+ visibilityList?: VisibilityLevelEnum[];
2170
+ size?: number;
2171
+ page?: number;
2172
+ order?: OrderEnum | null;
2173
+ xAccountId?: string | null;
2174
+ xUsername?: string | null;
2175
+ xUserId?: string | null;
2176
+ xUserFullName?: string | null;
2177
+ authorization: string;
2178
+ }, opts?: Oazapfts.RequestOpts) {
2179
+ return oazapfts.ok(oazapfts.fetchJson<{
2180
+ status: 200;
2181
+ data: PaginatedResponseCustomToolkitSimpleResponse;
2182
+ } | {
2183
+ status: 404;
2184
+ } | {
2185
+ status: 422;
2186
+ data: HttpValidationError;
2187
+ }>(`/v2/toolkits${QS.query(QS.explode({
2188
+ name,
2189
+ visibility_list: visibilityList,
2190
+ size,
2191
+ page,
2192
+ order
2193
+ }))}`, {
2194
+ ...opts,
2195
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2196
+ "x-account-id": xAccountId,
2197
+ "x-username": xUsername,
2198
+ "x-user-id": xUserId,
2199
+ "x-user-full-name": xUserFullName,
2200
+ authorization
2201
+ })
2202
+ }));
2203
+ }
2204
+ /**
2205
+ * List Mcp Tools
2206
+ */
2207
+ export function listMcpToolsV1McpToolsToolkitIdGet({ toolkitId, cacheControl, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
2208
+ toolkitId: string;
2209
+ cacheControl?: string | null;
2210
+ xAccountId?: string | null;
2211
+ xUsername?: string | null;
2212
+ xUserId?: string | null;
2213
+ xUserFullName?: string | null;
2214
+ authorization: string;
2215
+ }, opts?: Oazapfts.RequestOpts) {
2216
+ return oazapfts.ok(oazapfts.fetchJson<{
2217
+ status: 200;
2218
+ data: FunctionsResponse;
2219
+ } | {
2220
+ status: 404;
2221
+ } | {
2222
+ status: 422;
2223
+ data: HttpValidationError;
2224
+ }>(`/v1/mcp-tools/${encodeURIComponent(toolkitId)}`, {
2225
+ ...opts,
2226
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2227
+ "cache-control": cacheControl,
2228
+ "x-account-id": xAccountId,
2229
+ "x-username": xUsername,
2230
+ "x-user-id": xUserId,
2231
+ "x-user-full-name": xUserFullName,
2232
+ authorization
2233
+ })
2234
+ }));
2235
+ }