langflow-mcp-server 2.0.0 → 3.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.
- package/.env.example +5 -0
- package/LICENSE +1 -1
- package/README.md +91 -8
- package/dist/__tests__/fixtures/advanced-execution.d.ts +5 -1
- package/dist/__tests__/fixtures/advanced-execution.d.ts.map +1 -1
- package/dist/__tests__/fixtures/advanced-execution.js +43 -1
- package/dist/__tests__/fixtures/advanced-execution.js.map +1 -1
- package/dist/mcp/index.js +8 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/server-consolidated.d.ts +28 -0
- package/dist/mcp/server-consolidated.d.ts.map +1 -0
- package/dist/mcp/server-consolidated.js +740 -0
- package/dist/mcp/server-consolidated.js.map +1 -0
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +105 -21
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools-consolidated.d.ts +3 -0
- package/dist/mcp/tools-consolidated.d.ts.map +1 -0
- package/dist/mcp/tools-consolidated.js +600 -0
- package/dist/mcp/tools-consolidated.js.map +1 -0
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +95 -8
- package/dist/mcp/tools.js.map +1 -1
- package/dist/mcp/validation-consolidated.d.ts +404 -0
- package/dist/mcp/validation-consolidated.d.ts.map +1 -0
- package/dist/mcp/validation-consolidated.js +374 -0
- package/dist/mcp/validation-consolidated.js.map +1 -0
- package/dist/mcp/validation.d.ts +20 -1
- package/dist/mcp/validation.d.ts.map +1 -1
- package/dist/mcp/validation.js +21 -5
- package/dist/mcp/validation.js.map +1 -1
- package/dist/services/langflow-client.d.ts +5 -2
- package/dist/services/langflow-client.d.ts.map +1 -1
- package/dist/services/langflow-client.js +93 -62
- package/dist/services/langflow-client.js.map +1 -1
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.d.ts.map +1 -1
- package/healthcheck.js +41 -0
- package/package.json +7 -6
|
@@ -0,0 +1,404 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FlowToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
folder_id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
action: z.ZodLiteral<"list">;
|
|
7
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8
|
+
action: z.ZodLiteral<"get">;
|
|
9
|
+
flow_id: z.ZodString;
|
|
10
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
+
action: z.ZodLiteral<"create">;
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15
|
+
folder_id: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
+
action: z.ZodLiteral<"update">;
|
|
18
|
+
flow_id: z.ZodString;
|
|
19
|
+
name: z.ZodOptional<z.ZodString>;
|
|
20
|
+
description: z.ZodOptional<z.ZodString>;
|
|
21
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
|
+
folder_id: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
action: z.ZodLiteral<"delete">;
|
|
25
|
+
flow_id: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
action: z.ZodLiteral<"delete_many">;
|
|
28
|
+
flow_ids: z.ZodArray<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
action: z.ZodLiteral<"batch_create">;
|
|
31
|
+
flows: z.ZodArray<z.ZodObject<{
|
|
32
|
+
name: z.ZodString;
|
|
33
|
+
description: z.ZodOptional<z.ZodString>;
|
|
34
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
action: z.ZodLiteral<"download">;
|
|
38
|
+
flow_ids: z.ZodArray<z.ZodString>;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
action: z.ZodLiteral<"upload">;
|
|
41
|
+
file: z.ZodObject<{
|
|
42
|
+
name: z.ZodString;
|
|
43
|
+
content: z.ZodString;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
action: z.ZodLiteral<"get_public">;
|
|
47
|
+
flow_id: z.ZodString;
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
+
action: z.ZodLiteral<"get_examples">;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
action: z.ZodLiteral<"get_starters">;
|
|
52
|
+
}, z.core.$strip>], "action">;
|
|
53
|
+
export declare const FlowExecutionToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
54
|
+
action: z.ZodLiteral<"run">;
|
|
55
|
+
flow_id_or_name: z.ZodString;
|
|
56
|
+
input_value: z.ZodOptional<z.ZodString>;
|
|
57
|
+
output_type: z.ZodOptional<z.ZodString>;
|
|
58
|
+
input_type: z.ZodOptional<z.ZodString>;
|
|
59
|
+
tweaks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
|
+
stream: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
action: z.ZodLiteral<"run_advanced">;
|
|
63
|
+
flow_id_or_name: z.ZodString;
|
|
64
|
+
input_value: z.ZodOptional<z.ZodString>;
|
|
65
|
+
input_type: z.ZodOptional<z.ZodString>;
|
|
66
|
+
output_type: z.ZodOptional<z.ZodString>;
|
|
67
|
+
output_component: z.ZodOptional<z.ZodString>;
|
|
68
|
+
tweaks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
69
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
70
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
71
|
+
stream: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
action: z.ZodLiteral<"run_session">;
|
|
74
|
+
flow_id_or_name: z.ZodString;
|
|
75
|
+
session_id: z.ZodString;
|
|
76
|
+
input_value: z.ZodOptional<z.ZodString>;
|
|
77
|
+
input_type: z.ZodOptional<z.ZodString>;
|
|
78
|
+
output_type: z.ZodOptional<z.ZodString>;
|
|
79
|
+
output_component: z.ZodOptional<z.ZodString>;
|
|
80
|
+
tweaks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
81
|
+
stream: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
action: z.ZodLiteral<"webhook">;
|
|
84
|
+
flow_id_or_name: z.ZodString;
|
|
85
|
+
input_value: z.ZodOptional<z.ZodString>;
|
|
86
|
+
tweaks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
action: z.ZodLiteral<"process">;
|
|
89
|
+
flow_id: z.ZodString;
|
|
90
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
|
+
tweaks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
92
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
|
+
action: z.ZodLiteral<"predict">;
|
|
94
|
+
flow_id: z.ZodString;
|
|
95
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
96
|
+
tweaks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
+
}, z.core.$strip>], "action">;
|
|
98
|
+
export declare const BuildToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
+
action: z.ZodLiteral<"start">;
|
|
100
|
+
flow_id: z.ZodString;
|
|
101
|
+
flow_name: z.ZodOptional<z.ZodString>;
|
|
102
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
103
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
104
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
stop_component_id: z.ZodOptional<z.ZodString>;
|
|
106
|
+
start_component_id: z.ZodOptional<z.ZodString>;
|
|
107
|
+
log_builds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
108
|
+
event_delivery: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
polling: "polling";
|
|
110
|
+
streaming: "streaming";
|
|
111
|
+
direct: "direct";
|
|
112
|
+
}>>>;
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
+
action: z.ZodLiteral<"status">;
|
|
115
|
+
job_id: z.ZodString;
|
|
116
|
+
event_delivery: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
polling: "polling";
|
|
118
|
+
streaming: "streaming";
|
|
119
|
+
direct: "direct";
|
|
120
|
+
}>>>;
|
|
121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
122
|
+
action: z.ZodLiteral<"cancel">;
|
|
123
|
+
job_id: z.ZodString;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
action: z.ZodLiteral<"vertices">;
|
|
126
|
+
flow_id: z.ZodString;
|
|
127
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
128
|
+
stop_component_id: z.ZodOptional<z.ZodString>;
|
|
129
|
+
start_component_id: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
action: z.ZodLiteral<"get_vertex">;
|
|
132
|
+
flow_id: z.ZodString;
|
|
133
|
+
vertex_id: z.ZodString;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
action: z.ZodLiteral<"stream_vertex">;
|
|
136
|
+
flow_id: z.ZodString;
|
|
137
|
+
vertex_id: z.ZodString;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
action: z.ZodLiteral<"task_status">;
|
|
140
|
+
task_id: z.ZodString;
|
|
141
|
+
}, z.core.$strip>], "action">;
|
|
142
|
+
export declare const FolderToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
143
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
action: z.ZodLiteral<"list">;
|
|
146
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
147
|
+
action: z.ZodLiteral<"get">;
|
|
148
|
+
folder_id: z.ZodString;
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
150
|
+
action: z.ZodLiteral<"create">;
|
|
151
|
+
name: z.ZodString;
|
|
152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
153
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
action: z.ZodLiteral<"update">;
|
|
156
|
+
folder_id: z.ZodString;
|
|
157
|
+
name: z.ZodOptional<z.ZodString>;
|
|
158
|
+
description: z.ZodOptional<z.ZodString>;
|
|
159
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
161
|
+
action: z.ZodLiteral<"delete">;
|
|
162
|
+
folder_id: z.ZodString;
|
|
163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
164
|
+
action: z.ZodLiteral<"download">;
|
|
165
|
+
folder_id: z.ZodString;
|
|
166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
+
action: z.ZodLiteral<"upload">;
|
|
168
|
+
file_content: z.ZodString;
|
|
169
|
+
file_name: z.ZodString;
|
|
170
|
+
}, z.core.$strip>], "action">;
|
|
171
|
+
export declare const ProjectToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
172
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
173
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
action: z.ZodLiteral<"list">;
|
|
175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
176
|
+
action: z.ZodLiteral<"get">;
|
|
177
|
+
project_id: z.ZodString;
|
|
178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
+
action: z.ZodLiteral<"create">;
|
|
180
|
+
name: z.ZodString;
|
|
181
|
+
description: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
action: z.ZodLiteral<"update">;
|
|
184
|
+
project_id: z.ZodString;
|
|
185
|
+
name: z.ZodOptional<z.ZodString>;
|
|
186
|
+
description: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
action: z.ZodLiteral<"delete">;
|
|
189
|
+
project_id: z.ZodString;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
action: z.ZodLiteral<"download">;
|
|
192
|
+
project_id: z.ZodString;
|
|
193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
194
|
+
action: z.ZodLiteral<"upload">;
|
|
195
|
+
file: z.ZodObject<{
|
|
196
|
+
name: z.ZodString;
|
|
197
|
+
content: z.ZodString;
|
|
198
|
+
}, z.core.$strip>;
|
|
199
|
+
}, z.core.$strip>], "action">;
|
|
200
|
+
export declare const VariableToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
201
|
+
action: z.ZodLiteral<"list">;
|
|
202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
+
action: z.ZodLiteral<"create">;
|
|
204
|
+
name: z.ZodString;
|
|
205
|
+
value: z.ZodString;
|
|
206
|
+
type: z.ZodOptional<z.ZodString>;
|
|
207
|
+
default_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
action: z.ZodLiteral<"update">;
|
|
210
|
+
variable_id: z.ZodString;
|
|
211
|
+
name: z.ZodOptional<z.ZodString>;
|
|
212
|
+
value: z.ZodOptional<z.ZodString>;
|
|
213
|
+
type: z.ZodOptional<z.ZodString>;
|
|
214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
215
|
+
action: z.ZodLiteral<"delete">;
|
|
216
|
+
variable_id: z.ZodString;
|
|
217
|
+
}, z.core.$strip>], "action">;
|
|
218
|
+
export declare const KnowledgeBaseToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
219
|
+
action: z.ZodLiteral<"list">;
|
|
220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
221
|
+
action: z.ZodLiteral<"get">;
|
|
222
|
+
kb_name: z.ZodString;
|
|
223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
224
|
+
action: z.ZodLiteral<"delete">;
|
|
225
|
+
kb_name: z.ZodString;
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
+
action: z.ZodLiteral<"bulk_delete">;
|
|
228
|
+
kb_names: z.ZodArray<z.ZodString>;
|
|
229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
230
|
+
action: z.ZodLiteral<"upload">;
|
|
231
|
+
kb_name: z.ZodString;
|
|
232
|
+
file_content: z.ZodString;
|
|
233
|
+
file_name: z.ZodString;
|
|
234
|
+
}, z.core.$strip>], "action">;
|
|
235
|
+
export declare const FileToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
236
|
+
action: z.ZodLiteral<"list">;
|
|
237
|
+
flow_id: z.ZodString;
|
|
238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
239
|
+
action: z.ZodLiteral<"upload">;
|
|
240
|
+
flow_id: z.ZodString;
|
|
241
|
+
file_content: z.ZodString;
|
|
242
|
+
file_name: z.ZodString;
|
|
243
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
244
|
+
action: z.ZodLiteral<"download">;
|
|
245
|
+
flow_id: z.ZodString;
|
|
246
|
+
file_name: z.ZodString;
|
|
247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
248
|
+
action: z.ZodLiteral<"delete">;
|
|
249
|
+
flow_id: z.ZodString;
|
|
250
|
+
file_name: z.ZodString;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
action: z.ZodLiteral<"get_image">;
|
|
253
|
+
flow_id: z.ZodString;
|
|
254
|
+
file_name: z.ZodString;
|
|
255
|
+
}, z.core.$strip>], "action">;
|
|
256
|
+
export declare const MonitorToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
257
|
+
action: z.ZodLiteral<"get_builds">;
|
|
258
|
+
flow_id: z.ZodString;
|
|
259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
260
|
+
action: z.ZodLiteral<"delete_builds">;
|
|
261
|
+
flow_id: z.ZodString;
|
|
262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
263
|
+
action: z.ZodLiteral<"get_messages">;
|
|
264
|
+
flow_id: z.ZodOptional<z.ZodString>;
|
|
265
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
266
|
+
sender: z.ZodOptional<z.ZodString>;
|
|
267
|
+
sender_name: z.ZodOptional<z.ZodString>;
|
|
268
|
+
order_by: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
270
|
+
action: z.ZodLiteral<"get_message">;
|
|
271
|
+
message_id: z.ZodString;
|
|
272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
273
|
+
action: z.ZodLiteral<"delete_messages">;
|
|
274
|
+
message_ids: z.ZodArray<z.ZodString>;
|
|
275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
276
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
action: z.ZodLiteral<"get_sessions">;
|
|
279
|
+
flow_id: z.ZodOptional<z.ZodString>;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
+
action: z.ZodLiteral<"get_session_messages">;
|
|
282
|
+
session_id: z.ZodString;
|
|
283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
284
|
+
action: z.ZodLiteral<"migrate_session">;
|
|
285
|
+
session_id: z.ZodString;
|
|
286
|
+
new_session_id: z.ZodString;
|
|
287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
288
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
action: z.ZodLiteral<"get_transactions">;
|
|
291
|
+
flow_id: z.ZodString;
|
|
292
|
+
}, z.core.$strip>], "action">;
|
|
293
|
+
export declare const UserToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
294
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
295
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
action: z.ZodLiteral<"list">;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
298
|
+
action: z.ZodLiteral<"get">;
|
|
299
|
+
user_id: z.ZodString;
|
|
300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
301
|
+
action: z.ZodLiteral<"get_current">;
|
|
302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
action: z.ZodLiteral<"update">;
|
|
304
|
+
user_id: z.ZodString;
|
|
305
|
+
username: z.ZodOptional<z.ZodString>;
|
|
306
|
+
profile_image: z.ZodOptional<z.ZodString>;
|
|
307
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
308
|
+
is_superuser: z.ZodOptional<z.ZodBoolean>;
|
|
309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
310
|
+
action: z.ZodLiteral<"reset_password">;
|
|
311
|
+
user_id: z.ZodString;
|
|
312
|
+
new_password: z.ZodString;
|
|
313
|
+
}, z.core.$strip>], "action">;
|
|
314
|
+
export declare const AuthToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
|
+
action: z.ZodLiteral<"login">;
|
|
316
|
+
username: z.ZodString;
|
|
317
|
+
password: z.ZodString;
|
|
318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
319
|
+
action: z.ZodLiteral<"auto_login">;
|
|
320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
321
|
+
action: z.ZodLiteral<"logout">;
|
|
322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
323
|
+
action: z.ZodLiteral<"refresh">;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
action: z.ZodLiteral<"list_keys">;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
action: z.ZodLiteral<"create_key">;
|
|
328
|
+
name: z.ZodString;
|
|
329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
330
|
+
action: z.ZodLiteral<"delete_key">;
|
|
331
|
+
api_key_id: z.ZodString;
|
|
332
|
+
}, z.core.$strip>], "action">;
|
|
333
|
+
export declare const StoreToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
334
|
+
action: z.ZodLiteral<"list_components">;
|
|
335
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
336
|
+
action: z.ZodLiteral<"list_custom">;
|
|
337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
338
|
+
action: z.ZodLiteral<"create_custom">;
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
code: z.ZodString;
|
|
341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
342
|
+
action: z.ZodLiteral<"check">;
|
|
343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
+
action: z.ZodLiteral<"check_key">;
|
|
345
|
+
api_key: z.ZodString;
|
|
346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
347
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
348
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
349
|
+
action: z.ZodLiteral<"list_store">;
|
|
350
|
+
search: z.ZodOptional<z.ZodString>;
|
|
351
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
353
|
+
action: z.ZodLiteral<"get_store">;
|
|
354
|
+
component_id: z.ZodString;
|
|
355
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
356
|
+
action: z.ZodLiteral<"list_tags">;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
+
action: z.ZodLiteral<"get_likes">;
|
|
359
|
+
}, z.core.$strip>], "action">;
|
|
360
|
+
export declare const RegistrationToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
361
|
+
action: z.ZodLiteral<"get">;
|
|
362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
+
action: z.ZodLiteral<"register">;
|
|
364
|
+
email: z.ZodString;
|
|
365
|
+
}, z.core.$strip>], "action">;
|
|
366
|
+
export declare const ValidationToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
367
|
+
action: z.ZodLiteral<"code">;
|
|
368
|
+
code: z.ZodString;
|
|
369
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
370
|
+
action: z.ZodLiteral<"prompt">;
|
|
371
|
+
prompt: z.ZodString;
|
|
372
|
+
}, z.core.$strip>], "action">;
|
|
373
|
+
export declare const SystemToolSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
374
|
+
action: z.ZodLiteral<"health">;
|
|
375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
376
|
+
action: z.ZodLiteral<"version">;
|
|
377
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
378
|
+
action: z.ZodLiteral<"logs">;
|
|
379
|
+
stream: z.ZodOptional<z.ZodBoolean>;
|
|
380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
381
|
+
action: z.ZodLiteral<"list_pictures">;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
action: z.ZodLiteral<"get_picture">;
|
|
384
|
+
folder_name: z.ZodString;
|
|
385
|
+
file_name: z.ZodString;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
action: z.ZodLiteral<"list_voices">;
|
|
388
|
+
}, z.core.$strip>], "action">;
|
|
389
|
+
export type FlowToolInput = z.infer<typeof FlowToolSchema>;
|
|
390
|
+
export type FlowExecutionToolInput = z.infer<typeof FlowExecutionToolSchema>;
|
|
391
|
+
export type BuildToolInput = z.infer<typeof BuildToolSchema>;
|
|
392
|
+
export type FolderToolInput = z.infer<typeof FolderToolSchema>;
|
|
393
|
+
export type ProjectToolInput = z.infer<typeof ProjectToolSchema>;
|
|
394
|
+
export type VariableToolInput = z.infer<typeof VariableToolSchema>;
|
|
395
|
+
export type KnowledgeBaseToolInput = z.infer<typeof KnowledgeBaseToolSchema>;
|
|
396
|
+
export type FileToolInput = z.infer<typeof FileToolSchema>;
|
|
397
|
+
export type MonitorToolInput = z.infer<typeof MonitorToolSchema>;
|
|
398
|
+
export type UserToolInput = z.infer<typeof UserToolSchema>;
|
|
399
|
+
export type AuthToolInput = z.infer<typeof AuthToolSchema>;
|
|
400
|
+
export type StoreToolInput = z.infer<typeof StoreToolSchema>;
|
|
401
|
+
export type RegistrationToolInput = z.infer<typeof RegistrationToolSchema>;
|
|
402
|
+
export type ValidationToolInput = z.infer<typeof ValidationToolSchema>;
|
|
403
|
+
export type SystemToolInput = z.infer<typeof SystemToolSchema>;
|
|
404
|
+
//# sourceMappingURL=validation-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