@apicity/anthropic 0.1.0-alpha.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.
@@ -0,0 +1,2995 @@
1
+ import { z } from "zod";
2
+ export declare const AnthropicCacheControlSchema: z.ZodObject<{
3
+ type: z.ZodLiteral<"ephemeral">;
4
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ type: "ephemeral";
7
+ ttl?: "5m" | "1h" | undefined;
8
+ }, {
9
+ type: "ephemeral";
10
+ ttl?: "5m" | "1h" | undefined;
11
+ }>;
12
+ export declare const AnthropicTextBlockSchema: z.ZodObject<{
13
+ type: z.ZodLiteral<"text">;
14
+ text: z.ZodString;
15
+ cache_control: z.ZodOptional<z.ZodObject<{
16
+ type: z.ZodLiteral<"ephemeral">;
17
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ type: "ephemeral";
20
+ ttl?: "5m" | "1h" | undefined;
21
+ }, {
22
+ type: "ephemeral";
23
+ ttl?: "5m" | "1h" | undefined;
24
+ }>>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "text";
27
+ text: string;
28
+ cache_control?: {
29
+ type: "ephemeral";
30
+ ttl?: "5m" | "1h" | undefined;
31
+ } | undefined;
32
+ }, {
33
+ type: "text";
34
+ text: string;
35
+ cache_control?: {
36
+ type: "ephemeral";
37
+ ttl?: "5m" | "1h" | undefined;
38
+ } | undefined;
39
+ }>;
40
+ export declare const AnthropicImageSourceSchema: z.ZodObject<{
41
+ type: z.ZodLiteral<"base64">;
42
+ media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
43
+ data: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ type: "base64";
46
+ media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
47
+ data: string;
48
+ }, {
49
+ type: "base64";
50
+ media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
51
+ data: string;
52
+ }>;
53
+ export declare const AnthropicImageBlockSchema: z.ZodObject<{
54
+ type: z.ZodLiteral<"image">;
55
+ source: z.ZodObject<{
56
+ type: z.ZodLiteral<"base64">;
57
+ media_type: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
58
+ data: z.ZodString;
59
+ }, "strip", z.ZodTypeAny, {
60
+ type: "base64";
61
+ media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
62
+ data: string;
63
+ }, {
64
+ type: "base64";
65
+ media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
66
+ data: string;
67
+ }>;
68
+ cache_control: z.ZodOptional<z.ZodObject<{
69
+ type: z.ZodLiteral<"ephemeral">;
70
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ type: "ephemeral";
73
+ ttl?: "5m" | "1h" | undefined;
74
+ }, {
75
+ type: "ephemeral";
76
+ ttl?: "5m" | "1h" | undefined;
77
+ }>>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ type: "image";
80
+ source: {
81
+ type: "base64";
82
+ media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
83
+ data: string;
84
+ };
85
+ cache_control?: {
86
+ type: "ephemeral";
87
+ ttl?: "5m" | "1h" | undefined;
88
+ } | undefined;
89
+ }, {
90
+ type: "image";
91
+ source: {
92
+ type: "base64";
93
+ media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
94
+ data: string;
95
+ };
96
+ cache_control?: {
97
+ type: "ephemeral";
98
+ ttl?: "5m" | "1h" | undefined;
99
+ } | undefined;
100
+ }>;
101
+ export declare const AnthropicDocumentSourceSchema: z.ZodObject<{
102
+ type: z.ZodLiteral<"base64">;
103
+ media_type: z.ZodLiteral<"application/pdf">;
104
+ data: z.ZodString;
105
+ }, "strip", z.ZodTypeAny, {
106
+ type: "base64";
107
+ media_type: "application/pdf";
108
+ data: string;
109
+ }, {
110
+ type: "base64";
111
+ media_type: "application/pdf";
112
+ data: string;
113
+ }>;
114
+ export declare const AnthropicDocumentBlockSchema: z.ZodObject<{
115
+ type: z.ZodLiteral<"document">;
116
+ source: z.ZodObject<{
117
+ type: z.ZodLiteral<"base64">;
118
+ media_type: z.ZodLiteral<"application/pdf">;
119
+ data: z.ZodString;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: "base64";
122
+ media_type: "application/pdf";
123
+ data: string;
124
+ }, {
125
+ type: "base64";
126
+ media_type: "application/pdf";
127
+ data: string;
128
+ }>;
129
+ cache_control: z.ZodOptional<z.ZodObject<{
130
+ type: z.ZodLiteral<"ephemeral">;
131
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ type: "ephemeral";
134
+ ttl?: "5m" | "1h" | undefined;
135
+ }, {
136
+ type: "ephemeral";
137
+ ttl?: "5m" | "1h" | undefined;
138
+ }>>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ type: "document";
141
+ source: {
142
+ type: "base64";
143
+ media_type: "application/pdf";
144
+ data: string;
145
+ };
146
+ cache_control?: {
147
+ type: "ephemeral";
148
+ ttl?: "5m" | "1h" | undefined;
149
+ } | undefined;
150
+ }, {
151
+ type: "document";
152
+ source: {
153
+ type: "base64";
154
+ media_type: "application/pdf";
155
+ data: string;
156
+ };
157
+ cache_control?: {
158
+ type: "ephemeral";
159
+ ttl?: "5m" | "1h" | undefined;
160
+ } | undefined;
161
+ }>;
162
+ export declare const AnthropicToolUseBlockSchema: z.ZodObject<{
163
+ type: z.ZodLiteral<"tool_use">;
164
+ id: z.ZodString;
165
+ name: z.ZodString;
166
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ type: "tool_use";
169
+ id: string;
170
+ name: string;
171
+ input: Record<string, unknown>;
172
+ }, {
173
+ type: "tool_use";
174
+ id: string;
175
+ name: string;
176
+ input: Record<string, unknown>;
177
+ }>;
178
+ export declare const AnthropicToolResultBlockSchema: z.ZodObject<{
179
+ type: z.ZodLiteral<"tool_result">;
180
+ tool_use_id: z.ZodString;
181
+ content: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">]>>;
182
+ is_error: z.ZodOptional<z.ZodBoolean>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ type: "tool_result";
185
+ tool_use_id: string;
186
+ content?: string | any[] | undefined;
187
+ is_error?: boolean | undefined;
188
+ }, {
189
+ type: "tool_result";
190
+ tool_use_id: string;
191
+ content?: string | any[] | undefined;
192
+ is_error?: boolean | undefined;
193
+ }>;
194
+ export declare const AnthropicThinkingBlockSchema: z.ZodObject<{
195
+ type: z.ZodLiteral<"thinking">;
196
+ thinking: z.ZodString;
197
+ signature: z.ZodString;
198
+ }, "strip", z.ZodTypeAny, {
199
+ type: "thinking";
200
+ thinking: string;
201
+ signature: string;
202
+ }, {
203
+ type: "thinking";
204
+ thinking: string;
205
+ signature: string;
206
+ }>;
207
+ export declare const AnthropicRedactedThinkingBlockSchema: z.ZodObject<{
208
+ type: z.ZodLiteral<"redacted_thinking">;
209
+ data: z.ZodString;
210
+ }, "strip", z.ZodTypeAny, {
211
+ type: "redacted_thinking";
212
+ data: string;
213
+ }, {
214
+ type: "redacted_thinking";
215
+ data: string;
216
+ }>;
217
+ export declare const AnthropicServerToolUseBlockSchema: z.ZodObject<{
218
+ type: z.ZodLiteral<"server_tool_use">;
219
+ id: z.ZodString;
220
+ name: z.ZodString;
221
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ type: "server_tool_use";
224
+ id: string;
225
+ name: string;
226
+ input: Record<string, unknown>;
227
+ }, {
228
+ type: "server_tool_use";
229
+ id: string;
230
+ name: string;
231
+ input: Record<string, unknown>;
232
+ }>;
233
+ export declare const AnthropicServerToolResultBlockSchema: z.ZodObject<{
234
+ type: z.ZodLiteral<"server_tool_result">;
235
+ tool_use_id: z.ZodString;
236
+ content: z.ZodArray<z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>, "many">;
237
+ }, "strip", z.ZodTypeAny, {
238
+ type: "server_tool_result";
239
+ tool_use_id: string;
240
+ content: any[];
241
+ }, {
242
+ type: "server_tool_result";
243
+ tool_use_id: string;
244
+ content: any[];
245
+ }>;
246
+ export declare const AnthropicFileBlockSchema: z.ZodObject<{
247
+ type: z.ZodLiteral<"file">;
248
+ source: z.ZodObject<{
249
+ type: z.ZodLiteral<"file">;
250
+ file_id: z.ZodString;
251
+ }, "strip", z.ZodTypeAny, {
252
+ type: "file";
253
+ file_id: string;
254
+ }, {
255
+ type: "file";
256
+ file_id: string;
257
+ }>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ type: "file";
260
+ source: {
261
+ type: "file";
262
+ file_id: string;
263
+ };
264
+ }, {
265
+ type: "file";
266
+ source: {
267
+ type: "file";
268
+ file_id: string;
269
+ };
270
+ }>;
271
+ export declare const AnthropicContentBlockSchema: z.ZodType;
272
+ export declare const AnthropicMessageSchema: z.ZodObject<{
273
+ role: z.ZodEnum<["user", "assistant"]>;
274
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ content: string | any[];
277
+ role: "user" | "assistant";
278
+ }, {
279
+ content: string | any[];
280
+ role: "user" | "assistant";
281
+ }>;
282
+ export declare const AnthropicToolInputSchemaSchema: z.ZodObject<{
283
+ type: z.ZodLiteral<"object">;
284
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
285
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ type: "object";
288
+ properties?: Record<string, unknown> | undefined;
289
+ required?: string[] | undefined;
290
+ }, {
291
+ type: "object";
292
+ properties?: Record<string, unknown> | undefined;
293
+ required?: string[] | undefined;
294
+ }>;
295
+ export declare const AnthropicCustomToolSchema: z.ZodObject<{
296
+ type: z.ZodOptional<z.ZodLiteral<"custom">>;
297
+ name: z.ZodString;
298
+ description: z.ZodOptional<z.ZodString>;
299
+ input_schema: z.ZodObject<{
300
+ type: z.ZodLiteral<"object">;
301
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
302
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ type: "object";
305
+ properties?: Record<string, unknown> | undefined;
306
+ required?: string[] | undefined;
307
+ }, {
308
+ type: "object";
309
+ properties?: Record<string, unknown> | undefined;
310
+ required?: string[] | undefined;
311
+ }>;
312
+ cache_control: z.ZodOptional<z.ZodObject<{
313
+ type: z.ZodLiteral<"ephemeral">;
314
+ }, "strip", z.ZodTypeAny, {
315
+ type: "ephemeral";
316
+ }, {
317
+ type: "ephemeral";
318
+ }>>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ name: string;
321
+ input_schema: {
322
+ type: "object";
323
+ properties?: Record<string, unknown> | undefined;
324
+ required?: string[] | undefined;
325
+ };
326
+ type?: "custom" | undefined;
327
+ cache_control?: {
328
+ type: "ephemeral";
329
+ } | undefined;
330
+ description?: string | undefined;
331
+ }, {
332
+ name: string;
333
+ input_schema: {
334
+ type: "object";
335
+ properties?: Record<string, unknown> | undefined;
336
+ required?: string[] | undefined;
337
+ };
338
+ type?: "custom" | undefined;
339
+ cache_control?: {
340
+ type: "ephemeral";
341
+ } | undefined;
342
+ description?: string | undefined;
343
+ }>;
344
+ export declare const AnthropicBashToolSchema: z.ZodObject<{
345
+ type: z.ZodLiteral<"bash_20250124">;
346
+ name: z.ZodOptional<z.ZodLiteral<"bash">>;
347
+ cache_control: z.ZodOptional<z.ZodObject<{
348
+ type: z.ZodLiteral<"ephemeral">;
349
+ }, "strip", z.ZodTypeAny, {
350
+ type: "ephemeral";
351
+ }, {
352
+ type: "ephemeral";
353
+ }>>;
354
+ }, "strip", z.ZodTypeAny, {
355
+ type: "bash_20250124";
356
+ cache_control?: {
357
+ type: "ephemeral";
358
+ } | undefined;
359
+ name?: "bash" | undefined;
360
+ }, {
361
+ type: "bash_20250124";
362
+ cache_control?: {
363
+ type: "ephemeral";
364
+ } | undefined;
365
+ name?: "bash" | undefined;
366
+ }>;
367
+ export declare const AnthropicTextEditorToolSchema: z.ZodObject<{
368
+ type: z.ZodLiteral<"text_editor_20250124">;
369
+ name: z.ZodOptional<z.ZodLiteral<"str_replace_editor">>;
370
+ cache_control: z.ZodOptional<z.ZodObject<{
371
+ type: z.ZodLiteral<"ephemeral">;
372
+ }, "strip", z.ZodTypeAny, {
373
+ type: "ephemeral";
374
+ }, {
375
+ type: "ephemeral";
376
+ }>>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ type: "text_editor_20250124";
379
+ cache_control?: {
380
+ type: "ephemeral";
381
+ } | undefined;
382
+ name?: "str_replace_editor" | undefined;
383
+ }, {
384
+ type: "text_editor_20250124";
385
+ cache_control?: {
386
+ type: "ephemeral";
387
+ } | undefined;
388
+ name?: "str_replace_editor" | undefined;
389
+ }>;
390
+ export declare const AnthropicWebSearchToolSchema: z.ZodObject<{
391
+ type: z.ZodLiteral<"web_search_20250305">;
392
+ name: z.ZodOptional<z.ZodLiteral<"web_search">>;
393
+ max_uses: z.ZodOptional<z.ZodNumber>;
394
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
395
+ blocked_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
396
+ user_location: z.ZodOptional<z.ZodObject<{
397
+ type: z.ZodLiteral<"approximate">;
398
+ city: z.ZodOptional<z.ZodString>;
399
+ region: z.ZodOptional<z.ZodString>;
400
+ country: z.ZodOptional<z.ZodString>;
401
+ timezone: z.ZodOptional<z.ZodString>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ type: "approximate";
404
+ city?: string | undefined;
405
+ region?: string | undefined;
406
+ country?: string | undefined;
407
+ timezone?: string | undefined;
408
+ }, {
409
+ type: "approximate";
410
+ city?: string | undefined;
411
+ region?: string | undefined;
412
+ country?: string | undefined;
413
+ timezone?: string | undefined;
414
+ }>>;
415
+ cache_control: z.ZodOptional<z.ZodObject<{
416
+ type: z.ZodLiteral<"ephemeral">;
417
+ }, "strip", z.ZodTypeAny, {
418
+ type: "ephemeral";
419
+ }, {
420
+ type: "ephemeral";
421
+ }>>;
422
+ }, "strip", z.ZodTypeAny, {
423
+ type: "web_search_20250305";
424
+ cache_control?: {
425
+ type: "ephemeral";
426
+ } | undefined;
427
+ name?: "web_search" | undefined;
428
+ max_uses?: number | undefined;
429
+ allowed_domains?: string[] | undefined;
430
+ blocked_domains?: string[] | undefined;
431
+ user_location?: {
432
+ type: "approximate";
433
+ city?: string | undefined;
434
+ region?: string | undefined;
435
+ country?: string | undefined;
436
+ timezone?: string | undefined;
437
+ } | undefined;
438
+ }, {
439
+ type: "web_search_20250305";
440
+ cache_control?: {
441
+ type: "ephemeral";
442
+ } | undefined;
443
+ name?: "web_search" | undefined;
444
+ max_uses?: number | undefined;
445
+ allowed_domains?: string[] | undefined;
446
+ blocked_domains?: string[] | undefined;
447
+ user_location?: {
448
+ type: "approximate";
449
+ city?: string | undefined;
450
+ region?: string | undefined;
451
+ country?: string | undefined;
452
+ timezone?: string | undefined;
453
+ } | undefined;
454
+ }>;
455
+ export declare const AnthropicCodeExecutionToolSchema: z.ZodObject<{
456
+ type: z.ZodLiteral<"code_execution_20250522">;
457
+ name: z.ZodOptional<z.ZodLiteral<"code_execution">>;
458
+ cache_control: z.ZodOptional<z.ZodObject<{
459
+ type: z.ZodLiteral<"ephemeral">;
460
+ }, "strip", z.ZodTypeAny, {
461
+ type: "ephemeral";
462
+ }, {
463
+ type: "ephemeral";
464
+ }>>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ type: "code_execution_20250522";
467
+ cache_control?: {
468
+ type: "ephemeral";
469
+ } | undefined;
470
+ name?: "code_execution" | undefined;
471
+ }, {
472
+ type: "code_execution_20250522";
473
+ cache_control?: {
474
+ type: "ephemeral";
475
+ } | undefined;
476
+ name?: "code_execution" | undefined;
477
+ }>;
478
+ export declare const AnthropicToolSchema: z.ZodUnion<[z.ZodObject<{
479
+ type: z.ZodOptional<z.ZodLiteral<"custom">>;
480
+ name: z.ZodString;
481
+ description: z.ZodOptional<z.ZodString>;
482
+ input_schema: z.ZodObject<{
483
+ type: z.ZodLiteral<"object">;
484
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
485
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ type: "object";
488
+ properties?: Record<string, unknown> | undefined;
489
+ required?: string[] | undefined;
490
+ }, {
491
+ type: "object";
492
+ properties?: Record<string, unknown> | undefined;
493
+ required?: string[] | undefined;
494
+ }>;
495
+ cache_control: z.ZodOptional<z.ZodObject<{
496
+ type: z.ZodLiteral<"ephemeral">;
497
+ }, "strip", z.ZodTypeAny, {
498
+ type: "ephemeral";
499
+ }, {
500
+ type: "ephemeral";
501
+ }>>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ name: string;
504
+ input_schema: {
505
+ type: "object";
506
+ properties?: Record<string, unknown> | undefined;
507
+ required?: string[] | undefined;
508
+ };
509
+ type?: "custom" | undefined;
510
+ cache_control?: {
511
+ type: "ephemeral";
512
+ } | undefined;
513
+ description?: string | undefined;
514
+ }, {
515
+ name: string;
516
+ input_schema: {
517
+ type: "object";
518
+ properties?: Record<string, unknown> | undefined;
519
+ required?: string[] | undefined;
520
+ };
521
+ type?: "custom" | undefined;
522
+ cache_control?: {
523
+ type: "ephemeral";
524
+ } | undefined;
525
+ description?: string | undefined;
526
+ }>, z.ZodObject<{
527
+ type: z.ZodLiteral<"bash_20250124">;
528
+ name: z.ZodOptional<z.ZodLiteral<"bash">>;
529
+ cache_control: z.ZodOptional<z.ZodObject<{
530
+ type: z.ZodLiteral<"ephemeral">;
531
+ }, "strip", z.ZodTypeAny, {
532
+ type: "ephemeral";
533
+ }, {
534
+ type: "ephemeral";
535
+ }>>;
536
+ }, "strip", z.ZodTypeAny, {
537
+ type: "bash_20250124";
538
+ cache_control?: {
539
+ type: "ephemeral";
540
+ } | undefined;
541
+ name?: "bash" | undefined;
542
+ }, {
543
+ type: "bash_20250124";
544
+ cache_control?: {
545
+ type: "ephemeral";
546
+ } | undefined;
547
+ name?: "bash" | undefined;
548
+ }>, z.ZodObject<{
549
+ type: z.ZodLiteral<"text_editor_20250124">;
550
+ name: z.ZodOptional<z.ZodLiteral<"str_replace_editor">>;
551
+ cache_control: z.ZodOptional<z.ZodObject<{
552
+ type: z.ZodLiteral<"ephemeral">;
553
+ }, "strip", z.ZodTypeAny, {
554
+ type: "ephemeral";
555
+ }, {
556
+ type: "ephemeral";
557
+ }>>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ type: "text_editor_20250124";
560
+ cache_control?: {
561
+ type: "ephemeral";
562
+ } | undefined;
563
+ name?: "str_replace_editor" | undefined;
564
+ }, {
565
+ type: "text_editor_20250124";
566
+ cache_control?: {
567
+ type: "ephemeral";
568
+ } | undefined;
569
+ name?: "str_replace_editor" | undefined;
570
+ }>, z.ZodObject<{
571
+ type: z.ZodLiteral<"web_search_20250305">;
572
+ name: z.ZodOptional<z.ZodLiteral<"web_search">>;
573
+ max_uses: z.ZodOptional<z.ZodNumber>;
574
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
575
+ blocked_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
576
+ user_location: z.ZodOptional<z.ZodObject<{
577
+ type: z.ZodLiteral<"approximate">;
578
+ city: z.ZodOptional<z.ZodString>;
579
+ region: z.ZodOptional<z.ZodString>;
580
+ country: z.ZodOptional<z.ZodString>;
581
+ timezone: z.ZodOptional<z.ZodString>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ type: "approximate";
584
+ city?: string | undefined;
585
+ region?: string | undefined;
586
+ country?: string | undefined;
587
+ timezone?: string | undefined;
588
+ }, {
589
+ type: "approximate";
590
+ city?: string | undefined;
591
+ region?: string | undefined;
592
+ country?: string | undefined;
593
+ timezone?: string | undefined;
594
+ }>>;
595
+ cache_control: z.ZodOptional<z.ZodObject<{
596
+ type: z.ZodLiteral<"ephemeral">;
597
+ }, "strip", z.ZodTypeAny, {
598
+ type: "ephemeral";
599
+ }, {
600
+ type: "ephemeral";
601
+ }>>;
602
+ }, "strip", z.ZodTypeAny, {
603
+ type: "web_search_20250305";
604
+ cache_control?: {
605
+ type: "ephemeral";
606
+ } | undefined;
607
+ name?: "web_search" | undefined;
608
+ max_uses?: number | undefined;
609
+ allowed_domains?: string[] | undefined;
610
+ blocked_domains?: string[] | undefined;
611
+ user_location?: {
612
+ type: "approximate";
613
+ city?: string | undefined;
614
+ region?: string | undefined;
615
+ country?: string | undefined;
616
+ timezone?: string | undefined;
617
+ } | undefined;
618
+ }, {
619
+ type: "web_search_20250305";
620
+ cache_control?: {
621
+ type: "ephemeral";
622
+ } | undefined;
623
+ name?: "web_search" | undefined;
624
+ max_uses?: number | undefined;
625
+ allowed_domains?: string[] | undefined;
626
+ blocked_domains?: string[] | undefined;
627
+ user_location?: {
628
+ type: "approximate";
629
+ city?: string | undefined;
630
+ region?: string | undefined;
631
+ country?: string | undefined;
632
+ timezone?: string | undefined;
633
+ } | undefined;
634
+ }>, z.ZodObject<{
635
+ type: z.ZodLiteral<"code_execution_20250522">;
636
+ name: z.ZodOptional<z.ZodLiteral<"code_execution">>;
637
+ cache_control: z.ZodOptional<z.ZodObject<{
638
+ type: z.ZodLiteral<"ephemeral">;
639
+ }, "strip", z.ZodTypeAny, {
640
+ type: "ephemeral";
641
+ }, {
642
+ type: "ephemeral";
643
+ }>>;
644
+ }, "strip", z.ZodTypeAny, {
645
+ type: "code_execution_20250522";
646
+ cache_control?: {
647
+ type: "ephemeral";
648
+ } | undefined;
649
+ name?: "code_execution" | undefined;
650
+ }, {
651
+ type: "code_execution_20250522";
652
+ cache_control?: {
653
+ type: "ephemeral";
654
+ } | undefined;
655
+ name?: "code_execution" | undefined;
656
+ }>]>;
657
+ export declare const AnthropicToolChoiceSchema: z.ZodObject<{
658
+ type: z.ZodEnum<["auto", "any", "tool", "none"]>;
659
+ name: z.ZodOptional<z.ZodString>;
660
+ disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ type: "auto" | "any" | "tool" | "none";
663
+ name?: string | undefined;
664
+ disable_parallel_tool_use?: boolean | undefined;
665
+ }, {
666
+ type: "auto" | "any" | "tool" | "none";
667
+ name?: string | undefined;
668
+ disable_parallel_tool_use?: boolean | undefined;
669
+ }>;
670
+ export declare const AnthropicThinkingConfigSchema: z.ZodObject<{
671
+ type: z.ZodEnum<["enabled", "disabled", "adaptive"]>;
672
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
673
+ display: z.ZodOptional<z.ZodEnum<["summarized", "omitted"]>>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ type: "enabled" | "disabled" | "adaptive";
676
+ budget_tokens?: number | undefined;
677
+ display?: "summarized" | "omitted" | undefined;
678
+ }, {
679
+ type: "enabled" | "disabled" | "adaptive";
680
+ budget_tokens?: number | undefined;
681
+ display?: "summarized" | "omitted" | undefined;
682
+ }>;
683
+ export declare const AnthropicMetadataSchema: z.ZodObject<{
684
+ user_id: z.ZodOptional<z.ZodString>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ user_id?: string | undefined;
687
+ }, {
688
+ user_id?: string | undefined;
689
+ }>;
690
+ export declare const AnthropicMessageRequestSchema: z.ZodObject<{
691
+ model: z.ZodString;
692
+ max_tokens: z.ZodNumber;
693
+ messages: z.ZodArray<z.ZodObject<{
694
+ role: z.ZodEnum<["user", "assistant"]>;
695
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ content: string | any[];
698
+ role: "user" | "assistant";
699
+ }, {
700
+ content: string | any[];
701
+ role: "user" | "assistant";
702
+ }>, "many">;
703
+ system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
704
+ type: z.ZodLiteral<"text">;
705
+ text: z.ZodString;
706
+ cache_control: z.ZodOptional<z.ZodObject<{
707
+ type: z.ZodLiteral<"ephemeral">;
708
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ type: "ephemeral";
711
+ ttl?: "5m" | "1h" | undefined;
712
+ }, {
713
+ type: "ephemeral";
714
+ ttl?: "5m" | "1h" | undefined;
715
+ }>>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ type: "text";
718
+ text: string;
719
+ cache_control?: {
720
+ type: "ephemeral";
721
+ ttl?: "5m" | "1h" | undefined;
722
+ } | undefined;
723
+ }, {
724
+ type: "text";
725
+ text: string;
726
+ cache_control?: {
727
+ type: "ephemeral";
728
+ ttl?: "5m" | "1h" | undefined;
729
+ } | undefined;
730
+ }>, "many">]>>;
731
+ temperature: z.ZodOptional<z.ZodNumber>;
732
+ top_p: z.ZodOptional<z.ZodNumber>;
733
+ top_k: z.ZodOptional<z.ZodNumber>;
734
+ stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
735
+ stream: z.ZodOptional<z.ZodBoolean>;
736
+ metadata: z.ZodOptional<z.ZodObject<{
737
+ user_id: z.ZodOptional<z.ZodString>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ user_id?: string | undefined;
740
+ }, {
741
+ user_id?: string | undefined;
742
+ }>>;
743
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
744
+ type: z.ZodOptional<z.ZodLiteral<"custom">>;
745
+ name: z.ZodString;
746
+ description: z.ZodOptional<z.ZodString>;
747
+ input_schema: z.ZodObject<{
748
+ type: z.ZodLiteral<"object">;
749
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
750
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ type: "object";
753
+ properties?: Record<string, unknown> | undefined;
754
+ required?: string[] | undefined;
755
+ }, {
756
+ type: "object";
757
+ properties?: Record<string, unknown> | undefined;
758
+ required?: string[] | undefined;
759
+ }>;
760
+ cache_control: z.ZodOptional<z.ZodObject<{
761
+ type: z.ZodLiteral<"ephemeral">;
762
+ }, "strip", z.ZodTypeAny, {
763
+ type: "ephemeral";
764
+ }, {
765
+ type: "ephemeral";
766
+ }>>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ name: string;
769
+ input_schema: {
770
+ type: "object";
771
+ properties?: Record<string, unknown> | undefined;
772
+ required?: string[] | undefined;
773
+ };
774
+ type?: "custom" | undefined;
775
+ cache_control?: {
776
+ type: "ephemeral";
777
+ } | undefined;
778
+ description?: string | undefined;
779
+ }, {
780
+ name: string;
781
+ input_schema: {
782
+ type: "object";
783
+ properties?: Record<string, unknown> | undefined;
784
+ required?: string[] | undefined;
785
+ };
786
+ type?: "custom" | undefined;
787
+ cache_control?: {
788
+ type: "ephemeral";
789
+ } | undefined;
790
+ description?: string | undefined;
791
+ }>, z.ZodObject<{
792
+ type: z.ZodLiteral<"bash_20250124">;
793
+ name: z.ZodOptional<z.ZodLiteral<"bash">>;
794
+ cache_control: z.ZodOptional<z.ZodObject<{
795
+ type: z.ZodLiteral<"ephemeral">;
796
+ }, "strip", z.ZodTypeAny, {
797
+ type: "ephemeral";
798
+ }, {
799
+ type: "ephemeral";
800
+ }>>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ type: "bash_20250124";
803
+ cache_control?: {
804
+ type: "ephemeral";
805
+ } | undefined;
806
+ name?: "bash" | undefined;
807
+ }, {
808
+ type: "bash_20250124";
809
+ cache_control?: {
810
+ type: "ephemeral";
811
+ } | undefined;
812
+ name?: "bash" | undefined;
813
+ }>, z.ZodObject<{
814
+ type: z.ZodLiteral<"text_editor_20250124">;
815
+ name: z.ZodOptional<z.ZodLiteral<"str_replace_editor">>;
816
+ cache_control: z.ZodOptional<z.ZodObject<{
817
+ type: z.ZodLiteral<"ephemeral">;
818
+ }, "strip", z.ZodTypeAny, {
819
+ type: "ephemeral";
820
+ }, {
821
+ type: "ephemeral";
822
+ }>>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ type: "text_editor_20250124";
825
+ cache_control?: {
826
+ type: "ephemeral";
827
+ } | undefined;
828
+ name?: "str_replace_editor" | undefined;
829
+ }, {
830
+ type: "text_editor_20250124";
831
+ cache_control?: {
832
+ type: "ephemeral";
833
+ } | undefined;
834
+ name?: "str_replace_editor" | undefined;
835
+ }>, z.ZodObject<{
836
+ type: z.ZodLiteral<"web_search_20250305">;
837
+ name: z.ZodOptional<z.ZodLiteral<"web_search">>;
838
+ max_uses: z.ZodOptional<z.ZodNumber>;
839
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
840
+ blocked_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
841
+ user_location: z.ZodOptional<z.ZodObject<{
842
+ type: z.ZodLiteral<"approximate">;
843
+ city: z.ZodOptional<z.ZodString>;
844
+ region: z.ZodOptional<z.ZodString>;
845
+ country: z.ZodOptional<z.ZodString>;
846
+ timezone: z.ZodOptional<z.ZodString>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ type: "approximate";
849
+ city?: string | undefined;
850
+ region?: string | undefined;
851
+ country?: string | undefined;
852
+ timezone?: string | undefined;
853
+ }, {
854
+ type: "approximate";
855
+ city?: string | undefined;
856
+ region?: string | undefined;
857
+ country?: string | undefined;
858
+ timezone?: string | undefined;
859
+ }>>;
860
+ cache_control: z.ZodOptional<z.ZodObject<{
861
+ type: z.ZodLiteral<"ephemeral">;
862
+ }, "strip", z.ZodTypeAny, {
863
+ type: "ephemeral";
864
+ }, {
865
+ type: "ephemeral";
866
+ }>>;
867
+ }, "strip", z.ZodTypeAny, {
868
+ type: "web_search_20250305";
869
+ cache_control?: {
870
+ type: "ephemeral";
871
+ } | undefined;
872
+ name?: "web_search" | undefined;
873
+ max_uses?: number | undefined;
874
+ allowed_domains?: string[] | undefined;
875
+ blocked_domains?: string[] | undefined;
876
+ user_location?: {
877
+ type: "approximate";
878
+ city?: string | undefined;
879
+ region?: string | undefined;
880
+ country?: string | undefined;
881
+ timezone?: string | undefined;
882
+ } | undefined;
883
+ }, {
884
+ type: "web_search_20250305";
885
+ cache_control?: {
886
+ type: "ephemeral";
887
+ } | undefined;
888
+ name?: "web_search" | undefined;
889
+ max_uses?: number | undefined;
890
+ allowed_domains?: string[] | undefined;
891
+ blocked_domains?: string[] | undefined;
892
+ user_location?: {
893
+ type: "approximate";
894
+ city?: string | undefined;
895
+ region?: string | undefined;
896
+ country?: string | undefined;
897
+ timezone?: string | undefined;
898
+ } | undefined;
899
+ }>, z.ZodObject<{
900
+ type: z.ZodLiteral<"code_execution_20250522">;
901
+ name: z.ZodOptional<z.ZodLiteral<"code_execution">>;
902
+ cache_control: z.ZodOptional<z.ZodObject<{
903
+ type: z.ZodLiteral<"ephemeral">;
904
+ }, "strip", z.ZodTypeAny, {
905
+ type: "ephemeral";
906
+ }, {
907
+ type: "ephemeral";
908
+ }>>;
909
+ }, "strip", z.ZodTypeAny, {
910
+ type: "code_execution_20250522";
911
+ cache_control?: {
912
+ type: "ephemeral";
913
+ } | undefined;
914
+ name?: "code_execution" | undefined;
915
+ }, {
916
+ type: "code_execution_20250522";
917
+ cache_control?: {
918
+ type: "ephemeral";
919
+ } | undefined;
920
+ name?: "code_execution" | undefined;
921
+ }>]>, "many">>;
922
+ tool_choice: z.ZodOptional<z.ZodObject<{
923
+ type: z.ZodEnum<["auto", "any", "tool", "none"]>;
924
+ name: z.ZodOptional<z.ZodString>;
925
+ disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ type: "auto" | "any" | "tool" | "none";
928
+ name?: string | undefined;
929
+ disable_parallel_tool_use?: boolean | undefined;
930
+ }, {
931
+ type: "auto" | "any" | "tool" | "none";
932
+ name?: string | undefined;
933
+ disable_parallel_tool_use?: boolean | undefined;
934
+ }>>;
935
+ thinking: z.ZodOptional<z.ZodObject<{
936
+ type: z.ZodEnum<["enabled", "disabled", "adaptive"]>;
937
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
938
+ display: z.ZodOptional<z.ZodEnum<["summarized", "omitted"]>>;
939
+ }, "strip", z.ZodTypeAny, {
940
+ type: "enabled" | "disabled" | "adaptive";
941
+ budget_tokens?: number | undefined;
942
+ display?: "summarized" | "omitted" | undefined;
943
+ }, {
944
+ type: "enabled" | "disabled" | "adaptive";
945
+ budget_tokens?: number | undefined;
946
+ display?: "summarized" | "omitted" | undefined;
947
+ }>>;
948
+ service_tier: z.ZodOptional<z.ZodEnum<["auto", "standard_only"]>>;
949
+ container: z.ZodOptional<z.ZodString>;
950
+ }, "strip", z.ZodTypeAny, {
951
+ model: string;
952
+ max_tokens: number;
953
+ messages: {
954
+ content: string | any[];
955
+ role: "user" | "assistant";
956
+ }[];
957
+ thinking?: {
958
+ type: "enabled" | "disabled" | "adaptive";
959
+ budget_tokens?: number | undefined;
960
+ display?: "summarized" | "omitted" | undefined;
961
+ } | undefined;
962
+ system?: string | {
963
+ type: "text";
964
+ text: string;
965
+ cache_control?: {
966
+ type: "ephemeral";
967
+ ttl?: "5m" | "1h" | undefined;
968
+ } | undefined;
969
+ }[] | undefined;
970
+ temperature?: number | undefined;
971
+ top_p?: number | undefined;
972
+ top_k?: number | undefined;
973
+ stop_sequences?: string[] | undefined;
974
+ stream?: boolean | undefined;
975
+ metadata?: {
976
+ user_id?: string | undefined;
977
+ } | undefined;
978
+ tools?: ({
979
+ name: string;
980
+ input_schema: {
981
+ type: "object";
982
+ properties?: Record<string, unknown> | undefined;
983
+ required?: string[] | undefined;
984
+ };
985
+ type?: "custom" | undefined;
986
+ cache_control?: {
987
+ type: "ephemeral";
988
+ } | undefined;
989
+ description?: string | undefined;
990
+ } | {
991
+ type: "bash_20250124";
992
+ cache_control?: {
993
+ type: "ephemeral";
994
+ } | undefined;
995
+ name?: "bash" | undefined;
996
+ } | {
997
+ type: "text_editor_20250124";
998
+ cache_control?: {
999
+ type: "ephemeral";
1000
+ } | undefined;
1001
+ name?: "str_replace_editor" | undefined;
1002
+ } | {
1003
+ type: "web_search_20250305";
1004
+ cache_control?: {
1005
+ type: "ephemeral";
1006
+ } | undefined;
1007
+ name?: "web_search" | undefined;
1008
+ max_uses?: number | undefined;
1009
+ allowed_domains?: string[] | undefined;
1010
+ blocked_domains?: string[] | undefined;
1011
+ user_location?: {
1012
+ type: "approximate";
1013
+ city?: string | undefined;
1014
+ region?: string | undefined;
1015
+ country?: string | undefined;
1016
+ timezone?: string | undefined;
1017
+ } | undefined;
1018
+ } | {
1019
+ type: "code_execution_20250522";
1020
+ cache_control?: {
1021
+ type: "ephemeral";
1022
+ } | undefined;
1023
+ name?: "code_execution" | undefined;
1024
+ })[] | undefined;
1025
+ tool_choice?: {
1026
+ type: "auto" | "any" | "tool" | "none";
1027
+ name?: string | undefined;
1028
+ disable_parallel_tool_use?: boolean | undefined;
1029
+ } | undefined;
1030
+ service_tier?: "auto" | "standard_only" | undefined;
1031
+ container?: string | undefined;
1032
+ }, {
1033
+ model: string;
1034
+ max_tokens: number;
1035
+ messages: {
1036
+ content: string | any[];
1037
+ role: "user" | "assistant";
1038
+ }[];
1039
+ thinking?: {
1040
+ type: "enabled" | "disabled" | "adaptive";
1041
+ budget_tokens?: number | undefined;
1042
+ display?: "summarized" | "omitted" | undefined;
1043
+ } | undefined;
1044
+ system?: string | {
1045
+ type: "text";
1046
+ text: string;
1047
+ cache_control?: {
1048
+ type: "ephemeral";
1049
+ ttl?: "5m" | "1h" | undefined;
1050
+ } | undefined;
1051
+ }[] | undefined;
1052
+ temperature?: number | undefined;
1053
+ top_p?: number | undefined;
1054
+ top_k?: number | undefined;
1055
+ stop_sequences?: string[] | undefined;
1056
+ stream?: boolean | undefined;
1057
+ metadata?: {
1058
+ user_id?: string | undefined;
1059
+ } | undefined;
1060
+ tools?: ({
1061
+ name: string;
1062
+ input_schema: {
1063
+ type: "object";
1064
+ properties?: Record<string, unknown> | undefined;
1065
+ required?: string[] | undefined;
1066
+ };
1067
+ type?: "custom" | undefined;
1068
+ cache_control?: {
1069
+ type: "ephemeral";
1070
+ } | undefined;
1071
+ description?: string | undefined;
1072
+ } | {
1073
+ type: "bash_20250124";
1074
+ cache_control?: {
1075
+ type: "ephemeral";
1076
+ } | undefined;
1077
+ name?: "bash" | undefined;
1078
+ } | {
1079
+ type: "text_editor_20250124";
1080
+ cache_control?: {
1081
+ type: "ephemeral";
1082
+ } | undefined;
1083
+ name?: "str_replace_editor" | undefined;
1084
+ } | {
1085
+ type: "web_search_20250305";
1086
+ cache_control?: {
1087
+ type: "ephemeral";
1088
+ } | undefined;
1089
+ name?: "web_search" | undefined;
1090
+ max_uses?: number | undefined;
1091
+ allowed_domains?: string[] | undefined;
1092
+ blocked_domains?: string[] | undefined;
1093
+ user_location?: {
1094
+ type: "approximate";
1095
+ city?: string | undefined;
1096
+ region?: string | undefined;
1097
+ country?: string | undefined;
1098
+ timezone?: string | undefined;
1099
+ } | undefined;
1100
+ } | {
1101
+ type: "code_execution_20250522";
1102
+ cache_control?: {
1103
+ type: "ephemeral";
1104
+ } | undefined;
1105
+ name?: "code_execution" | undefined;
1106
+ })[] | undefined;
1107
+ tool_choice?: {
1108
+ type: "auto" | "any" | "tool" | "none";
1109
+ name?: string | undefined;
1110
+ disable_parallel_tool_use?: boolean | undefined;
1111
+ } | undefined;
1112
+ service_tier?: "auto" | "standard_only" | undefined;
1113
+ container?: string | undefined;
1114
+ }>;
1115
+ export declare const AnthropicCountTokensRequestSchema: z.ZodObject<{
1116
+ model: z.ZodString;
1117
+ messages: z.ZodArray<z.ZodObject<{
1118
+ role: z.ZodEnum<["user", "assistant"]>;
1119
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ content: string | any[];
1122
+ role: "user" | "assistant";
1123
+ }, {
1124
+ content: string | any[];
1125
+ role: "user" | "assistant";
1126
+ }>, "many">;
1127
+ system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
1128
+ type: z.ZodLiteral<"text">;
1129
+ text: z.ZodString;
1130
+ cache_control: z.ZodOptional<z.ZodObject<{
1131
+ type: z.ZodLiteral<"ephemeral">;
1132
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1133
+ }, "strip", z.ZodTypeAny, {
1134
+ type: "ephemeral";
1135
+ ttl?: "5m" | "1h" | undefined;
1136
+ }, {
1137
+ type: "ephemeral";
1138
+ ttl?: "5m" | "1h" | undefined;
1139
+ }>>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ type: "text";
1142
+ text: string;
1143
+ cache_control?: {
1144
+ type: "ephemeral";
1145
+ ttl?: "5m" | "1h" | undefined;
1146
+ } | undefined;
1147
+ }, {
1148
+ type: "text";
1149
+ text: string;
1150
+ cache_control?: {
1151
+ type: "ephemeral";
1152
+ ttl?: "5m" | "1h" | undefined;
1153
+ } | undefined;
1154
+ }>, "many">]>>;
1155
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1156
+ type: z.ZodOptional<z.ZodLiteral<"custom">>;
1157
+ name: z.ZodString;
1158
+ description: z.ZodOptional<z.ZodString>;
1159
+ input_schema: z.ZodObject<{
1160
+ type: z.ZodLiteral<"object">;
1161
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1162
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ type: "object";
1165
+ properties?: Record<string, unknown> | undefined;
1166
+ required?: string[] | undefined;
1167
+ }, {
1168
+ type: "object";
1169
+ properties?: Record<string, unknown> | undefined;
1170
+ required?: string[] | undefined;
1171
+ }>;
1172
+ cache_control: z.ZodOptional<z.ZodObject<{
1173
+ type: z.ZodLiteral<"ephemeral">;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ type: "ephemeral";
1176
+ }, {
1177
+ type: "ephemeral";
1178
+ }>>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ name: string;
1181
+ input_schema: {
1182
+ type: "object";
1183
+ properties?: Record<string, unknown> | undefined;
1184
+ required?: string[] | undefined;
1185
+ };
1186
+ type?: "custom" | undefined;
1187
+ cache_control?: {
1188
+ type: "ephemeral";
1189
+ } | undefined;
1190
+ description?: string | undefined;
1191
+ }, {
1192
+ name: string;
1193
+ input_schema: {
1194
+ type: "object";
1195
+ properties?: Record<string, unknown> | undefined;
1196
+ required?: string[] | undefined;
1197
+ };
1198
+ type?: "custom" | undefined;
1199
+ cache_control?: {
1200
+ type: "ephemeral";
1201
+ } | undefined;
1202
+ description?: string | undefined;
1203
+ }>, z.ZodObject<{
1204
+ type: z.ZodLiteral<"bash_20250124">;
1205
+ name: z.ZodOptional<z.ZodLiteral<"bash">>;
1206
+ cache_control: z.ZodOptional<z.ZodObject<{
1207
+ type: z.ZodLiteral<"ephemeral">;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ type: "ephemeral";
1210
+ }, {
1211
+ type: "ephemeral";
1212
+ }>>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ type: "bash_20250124";
1215
+ cache_control?: {
1216
+ type: "ephemeral";
1217
+ } | undefined;
1218
+ name?: "bash" | undefined;
1219
+ }, {
1220
+ type: "bash_20250124";
1221
+ cache_control?: {
1222
+ type: "ephemeral";
1223
+ } | undefined;
1224
+ name?: "bash" | undefined;
1225
+ }>, z.ZodObject<{
1226
+ type: z.ZodLiteral<"text_editor_20250124">;
1227
+ name: z.ZodOptional<z.ZodLiteral<"str_replace_editor">>;
1228
+ cache_control: z.ZodOptional<z.ZodObject<{
1229
+ type: z.ZodLiteral<"ephemeral">;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ type: "ephemeral";
1232
+ }, {
1233
+ type: "ephemeral";
1234
+ }>>;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ type: "text_editor_20250124";
1237
+ cache_control?: {
1238
+ type: "ephemeral";
1239
+ } | undefined;
1240
+ name?: "str_replace_editor" | undefined;
1241
+ }, {
1242
+ type: "text_editor_20250124";
1243
+ cache_control?: {
1244
+ type: "ephemeral";
1245
+ } | undefined;
1246
+ name?: "str_replace_editor" | undefined;
1247
+ }>, z.ZodObject<{
1248
+ type: z.ZodLiteral<"web_search_20250305">;
1249
+ name: z.ZodOptional<z.ZodLiteral<"web_search">>;
1250
+ max_uses: z.ZodOptional<z.ZodNumber>;
1251
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1252
+ blocked_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1253
+ user_location: z.ZodOptional<z.ZodObject<{
1254
+ type: z.ZodLiteral<"approximate">;
1255
+ city: z.ZodOptional<z.ZodString>;
1256
+ region: z.ZodOptional<z.ZodString>;
1257
+ country: z.ZodOptional<z.ZodString>;
1258
+ timezone: z.ZodOptional<z.ZodString>;
1259
+ }, "strip", z.ZodTypeAny, {
1260
+ type: "approximate";
1261
+ city?: string | undefined;
1262
+ region?: string | undefined;
1263
+ country?: string | undefined;
1264
+ timezone?: string | undefined;
1265
+ }, {
1266
+ type: "approximate";
1267
+ city?: string | undefined;
1268
+ region?: string | undefined;
1269
+ country?: string | undefined;
1270
+ timezone?: string | undefined;
1271
+ }>>;
1272
+ cache_control: z.ZodOptional<z.ZodObject<{
1273
+ type: z.ZodLiteral<"ephemeral">;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ type: "ephemeral";
1276
+ }, {
1277
+ type: "ephemeral";
1278
+ }>>;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ type: "web_search_20250305";
1281
+ cache_control?: {
1282
+ type: "ephemeral";
1283
+ } | undefined;
1284
+ name?: "web_search" | undefined;
1285
+ max_uses?: number | undefined;
1286
+ allowed_domains?: string[] | undefined;
1287
+ blocked_domains?: string[] | undefined;
1288
+ user_location?: {
1289
+ type: "approximate";
1290
+ city?: string | undefined;
1291
+ region?: string | undefined;
1292
+ country?: string | undefined;
1293
+ timezone?: string | undefined;
1294
+ } | undefined;
1295
+ }, {
1296
+ type: "web_search_20250305";
1297
+ cache_control?: {
1298
+ type: "ephemeral";
1299
+ } | undefined;
1300
+ name?: "web_search" | undefined;
1301
+ max_uses?: number | undefined;
1302
+ allowed_domains?: string[] | undefined;
1303
+ blocked_domains?: string[] | undefined;
1304
+ user_location?: {
1305
+ type: "approximate";
1306
+ city?: string | undefined;
1307
+ region?: string | undefined;
1308
+ country?: string | undefined;
1309
+ timezone?: string | undefined;
1310
+ } | undefined;
1311
+ }>, z.ZodObject<{
1312
+ type: z.ZodLiteral<"code_execution_20250522">;
1313
+ name: z.ZodOptional<z.ZodLiteral<"code_execution">>;
1314
+ cache_control: z.ZodOptional<z.ZodObject<{
1315
+ type: z.ZodLiteral<"ephemeral">;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ type: "ephemeral";
1318
+ }, {
1319
+ type: "ephemeral";
1320
+ }>>;
1321
+ }, "strip", z.ZodTypeAny, {
1322
+ type: "code_execution_20250522";
1323
+ cache_control?: {
1324
+ type: "ephemeral";
1325
+ } | undefined;
1326
+ name?: "code_execution" | undefined;
1327
+ }, {
1328
+ type: "code_execution_20250522";
1329
+ cache_control?: {
1330
+ type: "ephemeral";
1331
+ } | undefined;
1332
+ name?: "code_execution" | undefined;
1333
+ }>]>, "many">>;
1334
+ tool_choice: z.ZodOptional<z.ZodObject<{
1335
+ type: z.ZodEnum<["auto", "any", "tool", "none"]>;
1336
+ name: z.ZodOptional<z.ZodString>;
1337
+ disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
1338
+ }, "strip", z.ZodTypeAny, {
1339
+ type: "auto" | "any" | "tool" | "none";
1340
+ name?: string | undefined;
1341
+ disable_parallel_tool_use?: boolean | undefined;
1342
+ }, {
1343
+ type: "auto" | "any" | "tool" | "none";
1344
+ name?: string | undefined;
1345
+ disable_parallel_tool_use?: boolean | undefined;
1346
+ }>>;
1347
+ thinking: z.ZodOptional<z.ZodObject<{
1348
+ type: z.ZodEnum<["enabled", "disabled", "adaptive"]>;
1349
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
1350
+ display: z.ZodOptional<z.ZodEnum<["summarized", "omitted"]>>;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ type: "enabled" | "disabled" | "adaptive";
1353
+ budget_tokens?: number | undefined;
1354
+ display?: "summarized" | "omitted" | undefined;
1355
+ }, {
1356
+ type: "enabled" | "disabled" | "adaptive";
1357
+ budget_tokens?: number | undefined;
1358
+ display?: "summarized" | "omitted" | undefined;
1359
+ }>>;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ model: string;
1362
+ messages: {
1363
+ content: string | any[];
1364
+ role: "user" | "assistant";
1365
+ }[];
1366
+ thinking?: {
1367
+ type: "enabled" | "disabled" | "adaptive";
1368
+ budget_tokens?: number | undefined;
1369
+ display?: "summarized" | "omitted" | undefined;
1370
+ } | undefined;
1371
+ system?: string | {
1372
+ type: "text";
1373
+ text: string;
1374
+ cache_control?: {
1375
+ type: "ephemeral";
1376
+ ttl?: "5m" | "1h" | undefined;
1377
+ } | undefined;
1378
+ }[] | undefined;
1379
+ tools?: ({
1380
+ name: string;
1381
+ input_schema: {
1382
+ type: "object";
1383
+ properties?: Record<string, unknown> | undefined;
1384
+ required?: string[] | undefined;
1385
+ };
1386
+ type?: "custom" | undefined;
1387
+ cache_control?: {
1388
+ type: "ephemeral";
1389
+ } | undefined;
1390
+ description?: string | undefined;
1391
+ } | {
1392
+ type: "bash_20250124";
1393
+ cache_control?: {
1394
+ type: "ephemeral";
1395
+ } | undefined;
1396
+ name?: "bash" | undefined;
1397
+ } | {
1398
+ type: "text_editor_20250124";
1399
+ cache_control?: {
1400
+ type: "ephemeral";
1401
+ } | undefined;
1402
+ name?: "str_replace_editor" | undefined;
1403
+ } | {
1404
+ type: "web_search_20250305";
1405
+ cache_control?: {
1406
+ type: "ephemeral";
1407
+ } | undefined;
1408
+ name?: "web_search" | undefined;
1409
+ max_uses?: number | undefined;
1410
+ allowed_domains?: string[] | undefined;
1411
+ blocked_domains?: string[] | undefined;
1412
+ user_location?: {
1413
+ type: "approximate";
1414
+ city?: string | undefined;
1415
+ region?: string | undefined;
1416
+ country?: string | undefined;
1417
+ timezone?: string | undefined;
1418
+ } | undefined;
1419
+ } | {
1420
+ type: "code_execution_20250522";
1421
+ cache_control?: {
1422
+ type: "ephemeral";
1423
+ } | undefined;
1424
+ name?: "code_execution" | undefined;
1425
+ })[] | undefined;
1426
+ tool_choice?: {
1427
+ type: "auto" | "any" | "tool" | "none";
1428
+ name?: string | undefined;
1429
+ disable_parallel_tool_use?: boolean | undefined;
1430
+ } | undefined;
1431
+ }, {
1432
+ model: string;
1433
+ messages: {
1434
+ content: string | any[];
1435
+ role: "user" | "assistant";
1436
+ }[];
1437
+ thinking?: {
1438
+ type: "enabled" | "disabled" | "adaptive";
1439
+ budget_tokens?: number | undefined;
1440
+ display?: "summarized" | "omitted" | undefined;
1441
+ } | undefined;
1442
+ system?: string | {
1443
+ type: "text";
1444
+ text: string;
1445
+ cache_control?: {
1446
+ type: "ephemeral";
1447
+ ttl?: "5m" | "1h" | undefined;
1448
+ } | undefined;
1449
+ }[] | undefined;
1450
+ tools?: ({
1451
+ name: string;
1452
+ input_schema: {
1453
+ type: "object";
1454
+ properties?: Record<string, unknown> | undefined;
1455
+ required?: string[] | undefined;
1456
+ };
1457
+ type?: "custom" | undefined;
1458
+ cache_control?: {
1459
+ type: "ephemeral";
1460
+ } | undefined;
1461
+ description?: string | undefined;
1462
+ } | {
1463
+ type: "bash_20250124";
1464
+ cache_control?: {
1465
+ type: "ephemeral";
1466
+ } | undefined;
1467
+ name?: "bash" | undefined;
1468
+ } | {
1469
+ type: "text_editor_20250124";
1470
+ cache_control?: {
1471
+ type: "ephemeral";
1472
+ } | undefined;
1473
+ name?: "str_replace_editor" | undefined;
1474
+ } | {
1475
+ type: "web_search_20250305";
1476
+ cache_control?: {
1477
+ type: "ephemeral";
1478
+ } | undefined;
1479
+ name?: "web_search" | undefined;
1480
+ max_uses?: number | undefined;
1481
+ allowed_domains?: string[] | undefined;
1482
+ blocked_domains?: string[] | undefined;
1483
+ user_location?: {
1484
+ type: "approximate";
1485
+ city?: string | undefined;
1486
+ region?: string | undefined;
1487
+ country?: string | undefined;
1488
+ timezone?: string | undefined;
1489
+ } | undefined;
1490
+ } | {
1491
+ type: "code_execution_20250522";
1492
+ cache_control?: {
1493
+ type: "ephemeral";
1494
+ } | undefined;
1495
+ name?: "code_execution" | undefined;
1496
+ })[] | undefined;
1497
+ tool_choice?: {
1498
+ type: "auto" | "any" | "tool" | "none";
1499
+ name?: string | undefined;
1500
+ disable_parallel_tool_use?: boolean | undefined;
1501
+ } | undefined;
1502
+ }>;
1503
+ export declare const AnthropicBatchRequestSchema: z.ZodObject<{
1504
+ custom_id: z.ZodString;
1505
+ params: z.ZodObject<{
1506
+ model: z.ZodString;
1507
+ max_tokens: z.ZodNumber;
1508
+ messages: z.ZodArray<z.ZodObject<{
1509
+ role: z.ZodEnum<["user", "assistant"]>;
1510
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>;
1511
+ }, "strip", z.ZodTypeAny, {
1512
+ content: string | any[];
1513
+ role: "user" | "assistant";
1514
+ }, {
1515
+ content: string | any[];
1516
+ role: "user" | "assistant";
1517
+ }>, "many">;
1518
+ system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
1519
+ type: z.ZodLiteral<"text">;
1520
+ text: z.ZodString;
1521
+ cache_control: z.ZodOptional<z.ZodObject<{
1522
+ type: z.ZodLiteral<"ephemeral">;
1523
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ type: "ephemeral";
1526
+ ttl?: "5m" | "1h" | undefined;
1527
+ }, {
1528
+ type: "ephemeral";
1529
+ ttl?: "5m" | "1h" | undefined;
1530
+ }>>;
1531
+ }, "strip", z.ZodTypeAny, {
1532
+ type: "text";
1533
+ text: string;
1534
+ cache_control?: {
1535
+ type: "ephemeral";
1536
+ ttl?: "5m" | "1h" | undefined;
1537
+ } | undefined;
1538
+ }, {
1539
+ type: "text";
1540
+ text: string;
1541
+ cache_control?: {
1542
+ type: "ephemeral";
1543
+ ttl?: "5m" | "1h" | undefined;
1544
+ } | undefined;
1545
+ }>, "many">]>>;
1546
+ temperature: z.ZodOptional<z.ZodNumber>;
1547
+ top_p: z.ZodOptional<z.ZodNumber>;
1548
+ top_k: z.ZodOptional<z.ZodNumber>;
1549
+ stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1550
+ stream: z.ZodOptional<z.ZodBoolean>;
1551
+ metadata: z.ZodOptional<z.ZodObject<{
1552
+ user_id: z.ZodOptional<z.ZodString>;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ user_id?: string | undefined;
1555
+ }, {
1556
+ user_id?: string | undefined;
1557
+ }>>;
1558
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1559
+ type: z.ZodOptional<z.ZodLiteral<"custom">>;
1560
+ name: z.ZodString;
1561
+ description: z.ZodOptional<z.ZodString>;
1562
+ input_schema: z.ZodObject<{
1563
+ type: z.ZodLiteral<"object">;
1564
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1565
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ type: "object";
1568
+ properties?: Record<string, unknown> | undefined;
1569
+ required?: string[] | undefined;
1570
+ }, {
1571
+ type: "object";
1572
+ properties?: Record<string, unknown> | undefined;
1573
+ required?: string[] | undefined;
1574
+ }>;
1575
+ cache_control: z.ZodOptional<z.ZodObject<{
1576
+ type: z.ZodLiteral<"ephemeral">;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ type: "ephemeral";
1579
+ }, {
1580
+ type: "ephemeral";
1581
+ }>>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ name: string;
1584
+ input_schema: {
1585
+ type: "object";
1586
+ properties?: Record<string, unknown> | undefined;
1587
+ required?: string[] | undefined;
1588
+ };
1589
+ type?: "custom" | undefined;
1590
+ cache_control?: {
1591
+ type: "ephemeral";
1592
+ } | undefined;
1593
+ description?: string | undefined;
1594
+ }, {
1595
+ name: string;
1596
+ input_schema: {
1597
+ type: "object";
1598
+ properties?: Record<string, unknown> | undefined;
1599
+ required?: string[] | undefined;
1600
+ };
1601
+ type?: "custom" | undefined;
1602
+ cache_control?: {
1603
+ type: "ephemeral";
1604
+ } | undefined;
1605
+ description?: string | undefined;
1606
+ }>, z.ZodObject<{
1607
+ type: z.ZodLiteral<"bash_20250124">;
1608
+ name: z.ZodOptional<z.ZodLiteral<"bash">>;
1609
+ cache_control: z.ZodOptional<z.ZodObject<{
1610
+ type: z.ZodLiteral<"ephemeral">;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ type: "ephemeral";
1613
+ }, {
1614
+ type: "ephemeral";
1615
+ }>>;
1616
+ }, "strip", z.ZodTypeAny, {
1617
+ type: "bash_20250124";
1618
+ cache_control?: {
1619
+ type: "ephemeral";
1620
+ } | undefined;
1621
+ name?: "bash" | undefined;
1622
+ }, {
1623
+ type: "bash_20250124";
1624
+ cache_control?: {
1625
+ type: "ephemeral";
1626
+ } | undefined;
1627
+ name?: "bash" | undefined;
1628
+ }>, z.ZodObject<{
1629
+ type: z.ZodLiteral<"text_editor_20250124">;
1630
+ name: z.ZodOptional<z.ZodLiteral<"str_replace_editor">>;
1631
+ cache_control: z.ZodOptional<z.ZodObject<{
1632
+ type: z.ZodLiteral<"ephemeral">;
1633
+ }, "strip", z.ZodTypeAny, {
1634
+ type: "ephemeral";
1635
+ }, {
1636
+ type: "ephemeral";
1637
+ }>>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ type: "text_editor_20250124";
1640
+ cache_control?: {
1641
+ type: "ephemeral";
1642
+ } | undefined;
1643
+ name?: "str_replace_editor" | undefined;
1644
+ }, {
1645
+ type: "text_editor_20250124";
1646
+ cache_control?: {
1647
+ type: "ephemeral";
1648
+ } | undefined;
1649
+ name?: "str_replace_editor" | undefined;
1650
+ }>, z.ZodObject<{
1651
+ type: z.ZodLiteral<"web_search_20250305">;
1652
+ name: z.ZodOptional<z.ZodLiteral<"web_search">>;
1653
+ max_uses: z.ZodOptional<z.ZodNumber>;
1654
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1655
+ blocked_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1656
+ user_location: z.ZodOptional<z.ZodObject<{
1657
+ type: z.ZodLiteral<"approximate">;
1658
+ city: z.ZodOptional<z.ZodString>;
1659
+ region: z.ZodOptional<z.ZodString>;
1660
+ country: z.ZodOptional<z.ZodString>;
1661
+ timezone: z.ZodOptional<z.ZodString>;
1662
+ }, "strip", z.ZodTypeAny, {
1663
+ type: "approximate";
1664
+ city?: string | undefined;
1665
+ region?: string | undefined;
1666
+ country?: string | undefined;
1667
+ timezone?: string | undefined;
1668
+ }, {
1669
+ type: "approximate";
1670
+ city?: string | undefined;
1671
+ region?: string | undefined;
1672
+ country?: string | undefined;
1673
+ timezone?: string | undefined;
1674
+ }>>;
1675
+ cache_control: z.ZodOptional<z.ZodObject<{
1676
+ type: z.ZodLiteral<"ephemeral">;
1677
+ }, "strip", z.ZodTypeAny, {
1678
+ type: "ephemeral";
1679
+ }, {
1680
+ type: "ephemeral";
1681
+ }>>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ type: "web_search_20250305";
1684
+ cache_control?: {
1685
+ type: "ephemeral";
1686
+ } | undefined;
1687
+ name?: "web_search" | undefined;
1688
+ max_uses?: number | undefined;
1689
+ allowed_domains?: string[] | undefined;
1690
+ blocked_domains?: string[] | undefined;
1691
+ user_location?: {
1692
+ type: "approximate";
1693
+ city?: string | undefined;
1694
+ region?: string | undefined;
1695
+ country?: string | undefined;
1696
+ timezone?: string | undefined;
1697
+ } | undefined;
1698
+ }, {
1699
+ type: "web_search_20250305";
1700
+ cache_control?: {
1701
+ type: "ephemeral";
1702
+ } | undefined;
1703
+ name?: "web_search" | undefined;
1704
+ max_uses?: number | undefined;
1705
+ allowed_domains?: string[] | undefined;
1706
+ blocked_domains?: string[] | undefined;
1707
+ user_location?: {
1708
+ type: "approximate";
1709
+ city?: string | undefined;
1710
+ region?: string | undefined;
1711
+ country?: string | undefined;
1712
+ timezone?: string | undefined;
1713
+ } | undefined;
1714
+ }>, z.ZodObject<{
1715
+ type: z.ZodLiteral<"code_execution_20250522">;
1716
+ name: z.ZodOptional<z.ZodLiteral<"code_execution">>;
1717
+ cache_control: z.ZodOptional<z.ZodObject<{
1718
+ type: z.ZodLiteral<"ephemeral">;
1719
+ }, "strip", z.ZodTypeAny, {
1720
+ type: "ephemeral";
1721
+ }, {
1722
+ type: "ephemeral";
1723
+ }>>;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ type: "code_execution_20250522";
1726
+ cache_control?: {
1727
+ type: "ephemeral";
1728
+ } | undefined;
1729
+ name?: "code_execution" | undefined;
1730
+ }, {
1731
+ type: "code_execution_20250522";
1732
+ cache_control?: {
1733
+ type: "ephemeral";
1734
+ } | undefined;
1735
+ name?: "code_execution" | undefined;
1736
+ }>]>, "many">>;
1737
+ tool_choice: z.ZodOptional<z.ZodObject<{
1738
+ type: z.ZodEnum<["auto", "any", "tool", "none"]>;
1739
+ name: z.ZodOptional<z.ZodString>;
1740
+ disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
1741
+ }, "strip", z.ZodTypeAny, {
1742
+ type: "auto" | "any" | "tool" | "none";
1743
+ name?: string | undefined;
1744
+ disable_parallel_tool_use?: boolean | undefined;
1745
+ }, {
1746
+ type: "auto" | "any" | "tool" | "none";
1747
+ name?: string | undefined;
1748
+ disable_parallel_tool_use?: boolean | undefined;
1749
+ }>>;
1750
+ thinking: z.ZodOptional<z.ZodObject<{
1751
+ type: z.ZodEnum<["enabled", "disabled", "adaptive"]>;
1752
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
1753
+ display: z.ZodOptional<z.ZodEnum<["summarized", "omitted"]>>;
1754
+ }, "strip", z.ZodTypeAny, {
1755
+ type: "enabled" | "disabled" | "adaptive";
1756
+ budget_tokens?: number | undefined;
1757
+ display?: "summarized" | "omitted" | undefined;
1758
+ }, {
1759
+ type: "enabled" | "disabled" | "adaptive";
1760
+ budget_tokens?: number | undefined;
1761
+ display?: "summarized" | "omitted" | undefined;
1762
+ }>>;
1763
+ service_tier: z.ZodOptional<z.ZodEnum<["auto", "standard_only"]>>;
1764
+ container: z.ZodOptional<z.ZodString>;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ model: string;
1767
+ max_tokens: number;
1768
+ messages: {
1769
+ content: string | any[];
1770
+ role: "user" | "assistant";
1771
+ }[];
1772
+ thinking?: {
1773
+ type: "enabled" | "disabled" | "adaptive";
1774
+ budget_tokens?: number | undefined;
1775
+ display?: "summarized" | "omitted" | undefined;
1776
+ } | undefined;
1777
+ system?: string | {
1778
+ type: "text";
1779
+ text: string;
1780
+ cache_control?: {
1781
+ type: "ephemeral";
1782
+ ttl?: "5m" | "1h" | undefined;
1783
+ } | undefined;
1784
+ }[] | undefined;
1785
+ temperature?: number | undefined;
1786
+ top_p?: number | undefined;
1787
+ top_k?: number | undefined;
1788
+ stop_sequences?: string[] | undefined;
1789
+ stream?: boolean | undefined;
1790
+ metadata?: {
1791
+ user_id?: string | undefined;
1792
+ } | undefined;
1793
+ tools?: ({
1794
+ name: string;
1795
+ input_schema: {
1796
+ type: "object";
1797
+ properties?: Record<string, unknown> | undefined;
1798
+ required?: string[] | undefined;
1799
+ };
1800
+ type?: "custom" | undefined;
1801
+ cache_control?: {
1802
+ type: "ephemeral";
1803
+ } | undefined;
1804
+ description?: string | undefined;
1805
+ } | {
1806
+ type: "bash_20250124";
1807
+ cache_control?: {
1808
+ type: "ephemeral";
1809
+ } | undefined;
1810
+ name?: "bash" | undefined;
1811
+ } | {
1812
+ type: "text_editor_20250124";
1813
+ cache_control?: {
1814
+ type: "ephemeral";
1815
+ } | undefined;
1816
+ name?: "str_replace_editor" | undefined;
1817
+ } | {
1818
+ type: "web_search_20250305";
1819
+ cache_control?: {
1820
+ type: "ephemeral";
1821
+ } | undefined;
1822
+ name?: "web_search" | undefined;
1823
+ max_uses?: number | undefined;
1824
+ allowed_domains?: string[] | undefined;
1825
+ blocked_domains?: string[] | undefined;
1826
+ user_location?: {
1827
+ type: "approximate";
1828
+ city?: string | undefined;
1829
+ region?: string | undefined;
1830
+ country?: string | undefined;
1831
+ timezone?: string | undefined;
1832
+ } | undefined;
1833
+ } | {
1834
+ type: "code_execution_20250522";
1835
+ cache_control?: {
1836
+ type: "ephemeral";
1837
+ } | undefined;
1838
+ name?: "code_execution" | undefined;
1839
+ })[] | undefined;
1840
+ tool_choice?: {
1841
+ type: "auto" | "any" | "tool" | "none";
1842
+ name?: string | undefined;
1843
+ disable_parallel_tool_use?: boolean | undefined;
1844
+ } | undefined;
1845
+ service_tier?: "auto" | "standard_only" | undefined;
1846
+ container?: string | undefined;
1847
+ }, {
1848
+ model: string;
1849
+ max_tokens: number;
1850
+ messages: {
1851
+ content: string | any[];
1852
+ role: "user" | "assistant";
1853
+ }[];
1854
+ thinking?: {
1855
+ type: "enabled" | "disabled" | "adaptive";
1856
+ budget_tokens?: number | undefined;
1857
+ display?: "summarized" | "omitted" | undefined;
1858
+ } | undefined;
1859
+ system?: string | {
1860
+ type: "text";
1861
+ text: string;
1862
+ cache_control?: {
1863
+ type: "ephemeral";
1864
+ ttl?: "5m" | "1h" | undefined;
1865
+ } | undefined;
1866
+ }[] | undefined;
1867
+ temperature?: number | undefined;
1868
+ top_p?: number | undefined;
1869
+ top_k?: number | undefined;
1870
+ stop_sequences?: string[] | undefined;
1871
+ stream?: boolean | undefined;
1872
+ metadata?: {
1873
+ user_id?: string | undefined;
1874
+ } | undefined;
1875
+ tools?: ({
1876
+ name: string;
1877
+ input_schema: {
1878
+ type: "object";
1879
+ properties?: Record<string, unknown> | undefined;
1880
+ required?: string[] | undefined;
1881
+ };
1882
+ type?: "custom" | undefined;
1883
+ cache_control?: {
1884
+ type: "ephemeral";
1885
+ } | undefined;
1886
+ description?: string | undefined;
1887
+ } | {
1888
+ type: "bash_20250124";
1889
+ cache_control?: {
1890
+ type: "ephemeral";
1891
+ } | undefined;
1892
+ name?: "bash" | undefined;
1893
+ } | {
1894
+ type: "text_editor_20250124";
1895
+ cache_control?: {
1896
+ type: "ephemeral";
1897
+ } | undefined;
1898
+ name?: "str_replace_editor" | undefined;
1899
+ } | {
1900
+ type: "web_search_20250305";
1901
+ cache_control?: {
1902
+ type: "ephemeral";
1903
+ } | undefined;
1904
+ name?: "web_search" | undefined;
1905
+ max_uses?: number | undefined;
1906
+ allowed_domains?: string[] | undefined;
1907
+ blocked_domains?: string[] | undefined;
1908
+ user_location?: {
1909
+ type: "approximate";
1910
+ city?: string | undefined;
1911
+ region?: string | undefined;
1912
+ country?: string | undefined;
1913
+ timezone?: string | undefined;
1914
+ } | undefined;
1915
+ } | {
1916
+ type: "code_execution_20250522";
1917
+ cache_control?: {
1918
+ type: "ephemeral";
1919
+ } | undefined;
1920
+ name?: "code_execution" | undefined;
1921
+ })[] | undefined;
1922
+ tool_choice?: {
1923
+ type: "auto" | "any" | "tool" | "none";
1924
+ name?: string | undefined;
1925
+ disable_parallel_tool_use?: boolean | undefined;
1926
+ } | undefined;
1927
+ service_tier?: "auto" | "standard_only" | undefined;
1928
+ container?: string | undefined;
1929
+ }>;
1930
+ }, "strip", z.ZodTypeAny, {
1931
+ params: {
1932
+ model: string;
1933
+ max_tokens: number;
1934
+ messages: {
1935
+ content: string | any[];
1936
+ role: "user" | "assistant";
1937
+ }[];
1938
+ thinking?: {
1939
+ type: "enabled" | "disabled" | "adaptive";
1940
+ budget_tokens?: number | undefined;
1941
+ display?: "summarized" | "omitted" | undefined;
1942
+ } | undefined;
1943
+ system?: string | {
1944
+ type: "text";
1945
+ text: string;
1946
+ cache_control?: {
1947
+ type: "ephemeral";
1948
+ ttl?: "5m" | "1h" | undefined;
1949
+ } | undefined;
1950
+ }[] | undefined;
1951
+ temperature?: number | undefined;
1952
+ top_p?: number | undefined;
1953
+ top_k?: number | undefined;
1954
+ stop_sequences?: string[] | undefined;
1955
+ stream?: boolean | undefined;
1956
+ metadata?: {
1957
+ user_id?: string | undefined;
1958
+ } | undefined;
1959
+ tools?: ({
1960
+ name: string;
1961
+ input_schema: {
1962
+ type: "object";
1963
+ properties?: Record<string, unknown> | undefined;
1964
+ required?: string[] | undefined;
1965
+ };
1966
+ type?: "custom" | undefined;
1967
+ cache_control?: {
1968
+ type: "ephemeral";
1969
+ } | undefined;
1970
+ description?: string | undefined;
1971
+ } | {
1972
+ type: "bash_20250124";
1973
+ cache_control?: {
1974
+ type: "ephemeral";
1975
+ } | undefined;
1976
+ name?: "bash" | undefined;
1977
+ } | {
1978
+ type: "text_editor_20250124";
1979
+ cache_control?: {
1980
+ type: "ephemeral";
1981
+ } | undefined;
1982
+ name?: "str_replace_editor" | undefined;
1983
+ } | {
1984
+ type: "web_search_20250305";
1985
+ cache_control?: {
1986
+ type: "ephemeral";
1987
+ } | undefined;
1988
+ name?: "web_search" | undefined;
1989
+ max_uses?: number | undefined;
1990
+ allowed_domains?: string[] | undefined;
1991
+ blocked_domains?: string[] | undefined;
1992
+ user_location?: {
1993
+ type: "approximate";
1994
+ city?: string | undefined;
1995
+ region?: string | undefined;
1996
+ country?: string | undefined;
1997
+ timezone?: string | undefined;
1998
+ } | undefined;
1999
+ } | {
2000
+ type: "code_execution_20250522";
2001
+ cache_control?: {
2002
+ type: "ephemeral";
2003
+ } | undefined;
2004
+ name?: "code_execution" | undefined;
2005
+ })[] | undefined;
2006
+ tool_choice?: {
2007
+ type: "auto" | "any" | "tool" | "none";
2008
+ name?: string | undefined;
2009
+ disable_parallel_tool_use?: boolean | undefined;
2010
+ } | undefined;
2011
+ service_tier?: "auto" | "standard_only" | undefined;
2012
+ container?: string | undefined;
2013
+ };
2014
+ custom_id: string;
2015
+ }, {
2016
+ params: {
2017
+ model: string;
2018
+ max_tokens: number;
2019
+ messages: {
2020
+ content: string | any[];
2021
+ role: "user" | "assistant";
2022
+ }[];
2023
+ thinking?: {
2024
+ type: "enabled" | "disabled" | "adaptive";
2025
+ budget_tokens?: number | undefined;
2026
+ display?: "summarized" | "omitted" | undefined;
2027
+ } | undefined;
2028
+ system?: string | {
2029
+ type: "text";
2030
+ text: string;
2031
+ cache_control?: {
2032
+ type: "ephemeral";
2033
+ ttl?: "5m" | "1h" | undefined;
2034
+ } | undefined;
2035
+ }[] | undefined;
2036
+ temperature?: number | undefined;
2037
+ top_p?: number | undefined;
2038
+ top_k?: number | undefined;
2039
+ stop_sequences?: string[] | undefined;
2040
+ stream?: boolean | undefined;
2041
+ metadata?: {
2042
+ user_id?: string | undefined;
2043
+ } | undefined;
2044
+ tools?: ({
2045
+ name: string;
2046
+ input_schema: {
2047
+ type: "object";
2048
+ properties?: Record<string, unknown> | undefined;
2049
+ required?: string[] | undefined;
2050
+ };
2051
+ type?: "custom" | undefined;
2052
+ cache_control?: {
2053
+ type: "ephemeral";
2054
+ } | undefined;
2055
+ description?: string | undefined;
2056
+ } | {
2057
+ type: "bash_20250124";
2058
+ cache_control?: {
2059
+ type: "ephemeral";
2060
+ } | undefined;
2061
+ name?: "bash" | undefined;
2062
+ } | {
2063
+ type: "text_editor_20250124";
2064
+ cache_control?: {
2065
+ type: "ephemeral";
2066
+ } | undefined;
2067
+ name?: "str_replace_editor" | undefined;
2068
+ } | {
2069
+ type: "web_search_20250305";
2070
+ cache_control?: {
2071
+ type: "ephemeral";
2072
+ } | undefined;
2073
+ name?: "web_search" | undefined;
2074
+ max_uses?: number | undefined;
2075
+ allowed_domains?: string[] | undefined;
2076
+ blocked_domains?: string[] | undefined;
2077
+ user_location?: {
2078
+ type: "approximate";
2079
+ city?: string | undefined;
2080
+ region?: string | undefined;
2081
+ country?: string | undefined;
2082
+ timezone?: string | undefined;
2083
+ } | undefined;
2084
+ } | {
2085
+ type: "code_execution_20250522";
2086
+ cache_control?: {
2087
+ type: "ephemeral";
2088
+ } | undefined;
2089
+ name?: "code_execution" | undefined;
2090
+ })[] | undefined;
2091
+ tool_choice?: {
2092
+ type: "auto" | "any" | "tool" | "none";
2093
+ name?: string | undefined;
2094
+ disable_parallel_tool_use?: boolean | undefined;
2095
+ } | undefined;
2096
+ service_tier?: "auto" | "standard_only" | undefined;
2097
+ container?: string | undefined;
2098
+ };
2099
+ custom_id: string;
2100
+ }>;
2101
+ export declare const AnthropicBatchCreateRequestSchema: z.ZodObject<{
2102
+ requests: z.ZodArray<z.ZodObject<{
2103
+ custom_id: z.ZodString;
2104
+ params: z.ZodObject<{
2105
+ model: z.ZodString;
2106
+ max_tokens: z.ZodNumber;
2107
+ messages: z.ZodArray<z.ZodObject<{
2108
+ role: z.ZodEnum<["user", "assistant"]>;
2109
+ content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">]>;
2110
+ }, "strip", z.ZodTypeAny, {
2111
+ content: string | any[];
2112
+ role: "user" | "assistant";
2113
+ }, {
2114
+ content: string | any[];
2115
+ role: "user" | "assistant";
2116
+ }>, "many">;
2117
+ system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
2118
+ type: z.ZodLiteral<"text">;
2119
+ text: z.ZodString;
2120
+ cache_control: z.ZodOptional<z.ZodObject<{
2121
+ type: z.ZodLiteral<"ephemeral">;
2122
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
2123
+ }, "strip", z.ZodTypeAny, {
2124
+ type: "ephemeral";
2125
+ ttl?: "5m" | "1h" | undefined;
2126
+ }, {
2127
+ type: "ephemeral";
2128
+ ttl?: "5m" | "1h" | undefined;
2129
+ }>>;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ type: "text";
2132
+ text: string;
2133
+ cache_control?: {
2134
+ type: "ephemeral";
2135
+ ttl?: "5m" | "1h" | undefined;
2136
+ } | undefined;
2137
+ }, {
2138
+ type: "text";
2139
+ text: string;
2140
+ cache_control?: {
2141
+ type: "ephemeral";
2142
+ ttl?: "5m" | "1h" | undefined;
2143
+ } | undefined;
2144
+ }>, "many">]>>;
2145
+ temperature: z.ZodOptional<z.ZodNumber>;
2146
+ top_p: z.ZodOptional<z.ZodNumber>;
2147
+ top_k: z.ZodOptional<z.ZodNumber>;
2148
+ stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2149
+ stream: z.ZodOptional<z.ZodBoolean>;
2150
+ metadata: z.ZodOptional<z.ZodObject<{
2151
+ user_id: z.ZodOptional<z.ZodString>;
2152
+ }, "strip", z.ZodTypeAny, {
2153
+ user_id?: string | undefined;
2154
+ }, {
2155
+ user_id?: string | undefined;
2156
+ }>>;
2157
+ tools: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2158
+ type: z.ZodOptional<z.ZodLiteral<"custom">>;
2159
+ name: z.ZodString;
2160
+ description: z.ZodOptional<z.ZodString>;
2161
+ input_schema: z.ZodObject<{
2162
+ type: z.ZodLiteral<"object">;
2163
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2164
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ type: "object";
2167
+ properties?: Record<string, unknown> | undefined;
2168
+ required?: string[] | undefined;
2169
+ }, {
2170
+ type: "object";
2171
+ properties?: Record<string, unknown> | undefined;
2172
+ required?: string[] | undefined;
2173
+ }>;
2174
+ cache_control: z.ZodOptional<z.ZodObject<{
2175
+ type: z.ZodLiteral<"ephemeral">;
2176
+ }, "strip", z.ZodTypeAny, {
2177
+ type: "ephemeral";
2178
+ }, {
2179
+ type: "ephemeral";
2180
+ }>>;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ name: string;
2183
+ input_schema: {
2184
+ type: "object";
2185
+ properties?: Record<string, unknown> | undefined;
2186
+ required?: string[] | undefined;
2187
+ };
2188
+ type?: "custom" | undefined;
2189
+ cache_control?: {
2190
+ type: "ephemeral";
2191
+ } | undefined;
2192
+ description?: string | undefined;
2193
+ }, {
2194
+ name: string;
2195
+ input_schema: {
2196
+ type: "object";
2197
+ properties?: Record<string, unknown> | undefined;
2198
+ required?: string[] | undefined;
2199
+ };
2200
+ type?: "custom" | undefined;
2201
+ cache_control?: {
2202
+ type: "ephemeral";
2203
+ } | undefined;
2204
+ description?: string | undefined;
2205
+ }>, z.ZodObject<{
2206
+ type: z.ZodLiteral<"bash_20250124">;
2207
+ name: z.ZodOptional<z.ZodLiteral<"bash">>;
2208
+ cache_control: z.ZodOptional<z.ZodObject<{
2209
+ type: z.ZodLiteral<"ephemeral">;
2210
+ }, "strip", z.ZodTypeAny, {
2211
+ type: "ephemeral";
2212
+ }, {
2213
+ type: "ephemeral";
2214
+ }>>;
2215
+ }, "strip", z.ZodTypeAny, {
2216
+ type: "bash_20250124";
2217
+ cache_control?: {
2218
+ type: "ephemeral";
2219
+ } | undefined;
2220
+ name?: "bash" | undefined;
2221
+ }, {
2222
+ type: "bash_20250124";
2223
+ cache_control?: {
2224
+ type: "ephemeral";
2225
+ } | undefined;
2226
+ name?: "bash" | undefined;
2227
+ }>, z.ZodObject<{
2228
+ type: z.ZodLiteral<"text_editor_20250124">;
2229
+ name: z.ZodOptional<z.ZodLiteral<"str_replace_editor">>;
2230
+ cache_control: z.ZodOptional<z.ZodObject<{
2231
+ type: z.ZodLiteral<"ephemeral">;
2232
+ }, "strip", z.ZodTypeAny, {
2233
+ type: "ephemeral";
2234
+ }, {
2235
+ type: "ephemeral";
2236
+ }>>;
2237
+ }, "strip", z.ZodTypeAny, {
2238
+ type: "text_editor_20250124";
2239
+ cache_control?: {
2240
+ type: "ephemeral";
2241
+ } | undefined;
2242
+ name?: "str_replace_editor" | undefined;
2243
+ }, {
2244
+ type: "text_editor_20250124";
2245
+ cache_control?: {
2246
+ type: "ephemeral";
2247
+ } | undefined;
2248
+ name?: "str_replace_editor" | undefined;
2249
+ }>, z.ZodObject<{
2250
+ type: z.ZodLiteral<"web_search_20250305">;
2251
+ name: z.ZodOptional<z.ZodLiteral<"web_search">>;
2252
+ max_uses: z.ZodOptional<z.ZodNumber>;
2253
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2254
+ blocked_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2255
+ user_location: z.ZodOptional<z.ZodObject<{
2256
+ type: z.ZodLiteral<"approximate">;
2257
+ city: z.ZodOptional<z.ZodString>;
2258
+ region: z.ZodOptional<z.ZodString>;
2259
+ country: z.ZodOptional<z.ZodString>;
2260
+ timezone: z.ZodOptional<z.ZodString>;
2261
+ }, "strip", z.ZodTypeAny, {
2262
+ type: "approximate";
2263
+ city?: string | undefined;
2264
+ region?: string | undefined;
2265
+ country?: string | undefined;
2266
+ timezone?: string | undefined;
2267
+ }, {
2268
+ type: "approximate";
2269
+ city?: string | undefined;
2270
+ region?: string | undefined;
2271
+ country?: string | undefined;
2272
+ timezone?: string | undefined;
2273
+ }>>;
2274
+ cache_control: z.ZodOptional<z.ZodObject<{
2275
+ type: z.ZodLiteral<"ephemeral">;
2276
+ }, "strip", z.ZodTypeAny, {
2277
+ type: "ephemeral";
2278
+ }, {
2279
+ type: "ephemeral";
2280
+ }>>;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ type: "web_search_20250305";
2283
+ cache_control?: {
2284
+ type: "ephemeral";
2285
+ } | undefined;
2286
+ name?: "web_search" | undefined;
2287
+ max_uses?: number | undefined;
2288
+ allowed_domains?: string[] | undefined;
2289
+ blocked_domains?: string[] | undefined;
2290
+ user_location?: {
2291
+ type: "approximate";
2292
+ city?: string | undefined;
2293
+ region?: string | undefined;
2294
+ country?: string | undefined;
2295
+ timezone?: string | undefined;
2296
+ } | undefined;
2297
+ }, {
2298
+ type: "web_search_20250305";
2299
+ cache_control?: {
2300
+ type: "ephemeral";
2301
+ } | undefined;
2302
+ name?: "web_search" | undefined;
2303
+ max_uses?: number | undefined;
2304
+ allowed_domains?: string[] | undefined;
2305
+ blocked_domains?: string[] | undefined;
2306
+ user_location?: {
2307
+ type: "approximate";
2308
+ city?: string | undefined;
2309
+ region?: string | undefined;
2310
+ country?: string | undefined;
2311
+ timezone?: string | undefined;
2312
+ } | undefined;
2313
+ }>, z.ZodObject<{
2314
+ type: z.ZodLiteral<"code_execution_20250522">;
2315
+ name: z.ZodOptional<z.ZodLiteral<"code_execution">>;
2316
+ cache_control: z.ZodOptional<z.ZodObject<{
2317
+ type: z.ZodLiteral<"ephemeral">;
2318
+ }, "strip", z.ZodTypeAny, {
2319
+ type: "ephemeral";
2320
+ }, {
2321
+ type: "ephemeral";
2322
+ }>>;
2323
+ }, "strip", z.ZodTypeAny, {
2324
+ type: "code_execution_20250522";
2325
+ cache_control?: {
2326
+ type: "ephemeral";
2327
+ } | undefined;
2328
+ name?: "code_execution" | undefined;
2329
+ }, {
2330
+ type: "code_execution_20250522";
2331
+ cache_control?: {
2332
+ type: "ephemeral";
2333
+ } | undefined;
2334
+ name?: "code_execution" | undefined;
2335
+ }>]>, "many">>;
2336
+ tool_choice: z.ZodOptional<z.ZodObject<{
2337
+ type: z.ZodEnum<["auto", "any", "tool", "none"]>;
2338
+ name: z.ZodOptional<z.ZodString>;
2339
+ disable_parallel_tool_use: z.ZodOptional<z.ZodBoolean>;
2340
+ }, "strip", z.ZodTypeAny, {
2341
+ type: "auto" | "any" | "tool" | "none";
2342
+ name?: string | undefined;
2343
+ disable_parallel_tool_use?: boolean | undefined;
2344
+ }, {
2345
+ type: "auto" | "any" | "tool" | "none";
2346
+ name?: string | undefined;
2347
+ disable_parallel_tool_use?: boolean | undefined;
2348
+ }>>;
2349
+ thinking: z.ZodOptional<z.ZodObject<{
2350
+ type: z.ZodEnum<["enabled", "disabled", "adaptive"]>;
2351
+ budget_tokens: z.ZodOptional<z.ZodNumber>;
2352
+ display: z.ZodOptional<z.ZodEnum<["summarized", "omitted"]>>;
2353
+ }, "strip", z.ZodTypeAny, {
2354
+ type: "enabled" | "disabled" | "adaptive";
2355
+ budget_tokens?: number | undefined;
2356
+ display?: "summarized" | "omitted" | undefined;
2357
+ }, {
2358
+ type: "enabled" | "disabled" | "adaptive";
2359
+ budget_tokens?: number | undefined;
2360
+ display?: "summarized" | "omitted" | undefined;
2361
+ }>>;
2362
+ service_tier: z.ZodOptional<z.ZodEnum<["auto", "standard_only"]>>;
2363
+ container: z.ZodOptional<z.ZodString>;
2364
+ }, "strip", z.ZodTypeAny, {
2365
+ model: string;
2366
+ max_tokens: number;
2367
+ messages: {
2368
+ content: string | any[];
2369
+ role: "user" | "assistant";
2370
+ }[];
2371
+ thinking?: {
2372
+ type: "enabled" | "disabled" | "adaptive";
2373
+ budget_tokens?: number | undefined;
2374
+ display?: "summarized" | "omitted" | undefined;
2375
+ } | undefined;
2376
+ system?: string | {
2377
+ type: "text";
2378
+ text: string;
2379
+ cache_control?: {
2380
+ type: "ephemeral";
2381
+ ttl?: "5m" | "1h" | undefined;
2382
+ } | undefined;
2383
+ }[] | undefined;
2384
+ temperature?: number | undefined;
2385
+ top_p?: number | undefined;
2386
+ top_k?: number | undefined;
2387
+ stop_sequences?: string[] | undefined;
2388
+ stream?: boolean | undefined;
2389
+ metadata?: {
2390
+ user_id?: string | undefined;
2391
+ } | undefined;
2392
+ tools?: ({
2393
+ name: string;
2394
+ input_schema: {
2395
+ type: "object";
2396
+ properties?: Record<string, unknown> | undefined;
2397
+ required?: string[] | undefined;
2398
+ };
2399
+ type?: "custom" | undefined;
2400
+ cache_control?: {
2401
+ type: "ephemeral";
2402
+ } | undefined;
2403
+ description?: string | undefined;
2404
+ } | {
2405
+ type: "bash_20250124";
2406
+ cache_control?: {
2407
+ type: "ephemeral";
2408
+ } | undefined;
2409
+ name?: "bash" | undefined;
2410
+ } | {
2411
+ type: "text_editor_20250124";
2412
+ cache_control?: {
2413
+ type: "ephemeral";
2414
+ } | undefined;
2415
+ name?: "str_replace_editor" | undefined;
2416
+ } | {
2417
+ type: "web_search_20250305";
2418
+ cache_control?: {
2419
+ type: "ephemeral";
2420
+ } | undefined;
2421
+ name?: "web_search" | undefined;
2422
+ max_uses?: number | undefined;
2423
+ allowed_domains?: string[] | undefined;
2424
+ blocked_domains?: string[] | undefined;
2425
+ user_location?: {
2426
+ type: "approximate";
2427
+ city?: string | undefined;
2428
+ region?: string | undefined;
2429
+ country?: string | undefined;
2430
+ timezone?: string | undefined;
2431
+ } | undefined;
2432
+ } | {
2433
+ type: "code_execution_20250522";
2434
+ cache_control?: {
2435
+ type: "ephemeral";
2436
+ } | undefined;
2437
+ name?: "code_execution" | undefined;
2438
+ })[] | undefined;
2439
+ tool_choice?: {
2440
+ type: "auto" | "any" | "tool" | "none";
2441
+ name?: string | undefined;
2442
+ disable_parallel_tool_use?: boolean | undefined;
2443
+ } | undefined;
2444
+ service_tier?: "auto" | "standard_only" | undefined;
2445
+ container?: string | undefined;
2446
+ }, {
2447
+ model: string;
2448
+ max_tokens: number;
2449
+ messages: {
2450
+ content: string | any[];
2451
+ role: "user" | "assistant";
2452
+ }[];
2453
+ thinking?: {
2454
+ type: "enabled" | "disabled" | "adaptive";
2455
+ budget_tokens?: number | undefined;
2456
+ display?: "summarized" | "omitted" | undefined;
2457
+ } | undefined;
2458
+ system?: string | {
2459
+ type: "text";
2460
+ text: string;
2461
+ cache_control?: {
2462
+ type: "ephemeral";
2463
+ ttl?: "5m" | "1h" | undefined;
2464
+ } | undefined;
2465
+ }[] | undefined;
2466
+ temperature?: number | undefined;
2467
+ top_p?: number | undefined;
2468
+ top_k?: number | undefined;
2469
+ stop_sequences?: string[] | undefined;
2470
+ stream?: boolean | undefined;
2471
+ metadata?: {
2472
+ user_id?: string | undefined;
2473
+ } | undefined;
2474
+ tools?: ({
2475
+ name: string;
2476
+ input_schema: {
2477
+ type: "object";
2478
+ properties?: Record<string, unknown> | undefined;
2479
+ required?: string[] | undefined;
2480
+ };
2481
+ type?: "custom" | undefined;
2482
+ cache_control?: {
2483
+ type: "ephemeral";
2484
+ } | undefined;
2485
+ description?: string | undefined;
2486
+ } | {
2487
+ type: "bash_20250124";
2488
+ cache_control?: {
2489
+ type: "ephemeral";
2490
+ } | undefined;
2491
+ name?: "bash" | undefined;
2492
+ } | {
2493
+ type: "text_editor_20250124";
2494
+ cache_control?: {
2495
+ type: "ephemeral";
2496
+ } | undefined;
2497
+ name?: "str_replace_editor" | undefined;
2498
+ } | {
2499
+ type: "web_search_20250305";
2500
+ cache_control?: {
2501
+ type: "ephemeral";
2502
+ } | undefined;
2503
+ name?: "web_search" | undefined;
2504
+ max_uses?: number | undefined;
2505
+ allowed_domains?: string[] | undefined;
2506
+ blocked_domains?: string[] | undefined;
2507
+ user_location?: {
2508
+ type: "approximate";
2509
+ city?: string | undefined;
2510
+ region?: string | undefined;
2511
+ country?: string | undefined;
2512
+ timezone?: string | undefined;
2513
+ } | undefined;
2514
+ } | {
2515
+ type: "code_execution_20250522";
2516
+ cache_control?: {
2517
+ type: "ephemeral";
2518
+ } | undefined;
2519
+ name?: "code_execution" | undefined;
2520
+ })[] | undefined;
2521
+ tool_choice?: {
2522
+ type: "auto" | "any" | "tool" | "none";
2523
+ name?: string | undefined;
2524
+ disable_parallel_tool_use?: boolean | undefined;
2525
+ } | undefined;
2526
+ service_tier?: "auto" | "standard_only" | undefined;
2527
+ container?: string | undefined;
2528
+ }>;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ params: {
2531
+ model: string;
2532
+ max_tokens: number;
2533
+ messages: {
2534
+ content: string | any[];
2535
+ role: "user" | "assistant";
2536
+ }[];
2537
+ thinking?: {
2538
+ type: "enabled" | "disabled" | "adaptive";
2539
+ budget_tokens?: number | undefined;
2540
+ display?: "summarized" | "omitted" | undefined;
2541
+ } | undefined;
2542
+ system?: string | {
2543
+ type: "text";
2544
+ text: string;
2545
+ cache_control?: {
2546
+ type: "ephemeral";
2547
+ ttl?: "5m" | "1h" | undefined;
2548
+ } | undefined;
2549
+ }[] | undefined;
2550
+ temperature?: number | undefined;
2551
+ top_p?: number | undefined;
2552
+ top_k?: number | undefined;
2553
+ stop_sequences?: string[] | undefined;
2554
+ stream?: boolean | undefined;
2555
+ metadata?: {
2556
+ user_id?: string | undefined;
2557
+ } | undefined;
2558
+ tools?: ({
2559
+ name: string;
2560
+ input_schema: {
2561
+ type: "object";
2562
+ properties?: Record<string, unknown> | undefined;
2563
+ required?: string[] | undefined;
2564
+ };
2565
+ type?: "custom" | undefined;
2566
+ cache_control?: {
2567
+ type: "ephemeral";
2568
+ } | undefined;
2569
+ description?: string | undefined;
2570
+ } | {
2571
+ type: "bash_20250124";
2572
+ cache_control?: {
2573
+ type: "ephemeral";
2574
+ } | undefined;
2575
+ name?: "bash" | undefined;
2576
+ } | {
2577
+ type: "text_editor_20250124";
2578
+ cache_control?: {
2579
+ type: "ephemeral";
2580
+ } | undefined;
2581
+ name?: "str_replace_editor" | undefined;
2582
+ } | {
2583
+ type: "web_search_20250305";
2584
+ cache_control?: {
2585
+ type: "ephemeral";
2586
+ } | undefined;
2587
+ name?: "web_search" | undefined;
2588
+ max_uses?: number | undefined;
2589
+ allowed_domains?: string[] | undefined;
2590
+ blocked_domains?: string[] | undefined;
2591
+ user_location?: {
2592
+ type: "approximate";
2593
+ city?: string | undefined;
2594
+ region?: string | undefined;
2595
+ country?: string | undefined;
2596
+ timezone?: string | undefined;
2597
+ } | undefined;
2598
+ } | {
2599
+ type: "code_execution_20250522";
2600
+ cache_control?: {
2601
+ type: "ephemeral";
2602
+ } | undefined;
2603
+ name?: "code_execution" | undefined;
2604
+ })[] | undefined;
2605
+ tool_choice?: {
2606
+ type: "auto" | "any" | "tool" | "none";
2607
+ name?: string | undefined;
2608
+ disable_parallel_tool_use?: boolean | undefined;
2609
+ } | undefined;
2610
+ service_tier?: "auto" | "standard_only" | undefined;
2611
+ container?: string | undefined;
2612
+ };
2613
+ custom_id: string;
2614
+ }, {
2615
+ params: {
2616
+ model: string;
2617
+ max_tokens: number;
2618
+ messages: {
2619
+ content: string | any[];
2620
+ role: "user" | "assistant";
2621
+ }[];
2622
+ thinking?: {
2623
+ type: "enabled" | "disabled" | "adaptive";
2624
+ budget_tokens?: number | undefined;
2625
+ display?: "summarized" | "omitted" | undefined;
2626
+ } | undefined;
2627
+ system?: string | {
2628
+ type: "text";
2629
+ text: string;
2630
+ cache_control?: {
2631
+ type: "ephemeral";
2632
+ ttl?: "5m" | "1h" | undefined;
2633
+ } | undefined;
2634
+ }[] | undefined;
2635
+ temperature?: number | undefined;
2636
+ top_p?: number | undefined;
2637
+ top_k?: number | undefined;
2638
+ stop_sequences?: string[] | undefined;
2639
+ stream?: boolean | undefined;
2640
+ metadata?: {
2641
+ user_id?: string | undefined;
2642
+ } | undefined;
2643
+ tools?: ({
2644
+ name: string;
2645
+ input_schema: {
2646
+ type: "object";
2647
+ properties?: Record<string, unknown> | undefined;
2648
+ required?: string[] | undefined;
2649
+ };
2650
+ type?: "custom" | undefined;
2651
+ cache_control?: {
2652
+ type: "ephemeral";
2653
+ } | undefined;
2654
+ description?: string | undefined;
2655
+ } | {
2656
+ type: "bash_20250124";
2657
+ cache_control?: {
2658
+ type: "ephemeral";
2659
+ } | undefined;
2660
+ name?: "bash" | undefined;
2661
+ } | {
2662
+ type: "text_editor_20250124";
2663
+ cache_control?: {
2664
+ type: "ephemeral";
2665
+ } | undefined;
2666
+ name?: "str_replace_editor" | undefined;
2667
+ } | {
2668
+ type: "web_search_20250305";
2669
+ cache_control?: {
2670
+ type: "ephemeral";
2671
+ } | undefined;
2672
+ name?: "web_search" | undefined;
2673
+ max_uses?: number | undefined;
2674
+ allowed_domains?: string[] | undefined;
2675
+ blocked_domains?: string[] | undefined;
2676
+ user_location?: {
2677
+ type: "approximate";
2678
+ city?: string | undefined;
2679
+ region?: string | undefined;
2680
+ country?: string | undefined;
2681
+ timezone?: string | undefined;
2682
+ } | undefined;
2683
+ } | {
2684
+ type: "code_execution_20250522";
2685
+ cache_control?: {
2686
+ type: "ephemeral";
2687
+ } | undefined;
2688
+ name?: "code_execution" | undefined;
2689
+ })[] | undefined;
2690
+ tool_choice?: {
2691
+ type: "auto" | "any" | "tool" | "none";
2692
+ name?: string | undefined;
2693
+ disable_parallel_tool_use?: boolean | undefined;
2694
+ } | undefined;
2695
+ service_tier?: "auto" | "standard_only" | undefined;
2696
+ container?: string | undefined;
2697
+ };
2698
+ custom_id: string;
2699
+ }>, "many">;
2700
+ }, "strip", z.ZodTypeAny, {
2701
+ requests: {
2702
+ params: {
2703
+ model: string;
2704
+ max_tokens: number;
2705
+ messages: {
2706
+ content: string | any[];
2707
+ role: "user" | "assistant";
2708
+ }[];
2709
+ thinking?: {
2710
+ type: "enabled" | "disabled" | "adaptive";
2711
+ budget_tokens?: number | undefined;
2712
+ display?: "summarized" | "omitted" | undefined;
2713
+ } | undefined;
2714
+ system?: string | {
2715
+ type: "text";
2716
+ text: string;
2717
+ cache_control?: {
2718
+ type: "ephemeral";
2719
+ ttl?: "5m" | "1h" | undefined;
2720
+ } | undefined;
2721
+ }[] | undefined;
2722
+ temperature?: number | undefined;
2723
+ top_p?: number | undefined;
2724
+ top_k?: number | undefined;
2725
+ stop_sequences?: string[] | undefined;
2726
+ stream?: boolean | undefined;
2727
+ metadata?: {
2728
+ user_id?: string | undefined;
2729
+ } | undefined;
2730
+ tools?: ({
2731
+ name: string;
2732
+ input_schema: {
2733
+ type: "object";
2734
+ properties?: Record<string, unknown> | undefined;
2735
+ required?: string[] | undefined;
2736
+ };
2737
+ type?: "custom" | undefined;
2738
+ cache_control?: {
2739
+ type: "ephemeral";
2740
+ } | undefined;
2741
+ description?: string | undefined;
2742
+ } | {
2743
+ type: "bash_20250124";
2744
+ cache_control?: {
2745
+ type: "ephemeral";
2746
+ } | undefined;
2747
+ name?: "bash" | undefined;
2748
+ } | {
2749
+ type: "text_editor_20250124";
2750
+ cache_control?: {
2751
+ type: "ephemeral";
2752
+ } | undefined;
2753
+ name?: "str_replace_editor" | undefined;
2754
+ } | {
2755
+ type: "web_search_20250305";
2756
+ cache_control?: {
2757
+ type: "ephemeral";
2758
+ } | undefined;
2759
+ name?: "web_search" | undefined;
2760
+ max_uses?: number | undefined;
2761
+ allowed_domains?: string[] | undefined;
2762
+ blocked_domains?: string[] | undefined;
2763
+ user_location?: {
2764
+ type: "approximate";
2765
+ city?: string | undefined;
2766
+ region?: string | undefined;
2767
+ country?: string | undefined;
2768
+ timezone?: string | undefined;
2769
+ } | undefined;
2770
+ } | {
2771
+ type: "code_execution_20250522";
2772
+ cache_control?: {
2773
+ type: "ephemeral";
2774
+ } | undefined;
2775
+ name?: "code_execution" | undefined;
2776
+ })[] | undefined;
2777
+ tool_choice?: {
2778
+ type: "auto" | "any" | "tool" | "none";
2779
+ name?: string | undefined;
2780
+ disable_parallel_tool_use?: boolean | undefined;
2781
+ } | undefined;
2782
+ service_tier?: "auto" | "standard_only" | undefined;
2783
+ container?: string | undefined;
2784
+ };
2785
+ custom_id: string;
2786
+ }[];
2787
+ }, {
2788
+ requests: {
2789
+ params: {
2790
+ model: string;
2791
+ max_tokens: number;
2792
+ messages: {
2793
+ content: string | any[];
2794
+ role: "user" | "assistant";
2795
+ }[];
2796
+ thinking?: {
2797
+ type: "enabled" | "disabled" | "adaptive";
2798
+ budget_tokens?: number | undefined;
2799
+ display?: "summarized" | "omitted" | undefined;
2800
+ } | undefined;
2801
+ system?: string | {
2802
+ type: "text";
2803
+ text: string;
2804
+ cache_control?: {
2805
+ type: "ephemeral";
2806
+ ttl?: "5m" | "1h" | undefined;
2807
+ } | undefined;
2808
+ }[] | undefined;
2809
+ temperature?: number | undefined;
2810
+ top_p?: number | undefined;
2811
+ top_k?: number | undefined;
2812
+ stop_sequences?: string[] | undefined;
2813
+ stream?: boolean | undefined;
2814
+ metadata?: {
2815
+ user_id?: string | undefined;
2816
+ } | undefined;
2817
+ tools?: ({
2818
+ name: string;
2819
+ input_schema: {
2820
+ type: "object";
2821
+ properties?: Record<string, unknown> | undefined;
2822
+ required?: string[] | undefined;
2823
+ };
2824
+ type?: "custom" | undefined;
2825
+ cache_control?: {
2826
+ type: "ephemeral";
2827
+ } | undefined;
2828
+ description?: string | undefined;
2829
+ } | {
2830
+ type: "bash_20250124";
2831
+ cache_control?: {
2832
+ type: "ephemeral";
2833
+ } | undefined;
2834
+ name?: "bash" | undefined;
2835
+ } | {
2836
+ type: "text_editor_20250124";
2837
+ cache_control?: {
2838
+ type: "ephemeral";
2839
+ } | undefined;
2840
+ name?: "str_replace_editor" | undefined;
2841
+ } | {
2842
+ type: "web_search_20250305";
2843
+ cache_control?: {
2844
+ type: "ephemeral";
2845
+ } | undefined;
2846
+ name?: "web_search" | undefined;
2847
+ max_uses?: number | undefined;
2848
+ allowed_domains?: string[] | undefined;
2849
+ blocked_domains?: string[] | undefined;
2850
+ user_location?: {
2851
+ type: "approximate";
2852
+ city?: string | undefined;
2853
+ region?: string | undefined;
2854
+ country?: string | undefined;
2855
+ timezone?: string | undefined;
2856
+ } | undefined;
2857
+ } | {
2858
+ type: "code_execution_20250522";
2859
+ cache_control?: {
2860
+ type: "ephemeral";
2861
+ } | undefined;
2862
+ name?: "code_execution" | undefined;
2863
+ })[] | undefined;
2864
+ tool_choice?: {
2865
+ type: "auto" | "any" | "tool" | "none";
2866
+ name?: string | undefined;
2867
+ disable_parallel_tool_use?: boolean | undefined;
2868
+ } | undefined;
2869
+ service_tier?: "auto" | "standard_only" | undefined;
2870
+ container?: string | undefined;
2871
+ };
2872
+ custom_id: string;
2873
+ }[];
2874
+ }>;
2875
+ export declare const AnthropicFileUploadRequestSchema: z.ZodObject<{
2876
+ file: z.ZodType<Blob, z.ZodTypeDef, Blob>;
2877
+ }, "strip", z.ZodTypeAny, {
2878
+ file: Blob;
2879
+ }, {
2880
+ file: Blob;
2881
+ }>;
2882
+ export declare const AnthropicSkillFileSchema: z.ZodObject<{
2883
+ data: z.ZodType<Blob, z.ZodTypeDef, Blob>;
2884
+ path: z.ZodString;
2885
+ }, "strip", z.ZodTypeAny, {
2886
+ path: string;
2887
+ data: Blob;
2888
+ }, {
2889
+ path: string;
2890
+ data: Blob;
2891
+ }>;
2892
+ export declare const AnthropicSkillsCreateRequestSchema: z.ZodObject<{
2893
+ display_title: z.ZodString;
2894
+ files: z.ZodArray<z.ZodObject<{
2895
+ data: z.ZodType<Blob, z.ZodTypeDef, Blob>;
2896
+ path: z.ZodString;
2897
+ }, "strip", z.ZodTypeAny, {
2898
+ path: string;
2899
+ data: Blob;
2900
+ }, {
2901
+ path: string;
2902
+ data: Blob;
2903
+ }>, "many">;
2904
+ }, "strip", z.ZodTypeAny, {
2905
+ display_title: string;
2906
+ files: {
2907
+ path: string;
2908
+ data: Blob;
2909
+ }[];
2910
+ }, {
2911
+ display_title: string;
2912
+ files: {
2913
+ path: string;
2914
+ data: Blob;
2915
+ }[];
2916
+ }>;
2917
+ export declare const AnthropicSkillVersionsCreateRequestSchema: z.ZodObject<{
2918
+ files: z.ZodArray<z.ZodObject<{
2919
+ data: z.ZodType<Blob, z.ZodTypeDef, Blob>;
2920
+ path: z.ZodString;
2921
+ }, "strip", z.ZodTypeAny, {
2922
+ path: string;
2923
+ data: Blob;
2924
+ }, {
2925
+ path: string;
2926
+ data: Blob;
2927
+ }>, "many">;
2928
+ }, "strip", z.ZodTypeAny, {
2929
+ files: {
2930
+ path: string;
2931
+ data: Blob;
2932
+ }[];
2933
+ }, {
2934
+ files: {
2935
+ path: string;
2936
+ data: Blob;
2937
+ }[];
2938
+ }>;
2939
+ export declare const AnthropicOptionsSchema: z.ZodObject<{
2940
+ apiKey: z.ZodString;
2941
+ baseURL: z.ZodOptional<z.ZodString>;
2942
+ timeout: z.ZodOptional<z.ZodNumber>;
2943
+ defaultVersion: z.ZodOptional<z.ZodString>;
2944
+ defaultBeta: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2945
+ fetch: z.ZodOptional<z.ZodType<(input: RequestInfo | URL, init?: RequestInit) => Promise<Response>, z.ZodTypeDef, (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>>>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ apiKey: string;
2948
+ baseURL?: string | undefined;
2949
+ timeout?: number | undefined;
2950
+ defaultVersion?: string | undefined;
2951
+ defaultBeta?: string[] | undefined;
2952
+ fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
2953
+ }, {
2954
+ apiKey: string;
2955
+ baseURL?: string | undefined;
2956
+ timeout?: number | undefined;
2957
+ defaultVersion?: string | undefined;
2958
+ defaultBeta?: string[] | undefined;
2959
+ fetch?: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) | undefined;
2960
+ }>;
2961
+ export type AnthropicCacheControl = z.infer<typeof AnthropicCacheControlSchema>;
2962
+ export type AnthropicTextBlock = z.infer<typeof AnthropicTextBlockSchema>;
2963
+ export type AnthropicImageSource = z.infer<typeof AnthropicImageSourceSchema>;
2964
+ export type AnthropicImageBlock = z.infer<typeof AnthropicImageBlockSchema>;
2965
+ export type AnthropicDocumentSource = z.infer<typeof AnthropicDocumentSourceSchema>;
2966
+ export type AnthropicDocumentBlock = z.infer<typeof AnthropicDocumentBlockSchema>;
2967
+ export type AnthropicToolUseBlock = z.infer<typeof AnthropicToolUseBlockSchema>;
2968
+ export type AnthropicToolResultBlock = z.infer<typeof AnthropicToolResultBlockSchema>;
2969
+ export type AnthropicThinkingBlock = z.infer<typeof AnthropicThinkingBlockSchema>;
2970
+ export type AnthropicRedactedThinkingBlock = z.infer<typeof AnthropicRedactedThinkingBlockSchema>;
2971
+ export type AnthropicServerToolUseBlock = z.infer<typeof AnthropicServerToolUseBlockSchema>;
2972
+ export type AnthropicServerToolResultBlock = z.infer<typeof AnthropicServerToolResultBlockSchema>;
2973
+ export type AnthropicFileBlock = z.infer<typeof AnthropicFileBlockSchema>;
2974
+ export type AnthropicContentBlock = z.infer<typeof AnthropicContentBlockSchema>;
2975
+ export type AnthropicMessage = z.infer<typeof AnthropicMessageSchema>;
2976
+ export type AnthropicToolInputSchema = z.infer<typeof AnthropicToolInputSchemaSchema>;
2977
+ export type AnthropicCustomTool = z.infer<typeof AnthropicCustomToolSchema>;
2978
+ export type AnthropicBashTool = z.infer<typeof AnthropicBashToolSchema>;
2979
+ export type AnthropicTextEditorTool = z.infer<typeof AnthropicTextEditorToolSchema>;
2980
+ export type AnthropicWebSearchTool = z.infer<typeof AnthropicWebSearchToolSchema>;
2981
+ export type AnthropicCodeExecutionTool = z.infer<typeof AnthropicCodeExecutionToolSchema>;
2982
+ export type AnthropicTool = z.infer<typeof AnthropicToolSchema>;
2983
+ export type AnthropicToolChoice = z.infer<typeof AnthropicToolChoiceSchema>;
2984
+ export type AnthropicThinkingConfig = z.infer<typeof AnthropicThinkingConfigSchema>;
2985
+ export type AnthropicMetadata = z.infer<typeof AnthropicMetadataSchema>;
2986
+ export type AnthropicMessageRequest = z.infer<typeof AnthropicMessageRequestSchema>;
2987
+ export type AnthropicCountTokensRequest = z.infer<typeof AnthropicCountTokensRequestSchema>;
2988
+ export type AnthropicBatchRequest = z.infer<typeof AnthropicBatchRequestSchema>;
2989
+ export type AnthropicBatchCreateRequest = z.infer<typeof AnthropicBatchCreateRequestSchema>;
2990
+ export type AnthropicFileUploadRequest = z.infer<typeof AnthropicFileUploadRequestSchema>;
2991
+ export type AnthropicSkillFile = z.infer<typeof AnthropicSkillFileSchema>;
2992
+ export type AnthropicSkillsCreateRequest = z.infer<typeof AnthropicSkillsCreateRequestSchema>;
2993
+ export type AnthropicSkillVersionsCreateRequest = z.infer<typeof AnthropicSkillVersionsCreateRequestSchema>;
2994
+ export type AnthropicOptions = z.infer<typeof AnthropicOptionsSchema>;
2995
+ //# sourceMappingURL=zod.d.ts.map