@promptlayer/mcp-server 1.11.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +3 -0
- package/README.md +57 -3
- package/build/client.d.ts +40 -21
- package/build/client.d.ts.map +1 -1
- package/build/client.js +47 -23
- package/build/client.js.map +1 -1
- package/build/handlers.d.ts.map +1 -1
- package/build/handlers.js +78 -23
- package/build/handlers.js.map +1 -1
- package/build/index.js +10 -5
- package/build/index.js.map +1 -1
- package/build/types.d.ts +2143 -749
- package/build/types.d.ts.map +1 -1
- package/build/types.js +588 -260
- package/build/types.js.map +1 -1
- package/build/utils.d.ts.map +1 -1
- package/build/utils.js +10 -1
- package/build/utils.js.map +1 -1
- package/gcp/app.yaml +1 -1
- package/gcp/package-lock.json +12 -12
- package/gcp/package.json +5 -3
- package/gcp/src/index.ts +101 -37
- package/package.json +6 -4
- package/src/client.ts +47 -24
- package/src/handlers.ts +150 -50
- package/src/index.ts +10 -5
- package/src/types.ts +644 -307
- package/src/utils.ts +8 -1
package/build/types.d.ts
CHANGED
|
@@ -315,369 +315,6 @@ export declare const CreateSpansBulkArgsSchema: z.ZodObject<{
|
|
|
315
315
|
spans: Record<string, unknown>[];
|
|
316
316
|
api_key?: string | undefined;
|
|
317
317
|
}>;
|
|
318
|
-
export declare const ListDatasetsArgsSchema: z.ZodObject<{
|
|
319
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
320
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
321
|
-
name: z.ZodOptional<z.ZodString>;
|
|
322
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
323
|
-
dataset_group_id: z.ZodOptional<z.ZodNumber>;
|
|
324
|
-
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
325
|
-
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
326
|
-
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
327
|
-
report_id: z.ZodOptional<z.ZodNumber>;
|
|
328
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
329
|
-
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
331
|
-
api_key?: string | undefined;
|
|
332
|
-
page?: number | undefined;
|
|
333
|
-
per_page?: number | undefined;
|
|
334
|
-
name?: string | undefined;
|
|
335
|
-
prompt_id?: number | undefined;
|
|
336
|
-
prompt_version_id?: number | undefined;
|
|
337
|
-
prompt_label_id?: number | undefined;
|
|
338
|
-
dataset_group_id?: number | undefined;
|
|
339
|
-
report_id?: number | undefined;
|
|
340
|
-
}, {
|
|
341
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
342
|
-
api_key?: string | undefined;
|
|
343
|
-
page?: number | undefined;
|
|
344
|
-
per_page?: number | undefined;
|
|
345
|
-
name?: string | undefined;
|
|
346
|
-
prompt_id?: number | undefined;
|
|
347
|
-
prompt_version_id?: number | undefined;
|
|
348
|
-
prompt_label_id?: number | undefined;
|
|
349
|
-
dataset_group_id?: number | undefined;
|
|
350
|
-
report_id?: number | undefined;
|
|
351
|
-
}>;
|
|
352
|
-
export declare const CreateDatasetGroupArgsSchema: z.ZodObject<{
|
|
353
|
-
name: z.ZodOptional<z.ZodString>;
|
|
354
|
-
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
355
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
356
|
-
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
api_key?: string | undefined;
|
|
358
|
-
name?: string | undefined;
|
|
359
|
-
folder_id?: number | undefined;
|
|
360
|
-
}, {
|
|
361
|
-
api_key?: string | undefined;
|
|
362
|
-
name?: string | undefined;
|
|
363
|
-
folder_id?: number | undefined;
|
|
364
|
-
}>;
|
|
365
|
-
export declare const CreateDatasetVersionFromFileArgsSchema: z.ZodObject<{
|
|
366
|
-
dataset_group_id: z.ZodNumber;
|
|
367
|
-
file_name: z.ZodString;
|
|
368
|
-
file_content_base64: z.ZodString;
|
|
369
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
370
|
-
}, "strip", z.ZodTypeAny, {
|
|
371
|
-
dataset_group_id: number;
|
|
372
|
-
file_name: string;
|
|
373
|
-
file_content_base64: string;
|
|
374
|
-
api_key?: string | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
dataset_group_id: number;
|
|
377
|
-
file_name: string;
|
|
378
|
-
file_content_base64: string;
|
|
379
|
-
api_key?: string | undefined;
|
|
380
|
-
}>;
|
|
381
|
-
export declare const CreateDatasetVersionFromFilterParamsArgsSchema: z.ZodObject<{
|
|
382
|
-
dataset_group_id: z.ZodNumber;
|
|
383
|
-
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
384
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
385
|
-
q: z.ZodOptional<z.ZodString>;
|
|
386
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
387
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
388
|
-
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
389
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
390
|
-
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
dataset_group_id: number;
|
|
392
|
-
api_key?: string | undefined;
|
|
393
|
-
request_log_ids?: number[] | undefined;
|
|
394
|
-
filter_group?: any;
|
|
395
|
-
q?: string | undefined;
|
|
396
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
397
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
398
|
-
variables_to_parse?: string[] | undefined;
|
|
399
|
-
}, {
|
|
400
|
-
dataset_group_id: number;
|
|
401
|
-
api_key?: string | undefined;
|
|
402
|
-
request_log_ids?: number[] | undefined;
|
|
403
|
-
filter_group?: any;
|
|
404
|
-
q?: string | undefined;
|
|
405
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
406
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
407
|
-
variables_to_parse?: string[] | undefined;
|
|
408
|
-
}>;
|
|
409
|
-
export declare const GetDatasetRowsArgsSchema: z.ZodObject<{
|
|
410
|
-
dataset_id: z.ZodNumber;
|
|
411
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
412
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
413
|
-
q: z.ZodOptional<z.ZodString>;
|
|
414
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
415
|
-
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
dataset_id: number;
|
|
417
|
-
api_key?: string | undefined;
|
|
418
|
-
page?: number | undefined;
|
|
419
|
-
per_page?: number | undefined;
|
|
420
|
-
q?: string | undefined;
|
|
421
|
-
}, {
|
|
422
|
-
dataset_id: number;
|
|
423
|
-
api_key?: string | undefined;
|
|
424
|
-
page?: number | undefined;
|
|
425
|
-
per_page?: number | undefined;
|
|
426
|
-
q?: string | undefined;
|
|
427
|
-
}>;
|
|
428
|
-
export declare const CreateDraftDatasetVersionArgsSchema: z.ZodObject<{
|
|
429
|
-
dataset_group_id: z.ZodNumber;
|
|
430
|
-
source_dataset_id: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
432
|
-
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
dataset_group_id: number;
|
|
434
|
-
api_key?: string | undefined;
|
|
435
|
-
source_dataset_id?: number | undefined;
|
|
436
|
-
}, {
|
|
437
|
-
dataset_group_id: number;
|
|
438
|
-
api_key?: string | undefined;
|
|
439
|
-
source_dataset_id?: number | undefined;
|
|
440
|
-
}>;
|
|
441
|
-
export declare const AddRequestLogToDatasetVersionArgsSchema: z.ZodObject<{
|
|
442
|
-
dataset_group_id: z.ZodNumber;
|
|
443
|
-
request_log_id: z.ZodNumber;
|
|
444
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
445
|
-
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
dataset_group_id: number;
|
|
447
|
-
request_log_id: number;
|
|
448
|
-
api_key?: string | undefined;
|
|
449
|
-
}, {
|
|
450
|
-
dataset_group_id: number;
|
|
451
|
-
request_log_id: number;
|
|
452
|
-
api_key?: string | undefined;
|
|
453
|
-
}>;
|
|
454
|
-
export declare const SaveDraftDatasetVersionArgsSchema: z.ZodObject<{
|
|
455
|
-
dataset_group_id: z.ZodNumber;
|
|
456
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
457
|
-
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
dataset_group_id: number;
|
|
459
|
-
api_key?: string | undefined;
|
|
460
|
-
}, {
|
|
461
|
-
dataset_group_id: number;
|
|
462
|
-
api_key?: string | undefined;
|
|
463
|
-
}>;
|
|
464
|
-
export declare const ListEvaluationsArgsSchema: z.ZodObject<{
|
|
465
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
466
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
467
|
-
name: z.ZodOptional<z.ZodString>;
|
|
468
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
469
|
-
include_runs: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
471
|
-
}, "strip", z.ZodTypeAny, {
|
|
472
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
473
|
-
api_key?: string | undefined;
|
|
474
|
-
page?: number | undefined;
|
|
475
|
-
per_page?: number | undefined;
|
|
476
|
-
name?: string | undefined;
|
|
477
|
-
include_runs?: boolean | undefined;
|
|
478
|
-
}, {
|
|
479
|
-
status?: "active" | "deleted" | "all" | undefined;
|
|
480
|
-
api_key?: string | undefined;
|
|
481
|
-
page?: number | undefined;
|
|
482
|
-
per_page?: number | undefined;
|
|
483
|
-
name?: string | undefined;
|
|
484
|
-
include_runs?: boolean | undefined;
|
|
485
|
-
}>;
|
|
486
|
-
export declare const GetEvaluationRowsArgsSchema: z.ZodObject<{
|
|
487
|
-
evaluation_id: z.ZodNumber;
|
|
488
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
489
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
490
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
491
|
-
}, "strip", z.ZodTypeAny, {
|
|
492
|
-
evaluation_id: number;
|
|
493
|
-
api_key?: string | undefined;
|
|
494
|
-
page?: number | undefined;
|
|
495
|
-
per_page?: number | undefined;
|
|
496
|
-
}, {
|
|
497
|
-
evaluation_id: number;
|
|
498
|
-
api_key?: string | undefined;
|
|
499
|
-
page?: number | undefined;
|
|
500
|
-
per_page?: number | undefined;
|
|
501
|
-
}>;
|
|
502
|
-
export declare const CreateReportArgsSchema: z.ZodObject<{
|
|
503
|
-
dataset_group_id: z.ZodNumber;
|
|
504
|
-
name: z.ZodOptional<z.ZodString>;
|
|
505
|
-
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
506
|
-
dataset_version_number: z.ZodOptional<z.ZodNumber>;
|
|
507
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
508
|
-
score_configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
509
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
510
|
-
}, "strip", z.ZodTypeAny, {
|
|
511
|
-
dataset_group_id: number;
|
|
512
|
-
api_key?: string | undefined;
|
|
513
|
-
name?: string | undefined;
|
|
514
|
-
folder_id?: number | undefined;
|
|
515
|
-
dataset_version_number?: number | undefined;
|
|
516
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
517
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
518
|
-
}, {
|
|
519
|
-
dataset_group_id: number;
|
|
520
|
-
api_key?: string | undefined;
|
|
521
|
-
name?: string | undefined;
|
|
522
|
-
folder_id?: number | undefined;
|
|
523
|
-
dataset_version_number?: number | undefined;
|
|
524
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
525
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
526
|
-
}>;
|
|
527
|
-
export declare const RunReportArgsSchema: z.ZodObject<{
|
|
528
|
-
report_id: z.ZodNumber;
|
|
529
|
-
name: z.ZodString;
|
|
530
|
-
dataset_id: z.ZodOptional<z.ZodNumber>;
|
|
531
|
-
refresh_dataset: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
533
|
-
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
name: string;
|
|
535
|
-
report_id: number;
|
|
536
|
-
api_key?: string | undefined;
|
|
537
|
-
dataset_id?: number | undefined;
|
|
538
|
-
refresh_dataset?: boolean | undefined;
|
|
539
|
-
}, {
|
|
540
|
-
name: string;
|
|
541
|
-
report_id: number;
|
|
542
|
-
api_key?: string | undefined;
|
|
543
|
-
dataset_id?: number | undefined;
|
|
544
|
-
refresh_dataset?: boolean | undefined;
|
|
545
|
-
}>;
|
|
546
|
-
export declare const GetReportArgsSchema: z.ZodObject<{
|
|
547
|
-
report_id: z.ZodNumber;
|
|
548
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
549
|
-
}, "strip", z.ZodTypeAny, {
|
|
550
|
-
report_id: number;
|
|
551
|
-
api_key?: string | undefined;
|
|
552
|
-
}, {
|
|
553
|
-
report_id: number;
|
|
554
|
-
api_key?: string | undefined;
|
|
555
|
-
}>;
|
|
556
|
-
export declare const GetReportScoreArgsSchema: z.ZodObject<{
|
|
557
|
-
report_id: z.ZodNumber;
|
|
558
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
559
|
-
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
report_id: number;
|
|
561
|
-
api_key?: string | undefined;
|
|
562
|
-
}, {
|
|
563
|
-
report_id: number;
|
|
564
|
-
api_key?: string | undefined;
|
|
565
|
-
}>;
|
|
566
|
-
export declare const UpdateReportScoreCardArgsSchema: z.ZodObject<{
|
|
567
|
-
report_id: z.ZodNumber;
|
|
568
|
-
column_names: z.ZodArray<z.ZodString, "many">;
|
|
569
|
-
code: z.ZodOptional<z.ZodString>;
|
|
570
|
-
code_language: z.ZodOptional<z.ZodEnum<["PYTHON", "JAVASCRIPT"]>>;
|
|
571
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
572
|
-
}, "strip", z.ZodTypeAny, {
|
|
573
|
-
report_id: number;
|
|
574
|
-
column_names: string[];
|
|
575
|
-
code?: string | undefined;
|
|
576
|
-
api_key?: string | undefined;
|
|
577
|
-
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
578
|
-
}, {
|
|
579
|
-
report_id: number;
|
|
580
|
-
column_names: string[];
|
|
581
|
-
code?: string | undefined;
|
|
582
|
-
api_key?: string | undefined;
|
|
583
|
-
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
584
|
-
}>;
|
|
585
|
-
export declare const DeleteReportsByNameArgsSchema: z.ZodObject<{
|
|
586
|
-
report_name: z.ZodString;
|
|
587
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
588
|
-
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
report_name: string;
|
|
590
|
-
api_key?: string | undefined;
|
|
591
|
-
}, {
|
|
592
|
-
report_name: string;
|
|
593
|
-
api_key?: string | undefined;
|
|
594
|
-
}>;
|
|
595
|
-
export declare const DeleteReportArgsSchema: z.ZodObject<{
|
|
596
|
-
report_id: z.ZodNumber;
|
|
597
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
598
|
-
}, "strip", z.ZodTypeAny, {
|
|
599
|
-
report_id: number;
|
|
600
|
-
api_key?: string | undefined;
|
|
601
|
-
}, {
|
|
602
|
-
report_id: number;
|
|
603
|
-
api_key?: string | undefined;
|
|
604
|
-
}>;
|
|
605
|
-
export declare const RenameReportArgsSchema: z.ZodObject<{
|
|
606
|
-
report_id: z.ZodNumber;
|
|
607
|
-
name: z.ZodOptional<z.ZodString>;
|
|
608
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
609
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
610
|
-
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
report_id: number;
|
|
612
|
-
api_key?: string | undefined;
|
|
613
|
-
name?: string | undefined;
|
|
614
|
-
tags?: string[] | undefined;
|
|
615
|
-
}, {
|
|
616
|
-
report_id: number;
|
|
617
|
-
api_key?: string | undefined;
|
|
618
|
-
name?: string | undefined;
|
|
619
|
-
tags?: string[] | undefined;
|
|
620
|
-
}>;
|
|
621
|
-
export declare const AddReportColumnArgsSchema: z.ZodObject<{
|
|
622
|
-
report_id: z.ZodNumber;
|
|
623
|
-
column_type: z.ZodString;
|
|
624
|
-
name: z.ZodString;
|
|
625
|
-
configuration: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
626
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
627
|
-
is_part_of_score: z.ZodOptional<z.ZodBoolean>;
|
|
628
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
629
|
-
}, "strip", z.ZodTypeAny, {
|
|
630
|
-
name: string;
|
|
631
|
-
report_id: number;
|
|
632
|
-
column_type: string;
|
|
633
|
-
configuration: Record<string, unknown>;
|
|
634
|
-
api_key?: string | undefined;
|
|
635
|
-
position?: number | undefined;
|
|
636
|
-
is_part_of_score?: boolean | undefined;
|
|
637
|
-
}, {
|
|
638
|
-
name: string;
|
|
639
|
-
report_id: number;
|
|
640
|
-
column_type: string;
|
|
641
|
-
configuration: Record<string, unknown>;
|
|
642
|
-
api_key?: string | undefined;
|
|
643
|
-
position?: number | undefined;
|
|
644
|
-
is_part_of_score?: boolean | undefined;
|
|
645
|
-
}>;
|
|
646
|
-
export declare const EditReportColumnArgsSchema: z.ZodObject<{
|
|
647
|
-
report_column_id: z.ZodNumber;
|
|
648
|
-
report_id: z.ZodNumber;
|
|
649
|
-
column_type: z.ZodString;
|
|
650
|
-
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
651
|
-
name: z.ZodOptional<z.ZodString>;
|
|
652
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
653
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
654
|
-
}, "strip", z.ZodTypeAny, {
|
|
655
|
-
report_id: number;
|
|
656
|
-
column_type: string;
|
|
657
|
-
report_column_id: number;
|
|
658
|
-
api_key?: string | undefined;
|
|
659
|
-
name?: string | undefined;
|
|
660
|
-
configuration?: Record<string, unknown> | undefined;
|
|
661
|
-
position?: number | undefined;
|
|
662
|
-
}, {
|
|
663
|
-
report_id: number;
|
|
664
|
-
column_type: string;
|
|
665
|
-
report_column_id: number;
|
|
666
|
-
api_key?: string | undefined;
|
|
667
|
-
name?: string | undefined;
|
|
668
|
-
configuration?: Record<string, unknown> | undefined;
|
|
669
|
-
position?: number | undefined;
|
|
670
|
-
}>;
|
|
671
|
-
export declare const DeleteReportColumnArgsSchema: z.ZodObject<{
|
|
672
|
-
report_column_id: z.ZodNumber;
|
|
673
|
-
api_key: z.ZodOptional<z.ZodString>;
|
|
674
|
-
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
report_column_id: number;
|
|
676
|
-
api_key?: string | undefined;
|
|
677
|
-
}, {
|
|
678
|
-
report_column_id: number;
|
|
679
|
-
api_key?: string | undefined;
|
|
680
|
-
}>;
|
|
681
318
|
export declare const ListWorkflowsArgsSchema: z.ZodObject<{
|
|
682
319
|
page: z.ZodOptional<z.ZodNumber>;
|
|
683
320
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
@@ -849,11 +486,38 @@ export declare const GetToolRegistryArgsSchema: z.ZodObject<{
|
|
|
849
486
|
label?: string | undefined;
|
|
850
487
|
api_key?: string | undefined;
|
|
851
488
|
}>;
|
|
489
|
+
export declare const ToolExecutionSchema: z.ZodObject<{
|
|
490
|
+
type: z.ZodLiteral<"code">;
|
|
491
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
492
|
+
code: z.ZodString;
|
|
493
|
+
}, "strip", z.ZodTypeAny, {
|
|
494
|
+
code: string;
|
|
495
|
+
type: "code";
|
|
496
|
+
language: "python" | "javascript";
|
|
497
|
+
}, {
|
|
498
|
+
code: string;
|
|
499
|
+
type: "code";
|
|
500
|
+
language: "python" | "javascript";
|
|
501
|
+
}>;
|
|
852
502
|
export declare const CreateToolRegistryArgsSchema: z.ZodObject<{
|
|
853
503
|
name: z.ZodString;
|
|
854
504
|
tool_definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
505
|
+
description: z.ZodOptional<z.ZodString>;
|
|
855
506
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
856
507
|
commit_message: z.ZodOptional<z.ZodString>;
|
|
508
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
509
|
+
type: z.ZodLiteral<"code">;
|
|
510
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
511
|
+
code: z.ZodString;
|
|
512
|
+
}, "strip", z.ZodTypeAny, {
|
|
513
|
+
code: string;
|
|
514
|
+
type: "code";
|
|
515
|
+
language: "python" | "javascript";
|
|
516
|
+
}, {
|
|
517
|
+
code: string;
|
|
518
|
+
type: "code";
|
|
519
|
+
language: "python" | "javascript";
|
|
520
|
+
}>>;
|
|
857
521
|
api_key: z.ZodOptional<z.ZodString>;
|
|
858
522
|
}, "strip", z.ZodTypeAny, {
|
|
859
523
|
name: string;
|
|
@@ -861,39 +525,159 @@ export declare const CreateToolRegistryArgsSchema: z.ZodObject<{
|
|
|
861
525
|
api_key?: string | undefined;
|
|
862
526
|
folder_id?: number | undefined;
|
|
863
527
|
commit_message?: string | undefined;
|
|
528
|
+
description?: string | undefined;
|
|
529
|
+
execution?: {
|
|
530
|
+
code: string;
|
|
531
|
+
type: "code";
|
|
532
|
+
language: "python" | "javascript";
|
|
533
|
+
} | undefined;
|
|
864
534
|
}, {
|
|
865
535
|
name: string;
|
|
866
536
|
tool_definition: Record<string, unknown>;
|
|
867
537
|
api_key?: string | undefined;
|
|
868
538
|
folder_id?: number | undefined;
|
|
869
539
|
commit_message?: string | undefined;
|
|
540
|
+
description?: string | undefined;
|
|
541
|
+
execution?: {
|
|
542
|
+
code: string;
|
|
543
|
+
type: "code";
|
|
544
|
+
language: "python" | "javascript";
|
|
545
|
+
} | undefined;
|
|
870
546
|
}>;
|
|
871
547
|
export declare const CreateToolVersionArgsSchema: z.ZodObject<{
|
|
872
548
|
identifier: z.ZodString;
|
|
873
549
|
tool_definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
874
550
|
commit_message: z.ZodOptional<z.ZodString>;
|
|
551
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
type: z.ZodLiteral<"code">;
|
|
553
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
554
|
+
code: z.ZodString;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
code: string;
|
|
557
|
+
type: "code";
|
|
558
|
+
language: "python" | "javascript";
|
|
559
|
+
}, {
|
|
560
|
+
code: string;
|
|
561
|
+
type: "code";
|
|
562
|
+
language: "python" | "javascript";
|
|
563
|
+
}>>;
|
|
875
564
|
api_key: z.ZodOptional<z.ZodString>;
|
|
876
565
|
}, "strip", z.ZodTypeAny, {
|
|
877
566
|
identifier: string;
|
|
878
567
|
tool_definition: Record<string, unknown>;
|
|
879
568
|
api_key?: string | undefined;
|
|
880
569
|
commit_message?: string | undefined;
|
|
570
|
+
execution?: {
|
|
571
|
+
code: string;
|
|
572
|
+
type: "code";
|
|
573
|
+
language: "python" | "javascript";
|
|
574
|
+
} | undefined;
|
|
881
575
|
}, {
|
|
882
576
|
identifier: string;
|
|
883
577
|
tool_definition: Record<string, unknown>;
|
|
884
578
|
api_key?: string | undefined;
|
|
885
579
|
commit_message?: string | undefined;
|
|
580
|
+
execution?: {
|
|
581
|
+
code: string;
|
|
582
|
+
type: "code";
|
|
583
|
+
language: "python" | "javascript";
|
|
584
|
+
} | undefined;
|
|
886
585
|
}>;
|
|
887
|
-
export declare const
|
|
888
|
-
|
|
889
|
-
|
|
586
|
+
export declare const TestExecuteToolRegistryArgsSchema: z.ZodObject<{
|
|
587
|
+
identifier: z.ZodString;
|
|
588
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
589
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
type: z.ZodLiteral<"code">;
|
|
591
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
592
|
+
code: z.ZodString;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
code: string;
|
|
595
|
+
type: "code";
|
|
596
|
+
language: "python" | "javascript";
|
|
597
|
+
}, {
|
|
598
|
+
code: string;
|
|
599
|
+
type: "code";
|
|
600
|
+
language: "python" | "javascript";
|
|
601
|
+
}>>;
|
|
602
|
+
tool_definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
603
|
+
label: z.ZodOptional<z.ZodString>;
|
|
604
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
890
605
|
api_key: z.ZodOptional<z.ZodString>;
|
|
891
606
|
}, "strip", z.ZodTypeAny, {
|
|
892
|
-
|
|
607
|
+
identifier: string;
|
|
608
|
+
version?: number | undefined;
|
|
609
|
+
label?: string | undefined;
|
|
893
610
|
api_key?: string | undefined;
|
|
894
|
-
|
|
611
|
+
tool_definition?: Record<string, unknown> | undefined;
|
|
612
|
+
execution?: {
|
|
613
|
+
code: string;
|
|
614
|
+
type: "code";
|
|
615
|
+
language: "python" | "javascript";
|
|
616
|
+
} | undefined;
|
|
617
|
+
inputs?: Record<string, unknown> | undefined;
|
|
895
618
|
}, {
|
|
896
|
-
|
|
619
|
+
identifier: string;
|
|
620
|
+
version?: number | undefined;
|
|
621
|
+
label?: string | undefined;
|
|
622
|
+
api_key?: string | undefined;
|
|
623
|
+
tool_definition?: Record<string, unknown> | undefined;
|
|
624
|
+
execution?: {
|
|
625
|
+
code: string;
|
|
626
|
+
type: "code";
|
|
627
|
+
language: "python" | "javascript";
|
|
628
|
+
} | undefined;
|
|
629
|
+
inputs?: Record<string, unknown> | undefined;
|
|
630
|
+
}>;
|
|
631
|
+
export declare const ListWorkspaceEnvVarsArgsSchema: z.ZodObject<{
|
|
632
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
633
|
+
}, "strip", z.ZodTypeAny, {
|
|
634
|
+
api_key?: string | undefined;
|
|
635
|
+
}, {
|
|
636
|
+
api_key?: string | undefined;
|
|
637
|
+
}>;
|
|
638
|
+
export declare const CreateWorkspaceEnvVarArgsSchema: z.ZodObject<{
|
|
639
|
+
key: z.ZodString;
|
|
640
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, "strip", z.ZodTypeAny, {
|
|
642
|
+
key: string;
|
|
643
|
+
api_key?: string | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
key: string;
|
|
646
|
+
api_key?: string | undefined;
|
|
647
|
+
}>;
|
|
648
|
+
export declare const ListToolEnvVarsArgsSchema: z.ZodObject<{
|
|
649
|
+
identifier: z.ZodString;
|
|
650
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
|
652
|
+
identifier: string;
|
|
653
|
+
api_key?: string | undefined;
|
|
654
|
+
}, {
|
|
655
|
+
identifier: string;
|
|
656
|
+
api_key?: string | undefined;
|
|
657
|
+
}>;
|
|
658
|
+
export declare const CreateToolEnvVarArgsSchema: z.ZodObject<{
|
|
659
|
+
identifier: z.ZodString;
|
|
660
|
+
key: z.ZodString;
|
|
661
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
|
+
identifier: string;
|
|
664
|
+
key: string;
|
|
665
|
+
api_key?: string | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
identifier: string;
|
|
668
|
+
key: string;
|
|
669
|
+
api_key?: string | undefined;
|
|
670
|
+
}>;
|
|
671
|
+
export declare const CreateFolderArgsSchema: z.ZodObject<{
|
|
672
|
+
name: z.ZodString;
|
|
673
|
+
parent_id: z.ZodOptional<z.ZodNumber>;
|
|
674
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
|
676
|
+
name: string;
|
|
677
|
+
api_key?: string | undefined;
|
|
678
|
+
parent_id?: number | undefined;
|
|
679
|
+
}, {
|
|
680
|
+
name: string;
|
|
897
681
|
api_key?: string | undefined;
|
|
898
682
|
parent_id?: number | undefined;
|
|
899
683
|
}>;
|
|
@@ -1116,168 +900,1021 @@ export declare const SaveSkillCollectionVersionArgsSchema: z.ZodObject<{
|
|
|
1116
900
|
release_label: z.ZodOptional<z.ZodString>;
|
|
1117
901
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1118
902
|
}, "strip", z.ZodTypeAny, {
|
|
1119
|
-
identifier: string;
|
|
903
|
+
identifier: string;
|
|
904
|
+
api_key?: string | undefined;
|
|
905
|
+
commit_message?: string | undefined;
|
|
906
|
+
file_updates?: {
|
|
907
|
+
path: string;
|
|
908
|
+
content?: string | undefined;
|
|
909
|
+
}[] | undefined;
|
|
910
|
+
moves?: {
|
|
911
|
+
old_path: string;
|
|
912
|
+
new_path: string;
|
|
913
|
+
}[] | undefined;
|
|
914
|
+
deletes?: string[] | undefined;
|
|
915
|
+
release_label?: string | undefined;
|
|
916
|
+
}, {
|
|
917
|
+
identifier: string;
|
|
918
|
+
api_key?: string | undefined;
|
|
919
|
+
commit_message?: string | undefined;
|
|
920
|
+
file_updates?: {
|
|
921
|
+
path: string;
|
|
922
|
+
content?: string | undefined;
|
|
923
|
+
}[] | undefined;
|
|
924
|
+
moves?: {
|
|
925
|
+
old_path: string;
|
|
926
|
+
new_path: string;
|
|
927
|
+
}[] | undefined;
|
|
928
|
+
deletes?: string[] | undefined;
|
|
929
|
+
release_label?: string | undefined;
|
|
930
|
+
}>;
|
|
931
|
+
export declare const PatchPromptTemplateVersionArgsSchema: z.ZodObject<{
|
|
932
|
+
identifier: z.ZodString;
|
|
933
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
934
|
+
label: z.ZodOptional<z.ZodString>;
|
|
935
|
+
messages: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
936
|
+
tools: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
937
|
+
functions: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
938
|
+
function_call: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
939
|
+
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
940
|
+
content: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
941
|
+
model_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
942
|
+
response_format: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
943
|
+
commit_message: z.ZodOptional<z.ZodString>;
|
|
944
|
+
release_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
945
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
identifier: string;
|
|
948
|
+
version?: number | undefined;
|
|
949
|
+
label?: string | undefined;
|
|
950
|
+
api_key?: string | undefined;
|
|
951
|
+
commit_message?: string | undefined;
|
|
952
|
+
release_labels?: string[] | undefined;
|
|
953
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
954
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
955
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
956
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
957
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
958
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
959
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
960
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
961
|
+
}, {
|
|
962
|
+
identifier: string;
|
|
963
|
+
version?: number | undefined;
|
|
964
|
+
label?: string | undefined;
|
|
965
|
+
api_key?: string | undefined;
|
|
966
|
+
commit_message?: string | undefined;
|
|
967
|
+
release_labels?: string[] | undefined;
|
|
968
|
+
content?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
969
|
+
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
970
|
+
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
971
|
+
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
972
|
+
function_call?: string | Record<string, unknown> | null | undefined;
|
|
973
|
+
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
974
|
+
model_parameters?: Record<string, unknown> | undefined;
|
|
975
|
+
response_format?: Record<string, unknown> | null | undefined;
|
|
976
|
+
}>;
|
|
977
|
+
export declare const SearchRequestLogsArgsSchema: z.ZodObject<{
|
|
978
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
979
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
980
|
+
include_prompt_name: z.ZodOptional<z.ZodBoolean>;
|
|
981
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
982
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
983
|
+
q: z.ZodOptional<z.ZodString>;
|
|
984
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
985
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
986
|
+
}, "strip", z.ZodTypeAny, {
|
|
987
|
+
api_key?: string | undefined;
|
|
988
|
+
page?: number | undefined;
|
|
989
|
+
per_page?: number | undefined;
|
|
990
|
+
include_prompt_name?: boolean | undefined;
|
|
991
|
+
filter_group?: any;
|
|
992
|
+
q?: string | undefined;
|
|
993
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
994
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
995
|
+
}, {
|
|
996
|
+
api_key?: string | undefined;
|
|
997
|
+
page?: number | undefined;
|
|
998
|
+
per_page?: number | undefined;
|
|
999
|
+
include_prompt_name?: boolean | undefined;
|
|
1000
|
+
filter_group?: any;
|
|
1001
|
+
q?: string | undefined;
|
|
1002
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1003
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1004
|
+
}>;
|
|
1005
|
+
export declare const GetRequestAnalyticsArgsSchema: z.ZodObject<{
|
|
1006
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1008
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1010
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1011
|
+
}, "strip", z.ZodTypeAny, {
|
|
1012
|
+
api_key?: string | undefined;
|
|
1013
|
+
filter_group?: any;
|
|
1014
|
+
q?: string | undefined;
|
|
1015
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1016
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1017
|
+
}, {
|
|
1018
|
+
api_key?: string | undefined;
|
|
1019
|
+
filter_group?: any;
|
|
1020
|
+
q?: string | undefined;
|
|
1021
|
+
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1022
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1023
|
+
}>;
|
|
1024
|
+
export declare const GetRequestArgsSchema: z.ZodObject<{
|
|
1025
|
+
request_id: z.ZodNumber;
|
|
1026
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
}, "strip", z.ZodTypeAny, {
|
|
1028
|
+
request_id: number;
|
|
1029
|
+
api_key?: string | undefined;
|
|
1030
|
+
}, {
|
|
1031
|
+
request_id: number;
|
|
1032
|
+
api_key?: string | undefined;
|
|
1033
|
+
}>;
|
|
1034
|
+
export declare const GetTraceArgsSchema: z.ZodObject<{
|
|
1035
|
+
trace_id: z.ZodString;
|
|
1036
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
trace_id: string;
|
|
1039
|
+
api_key?: string | undefined;
|
|
1040
|
+
}, {
|
|
1041
|
+
trace_id: string;
|
|
1042
|
+
api_key?: string | undefined;
|
|
1043
|
+
}>;
|
|
1044
|
+
export declare const GetRequestSearchSuggestionsArgsSchema: z.ZodObject<{
|
|
1045
|
+
field: z.ZodEnum<["engine", "provider_type", "prompt_id", "prompt", "tags", "metadata_keys", "status", "tool_names", "output_keys", "input_variable_keys", "metadata_values", "output_values", "input_variable_values"]>;
|
|
1046
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
metadata_key: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1049
|
+
filter_group: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
}, "strip", z.ZodTypeAny, {
|
|
1052
|
+
field: "status" | "tags" | "prompt_id" | "engine" | "provider_type" | "metadata_keys" | "tool_names" | "output_keys" | "input_variable_keys" | "prompt" | "metadata_values" | "output_values" | "input_variable_values";
|
|
1053
|
+
api_key?: string | undefined;
|
|
1054
|
+
prompt_id?: number | undefined;
|
|
1055
|
+
filter_group?: string | undefined;
|
|
1056
|
+
prefix?: string | undefined;
|
|
1057
|
+
metadata_key?: string | undefined;
|
|
1058
|
+
}, {
|
|
1059
|
+
field: "status" | "tags" | "prompt_id" | "engine" | "provider_type" | "metadata_keys" | "tool_names" | "output_keys" | "input_variable_keys" | "prompt" | "metadata_values" | "output_values" | "input_variable_values";
|
|
1060
|
+
api_key?: string | undefined;
|
|
1061
|
+
prompt_id?: number | undefined;
|
|
1062
|
+
filter_group?: string | undefined;
|
|
1063
|
+
prefix?: string | undefined;
|
|
1064
|
+
metadata_key?: string | undefined;
|
|
1065
|
+
}>;
|
|
1066
|
+
export declare const ListSmartTablesArgsSchema: z.ZodObject<{
|
|
1067
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1069
|
+
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1070
|
+
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
+
sort: z.ZodOptional<z.ZodEnum<["created_at"]>>;
|
|
1072
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1073
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1076
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
}, "strip", z.ZodTypeAny, {
|
|
1078
|
+
sort?: "created_at" | undefined;
|
|
1079
|
+
api_key?: string | undefined;
|
|
1080
|
+
name?: string | undefined;
|
|
1081
|
+
folder_id?: number | undefined;
|
|
1082
|
+
prompt_id?: number | undefined;
|
|
1083
|
+
prompt_version_id?: number | undefined;
|
|
1084
|
+
prompt_label_id?: number | undefined;
|
|
1085
|
+
limit?: number | undefined;
|
|
1086
|
+
order?: "asc" | "desc" | undefined;
|
|
1087
|
+
cursor?: string | undefined;
|
|
1088
|
+
}, {
|
|
1089
|
+
sort?: "created_at" | undefined;
|
|
1090
|
+
api_key?: string | undefined;
|
|
1091
|
+
name?: string | undefined;
|
|
1092
|
+
folder_id?: number | undefined;
|
|
1093
|
+
prompt_id?: number | undefined;
|
|
1094
|
+
prompt_version_id?: number | undefined;
|
|
1095
|
+
prompt_label_id?: number | undefined;
|
|
1096
|
+
limit?: number | undefined;
|
|
1097
|
+
order?: "asc" | "desc" | undefined;
|
|
1098
|
+
cursor?: string | undefined;
|
|
1099
|
+
}>;
|
|
1100
|
+
export declare const CreateSmartTableArgsSchema: z.ZodObject<{
|
|
1101
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1102
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1103
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
}, "strip", z.ZodTypeAny, {
|
|
1105
|
+
api_key?: string | undefined;
|
|
1106
|
+
folder_id?: number | undefined;
|
|
1107
|
+
title?: string | undefined;
|
|
1108
|
+
}, {
|
|
1109
|
+
api_key?: string | undefined;
|
|
1110
|
+
folder_id?: number | undefined;
|
|
1111
|
+
title?: string | undefined;
|
|
1112
|
+
}>;
|
|
1113
|
+
export declare const GetSmartTableArgsSchema: z.ZodObject<{
|
|
1114
|
+
table_id: z.ZodString;
|
|
1115
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
table_id: string;
|
|
1118
|
+
api_key?: string | undefined;
|
|
1119
|
+
}, {
|
|
1120
|
+
table_id: string;
|
|
1121
|
+
api_key?: string | undefined;
|
|
1122
|
+
}>;
|
|
1123
|
+
export declare const UpdateSmartTableArgsSchema: z.ZodObject<{
|
|
1124
|
+
table_id: z.ZodString;
|
|
1125
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
}, "strip", z.ZodTypeAny, {
|
|
1129
|
+
table_id: string;
|
|
1130
|
+
api_key?: string | undefined;
|
|
1131
|
+
folder_id?: number | undefined;
|
|
1132
|
+
title?: string | undefined;
|
|
1133
|
+
}, {
|
|
1134
|
+
table_id: string;
|
|
1135
|
+
api_key?: string | undefined;
|
|
1136
|
+
folder_id?: number | undefined;
|
|
1137
|
+
title?: string | undefined;
|
|
1138
|
+
}>;
|
|
1139
|
+
export declare const ListSmartTableSheetsArgsSchema: z.ZodObject<{
|
|
1140
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1141
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1142
|
+
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1143
|
+
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1144
|
+
sort: z.ZodOptional<z.ZodEnum<["index"]>>;
|
|
1145
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1146
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1148
|
+
table_id: z.ZodString;
|
|
1149
|
+
}, "strip", z.ZodTypeAny, {
|
|
1150
|
+
table_id: string;
|
|
1151
|
+
sort?: "index" | undefined;
|
|
1152
|
+
api_key?: string | undefined;
|
|
1153
|
+
prompt_id?: number | undefined;
|
|
1154
|
+
prompt_version_id?: number | undefined;
|
|
1155
|
+
prompt_label_id?: number | undefined;
|
|
1156
|
+
limit?: number | undefined;
|
|
1157
|
+
order?: "asc" | "desc" | undefined;
|
|
1158
|
+
cursor?: string | undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
table_id: string;
|
|
1161
|
+
sort?: "index" | undefined;
|
|
1162
|
+
api_key?: string | undefined;
|
|
1163
|
+
prompt_id?: number | undefined;
|
|
1164
|
+
prompt_version_id?: number | undefined;
|
|
1165
|
+
prompt_label_id?: number | undefined;
|
|
1166
|
+
limit?: number | undefined;
|
|
1167
|
+
order?: "asc" | "desc" | undefined;
|
|
1168
|
+
cursor?: string | undefined;
|
|
1169
|
+
}>;
|
|
1170
|
+
export declare const CreateSmartTableSheetArgsSchema: z.ZodObject<{
|
|
1171
|
+
table_id: z.ZodString;
|
|
1172
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1174
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1176
|
+
type: z.ZodLiteral<"file">;
|
|
1177
|
+
file_name: z.ZodString;
|
|
1178
|
+
file_content_base64: z.ZodString;
|
|
1179
|
+
}, "strip", z.ZodTypeAny, {
|
|
1180
|
+
type: "file";
|
|
1181
|
+
file_name: string;
|
|
1182
|
+
file_content_base64: string;
|
|
1183
|
+
}, {
|
|
1184
|
+
type: "file";
|
|
1185
|
+
file_name: string;
|
|
1186
|
+
file_content_base64: string;
|
|
1187
|
+
}>, z.ZodObject<{
|
|
1188
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1189
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1190
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1193
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1195
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1196
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1197
|
+
type: z.ZodLiteral<"request_logs">;
|
|
1198
|
+
}, "strip", z.ZodTypeAny, {
|
|
1199
|
+
type: "request_logs";
|
|
1200
|
+
filter_group?: any;
|
|
1201
|
+
q?: string | undefined;
|
|
1202
|
+
sort_by?: string | undefined;
|
|
1203
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1204
|
+
request_log_ids?: number[] | undefined;
|
|
1205
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1206
|
+
variables_to_parse?: string[] | undefined;
|
|
1207
|
+
include_fields?: string[] | undefined;
|
|
1208
|
+
limit?: number | undefined;
|
|
1209
|
+
}, {
|
|
1210
|
+
type: "request_logs";
|
|
1211
|
+
filter_group?: any;
|
|
1212
|
+
q?: string | undefined;
|
|
1213
|
+
sort_by?: string | undefined;
|
|
1214
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1215
|
+
request_log_ids?: number[] | undefined;
|
|
1216
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1217
|
+
variables_to_parse?: string[] | undefined;
|
|
1218
|
+
include_fields?: string[] | undefined;
|
|
1219
|
+
limit?: number | undefined;
|
|
1220
|
+
}>]>;
|
|
1221
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
}, "strip", z.ZodTypeAny, {
|
|
1223
|
+
table_id: string;
|
|
1224
|
+
source: {
|
|
1225
|
+
type: "file";
|
|
1226
|
+
file_name: string;
|
|
1227
|
+
file_content_base64: string;
|
|
1228
|
+
} | {
|
|
1229
|
+
type: "request_logs";
|
|
1230
|
+
filter_group?: any;
|
|
1231
|
+
q?: string | undefined;
|
|
1232
|
+
sort_by?: string | undefined;
|
|
1233
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1234
|
+
request_log_ids?: number[] | undefined;
|
|
1235
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1236
|
+
variables_to_parse?: string[] | undefined;
|
|
1237
|
+
include_fields?: string[] | undefined;
|
|
1238
|
+
limit?: number | undefined;
|
|
1239
|
+
};
|
|
1240
|
+
api_key?: string | undefined;
|
|
1241
|
+
title?: string | undefined;
|
|
1242
|
+
index?: number | undefined;
|
|
1243
|
+
operation_id?: string | undefined;
|
|
1244
|
+
}, {
|
|
1245
|
+
table_id: string;
|
|
1246
|
+
source: {
|
|
1247
|
+
type: "file";
|
|
1248
|
+
file_name: string;
|
|
1249
|
+
file_content_base64: string;
|
|
1250
|
+
} | {
|
|
1251
|
+
type: "request_logs";
|
|
1252
|
+
filter_group?: any;
|
|
1253
|
+
q?: string | undefined;
|
|
1254
|
+
sort_by?: string | undefined;
|
|
1255
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1256
|
+
request_log_ids?: number[] | undefined;
|
|
1257
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1258
|
+
variables_to_parse?: string[] | undefined;
|
|
1259
|
+
include_fields?: string[] | undefined;
|
|
1260
|
+
limit?: number | undefined;
|
|
1261
|
+
};
|
|
1262
|
+
api_key?: string | undefined;
|
|
1263
|
+
title?: string | undefined;
|
|
1264
|
+
index?: number | undefined;
|
|
1265
|
+
operation_id?: string | undefined;
|
|
1266
|
+
}>;
|
|
1267
|
+
export declare const GetSmartTableSheetArgsSchema: z.ZodObject<{
|
|
1268
|
+
table_id: z.ZodString;
|
|
1269
|
+
sheet_id: z.ZodString;
|
|
1270
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
table_id: string;
|
|
1273
|
+
sheet_id: string;
|
|
1274
|
+
api_key?: string | undefined;
|
|
1275
|
+
}, {
|
|
1276
|
+
table_id: string;
|
|
1277
|
+
sheet_id: string;
|
|
1278
|
+
api_key?: string | undefined;
|
|
1279
|
+
}>;
|
|
1280
|
+
export declare const UpdateSmartTableSheetArgsSchema: z.ZodObject<{
|
|
1281
|
+
table_id: z.ZodString;
|
|
1282
|
+
sheet_id: z.ZodString;
|
|
1283
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
}, "strip", z.ZodTypeAny, {
|
|
1287
|
+
table_id: string;
|
|
1288
|
+
sheet_id: string;
|
|
1289
|
+
api_key?: string | undefined;
|
|
1290
|
+
title?: string | undefined;
|
|
1291
|
+
index?: number | undefined;
|
|
1292
|
+
}, {
|
|
1293
|
+
table_id: string;
|
|
1294
|
+
sheet_id: string;
|
|
1295
|
+
api_key?: string | undefined;
|
|
1296
|
+
title?: string | undefined;
|
|
1297
|
+
index?: number | undefined;
|
|
1298
|
+
}>;
|
|
1299
|
+
export declare const GetSmartTableSheetImportOperationArgsSchema: z.ZodObject<{
|
|
1300
|
+
table_id: z.ZodString;
|
|
1301
|
+
operation_id: z.ZodString;
|
|
1302
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
}, "strip", z.ZodTypeAny, {
|
|
1304
|
+
table_id: string;
|
|
1305
|
+
operation_id: string;
|
|
1306
|
+
api_key?: string | undefined;
|
|
1307
|
+
}, {
|
|
1308
|
+
table_id: string;
|
|
1309
|
+
operation_id: string;
|
|
1310
|
+
api_key?: string | undefined;
|
|
1311
|
+
}>;
|
|
1312
|
+
export declare const ImportSmartTableSheetFileArgsSchema: z.ZodObject<{
|
|
1313
|
+
table_id: z.ZodString;
|
|
1314
|
+
sheet_id: z.ZodString;
|
|
1315
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
file_name: z.ZodString;
|
|
1317
|
+
file_content_base64: z.ZodString;
|
|
1318
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
file_name: string;
|
|
1321
|
+
file_content_base64: string;
|
|
1322
|
+
table_id: string;
|
|
1323
|
+
sheet_id: string;
|
|
1324
|
+
api_key?: string | undefined;
|
|
1325
|
+
operation_id?: string | undefined;
|
|
1326
|
+
}, {
|
|
1327
|
+
file_name: string;
|
|
1328
|
+
file_content_base64: string;
|
|
1329
|
+
table_id: string;
|
|
1330
|
+
sheet_id: string;
|
|
1331
|
+
api_key?: string | undefined;
|
|
1332
|
+
operation_id?: string | undefined;
|
|
1333
|
+
}>;
|
|
1334
|
+
export declare const ImportSmartTableSheetRequestLogsArgsSchema: z.ZodObject<{
|
|
1335
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1336
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1337
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1338
|
+
q: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1341
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1343
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1344
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1345
|
+
table_id: z.ZodString;
|
|
1346
|
+
sheet_id: z.ZodString;
|
|
1347
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
}, "strip", z.ZodTypeAny, {
|
|
1349
|
+
table_id: string;
|
|
1350
|
+
sheet_id: string;
|
|
1351
|
+
api_key?: string | undefined;
|
|
1352
|
+
filter_group?: any;
|
|
1353
|
+
q?: string | undefined;
|
|
1354
|
+
sort_by?: string | undefined;
|
|
1355
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1356
|
+
request_log_ids?: number[] | undefined;
|
|
1357
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1358
|
+
variables_to_parse?: string[] | undefined;
|
|
1359
|
+
include_fields?: string[] | undefined;
|
|
1360
|
+
limit?: number | undefined;
|
|
1361
|
+
operation_id?: string | undefined;
|
|
1362
|
+
}, {
|
|
1363
|
+
table_id: string;
|
|
1364
|
+
sheet_id: string;
|
|
1365
|
+
api_key?: string | undefined;
|
|
1366
|
+
filter_group?: any;
|
|
1367
|
+
q?: string | undefined;
|
|
1368
|
+
sort_by?: string | undefined;
|
|
1369
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
1370
|
+
request_log_ids?: number[] | undefined;
|
|
1371
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1372
|
+
variables_to_parse?: string[] | undefined;
|
|
1373
|
+
include_fields?: string[] | undefined;
|
|
1374
|
+
limit?: number | undefined;
|
|
1375
|
+
operation_id?: string | undefined;
|
|
1376
|
+
}>;
|
|
1377
|
+
export declare const ListSmartTableColumnsArgsSchema: z.ZodObject<{
|
|
1378
|
+
sort: z.ZodOptional<z.ZodEnum<["position_rank"]>>;
|
|
1379
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1380
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1381
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1384
|
+
table_id: z.ZodString;
|
|
1385
|
+
sheet_id: z.ZodString;
|
|
1386
|
+
}, "strip", z.ZodTypeAny, {
|
|
1387
|
+
table_id: string;
|
|
1388
|
+
sheet_id: string;
|
|
1389
|
+
sort?: "position_rank" | undefined;
|
|
1390
|
+
api_key?: string | undefined;
|
|
1391
|
+
limit?: number | undefined;
|
|
1392
|
+
order?: "asc" | "desc" | undefined;
|
|
1393
|
+
cursor?: string | undefined;
|
|
1394
|
+
include_system_columns?: boolean | undefined;
|
|
1395
|
+
}, {
|
|
1396
|
+
table_id: string;
|
|
1397
|
+
sheet_id: string;
|
|
1398
|
+
sort?: "position_rank" | undefined;
|
|
1399
|
+
api_key?: string | undefined;
|
|
1400
|
+
limit?: number | undefined;
|
|
1401
|
+
order?: "asc" | "desc" | undefined;
|
|
1402
|
+
cursor?: string | undefined;
|
|
1403
|
+
include_system_columns?: boolean | undefined;
|
|
1404
|
+
}>;
|
|
1405
|
+
export declare const CreateSmartTableColumnArgsSchema: z.ZodObject<{
|
|
1406
|
+
table_id: z.ZodString;
|
|
1407
|
+
sheet_id: z.ZodString;
|
|
1408
|
+
title: z.ZodString;
|
|
1409
|
+
type: z.ZodEnum<["TEXT", "ABSOLUTE_NUMERIC_DISTANCE", "AI_DATA_EXTRACTION", "APPLY_DIFF", "ASSERT_VALID", "COALESCE", "CONDITION", "CODE_EXECUTION", "COMBINE_COLUMNS", "COMPARE", "COMPOSITION", "CONTAINS", "CONVERSATION_SIMULATOR", "COSINE_SIMILARITY", "COUNT", "DATASET", "ENDPOINT", "FOR_LOOP", "HUMAN", "JSON_PATH", "LLM_ASSERTION", "MATH_OPERATOR", "MCP", "MIN_MAX", "PARSE_VALUE", "PROMPT_TEMPLATE", "REGEX", "REGEX_EXTRACTION", "VARIABLE", "WHILE_LOOP", "WORKFLOW", "XML_PATH"]>;
|
|
1410
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1411
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1412
|
+
column_id: z.ZodString;
|
|
1413
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1416
|
+
}, "strip", z.ZodTypeAny, {
|
|
1417
|
+
column_id: string;
|
|
1418
|
+
reference_type?: string | undefined;
|
|
1419
|
+
config_key?: string | undefined;
|
|
1420
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1421
|
+
}, {
|
|
1422
|
+
column_id: string;
|
|
1423
|
+
reference_type?: string | undefined;
|
|
1424
|
+
config_key?: string | undefined;
|
|
1425
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1426
|
+
}>, "many">>>;
|
|
1427
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1428
|
+
}, "strip", z.ZodTypeAny, {
|
|
1429
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
1430
|
+
title: string;
|
|
1431
|
+
table_id: string;
|
|
1432
|
+
sheet_id: string;
|
|
1433
|
+
api_key?: string | undefined;
|
|
1434
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1435
|
+
dependencies?: {
|
|
1436
|
+
column_id: string;
|
|
1437
|
+
reference_type?: string | undefined;
|
|
1438
|
+
config_key?: string | undefined;
|
|
1439
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1440
|
+
}[] | null | undefined;
|
|
1441
|
+
}, {
|
|
1442
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
1443
|
+
title: string;
|
|
1444
|
+
table_id: string;
|
|
1445
|
+
sheet_id: string;
|
|
1446
|
+
api_key?: string | undefined;
|
|
1447
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1448
|
+
dependencies?: {
|
|
1449
|
+
column_id: string;
|
|
1450
|
+
reference_type?: string | undefined;
|
|
1451
|
+
config_key?: string | undefined;
|
|
1452
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1453
|
+
}[] | null | undefined;
|
|
1454
|
+
}>;
|
|
1455
|
+
export declare const UpdateSmartTableColumnArgsSchema: z.ZodObject<{
|
|
1456
|
+
table_id: z.ZodString;
|
|
1457
|
+
sheet_id: z.ZodString;
|
|
1458
|
+
column_id: z.ZodString;
|
|
1459
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1461
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1462
|
+
column_id: z.ZodString;
|
|
1463
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1466
|
+
}, "strip", z.ZodTypeAny, {
|
|
1467
|
+
column_id: string;
|
|
1468
|
+
reference_type?: string | undefined;
|
|
1469
|
+
config_key?: string | undefined;
|
|
1470
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1471
|
+
}, {
|
|
1472
|
+
column_id: string;
|
|
1473
|
+
reference_type?: string | undefined;
|
|
1474
|
+
config_key?: string | undefined;
|
|
1475
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1476
|
+
}>, "many">>>;
|
|
1477
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
column_id: string;
|
|
1480
|
+
table_id: string;
|
|
1481
|
+
sheet_id: string;
|
|
1482
|
+
api_key?: string | undefined;
|
|
1483
|
+
title?: string | undefined;
|
|
1484
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1485
|
+
dependencies?: {
|
|
1486
|
+
column_id: string;
|
|
1487
|
+
reference_type?: string | undefined;
|
|
1488
|
+
config_key?: string | undefined;
|
|
1489
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1490
|
+
}[] | null | undefined;
|
|
1491
|
+
}, {
|
|
1492
|
+
column_id: string;
|
|
1493
|
+
table_id: string;
|
|
1494
|
+
sheet_id: string;
|
|
1495
|
+
api_key?: string | undefined;
|
|
1496
|
+
title?: string | undefined;
|
|
1497
|
+
config?: Record<string, unknown> | null | undefined;
|
|
1498
|
+
dependencies?: {
|
|
1499
|
+
column_id: string;
|
|
1500
|
+
reference_type?: string | undefined;
|
|
1501
|
+
config_key?: string | undefined;
|
|
1502
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
1503
|
+
}[] | null | undefined;
|
|
1504
|
+
}>;
|
|
1505
|
+
export declare const ListSmartTableRowsArgsSchema: z.ZodObject<{
|
|
1506
|
+
sort: z.ZodOptional<z.ZodEnum<["row_index"]>>;
|
|
1507
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1508
|
+
include_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1509
|
+
include_row_count: z.ZodOptional<z.ZodBoolean>;
|
|
1510
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1511
|
+
include_execution_metadata_aggregates: z.ZodOptional<z.ZodBoolean>;
|
|
1512
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1514
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1515
|
+
table_id: z.ZodString;
|
|
1516
|
+
sheet_id: z.ZodString;
|
|
1517
|
+
}, "strip", z.ZodTypeAny, {
|
|
1518
|
+
table_id: string;
|
|
1519
|
+
sheet_id: string;
|
|
1520
|
+
sort?: "row_index" | undefined;
|
|
1521
|
+
api_key?: string | undefined;
|
|
1522
|
+
limit?: number | undefined;
|
|
1523
|
+
order?: "asc" | "desc" | undefined;
|
|
1524
|
+
cursor?: string | undefined;
|
|
1525
|
+
include_system_columns?: boolean | undefined;
|
|
1526
|
+
include_columns?: boolean | undefined;
|
|
1527
|
+
include_row_count?: boolean | undefined;
|
|
1528
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
1529
|
+
}, {
|
|
1530
|
+
table_id: string;
|
|
1531
|
+
sheet_id: string;
|
|
1532
|
+
sort?: "row_index" | undefined;
|
|
1533
|
+
api_key?: string | undefined;
|
|
1534
|
+
limit?: number | undefined;
|
|
1535
|
+
order?: "asc" | "desc" | undefined;
|
|
1536
|
+
cursor?: string | undefined;
|
|
1537
|
+
include_system_columns?: boolean | undefined;
|
|
1538
|
+
include_columns?: boolean | undefined;
|
|
1539
|
+
include_row_count?: boolean | undefined;
|
|
1540
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
1541
|
+
}>;
|
|
1542
|
+
export declare const AddSmartTableRowsArgsSchema: z.ZodObject<{
|
|
1543
|
+
table_id: z.ZodString;
|
|
1544
|
+
sheet_id: z.ZodString;
|
|
1545
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1546
|
+
values: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1547
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1548
|
+
}, "strip", z.ZodTypeAny, {
|
|
1549
|
+
table_id: string;
|
|
1550
|
+
sheet_id: string;
|
|
1551
|
+
values?: Record<string, unknown>[] | undefined;
|
|
1552
|
+
api_key?: string | undefined;
|
|
1553
|
+
count?: number | undefined;
|
|
1554
|
+
}, {
|
|
1555
|
+
table_id: string;
|
|
1556
|
+
sheet_id: string;
|
|
1557
|
+
values?: Record<string, unknown>[] | undefined;
|
|
1558
|
+
api_key?: string | undefined;
|
|
1559
|
+
count?: number | undefined;
|
|
1560
|
+
}>;
|
|
1561
|
+
export declare const GetSmartTableCellArgsSchema: z.ZodObject<{
|
|
1562
|
+
table_id: z.ZodString;
|
|
1563
|
+
sheet_id: z.ZodString;
|
|
1564
|
+
cell_id: z.ZodString;
|
|
1565
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, "strip", z.ZodTypeAny, {
|
|
1567
|
+
table_id: string;
|
|
1568
|
+
sheet_id: string;
|
|
1569
|
+
cell_id: string;
|
|
1570
|
+
api_key?: string | undefined;
|
|
1571
|
+
}, {
|
|
1572
|
+
table_id: string;
|
|
1573
|
+
sheet_id: string;
|
|
1574
|
+
cell_id: string;
|
|
1575
|
+
api_key?: string | undefined;
|
|
1576
|
+
}>;
|
|
1577
|
+
export declare const UpdateSmartTableCellArgsSchema: z.ZodObject<{
|
|
1578
|
+
table_id: z.ZodString;
|
|
1579
|
+
sheet_id: z.ZodString;
|
|
1580
|
+
cell_id: z.ZodString;
|
|
1581
|
+
display_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1582
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
1583
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1584
|
+
}, "strip", z.ZodTypeAny, {
|
|
1585
|
+
table_id: string;
|
|
1586
|
+
sheet_id: string;
|
|
1587
|
+
cell_id: string;
|
|
1588
|
+
value?: unknown;
|
|
1589
|
+
api_key?: string | undefined;
|
|
1590
|
+
display_value?: string | null | undefined;
|
|
1591
|
+
}, {
|
|
1592
|
+
table_id: string;
|
|
1593
|
+
sheet_id: string;
|
|
1594
|
+
cell_id: string;
|
|
1595
|
+
value?: unknown;
|
|
1596
|
+
api_key?: string | undefined;
|
|
1597
|
+
display_value?: string | null | undefined;
|
|
1598
|
+
}>;
|
|
1599
|
+
export declare const RecalculateSmartTableCellArgsSchema: z.ZodObject<{
|
|
1600
|
+
table_id: z.ZodString;
|
|
1601
|
+
sheet_id: z.ZodString;
|
|
1602
|
+
cell_id: z.ZodString;
|
|
1603
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
|
+
table_id: string;
|
|
1606
|
+
sheet_id: string;
|
|
1607
|
+
cell_id: string;
|
|
1608
|
+
api_key?: string | undefined;
|
|
1609
|
+
}, {
|
|
1610
|
+
table_id: string;
|
|
1611
|
+
sheet_id: string;
|
|
1612
|
+
cell_id: string;
|
|
1613
|
+
api_key?: string | undefined;
|
|
1614
|
+
}>;
|
|
1615
|
+
export declare const RecalculateSmartTableCellsArgsSchema: z.ZodObject<{
|
|
1616
|
+
table_id: z.ZodString;
|
|
1617
|
+
sheet_id: z.ZodString;
|
|
1618
|
+
cell_ids: z.ZodArray<z.ZodString, "many">;
|
|
1619
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
}, "strip", z.ZodTypeAny, {
|
|
1621
|
+
table_id: string;
|
|
1622
|
+
sheet_id: string;
|
|
1623
|
+
cell_ids: string[];
|
|
1624
|
+
api_key?: string | undefined;
|
|
1625
|
+
}, {
|
|
1626
|
+
table_id: string;
|
|
1627
|
+
sheet_id: string;
|
|
1628
|
+
cell_ids: string[];
|
|
1629
|
+
api_key?: string | undefined;
|
|
1630
|
+
}>;
|
|
1631
|
+
export declare const ListSmartTableOperationsArgsSchema: z.ZodObject<{
|
|
1632
|
+
table_id: z.ZodString;
|
|
1633
|
+
sheet_id: z.ZodString;
|
|
1634
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
}, "strip", z.ZodTypeAny, {
|
|
1636
|
+
table_id: string;
|
|
1637
|
+
sheet_id: string;
|
|
1638
|
+
api_key?: string | undefined;
|
|
1639
|
+
}, {
|
|
1640
|
+
table_id: string;
|
|
1641
|
+
sheet_id: string;
|
|
1642
|
+
api_key?: string | undefined;
|
|
1643
|
+
}>;
|
|
1644
|
+
export declare const CreateSmartTableOperationArgsSchema: z.ZodObject<{
|
|
1645
|
+
table_id: z.ZodString;
|
|
1646
|
+
sheet_id: z.ZodString;
|
|
1647
|
+
operation: z.ZodOptional<z.ZodEnum<["recalculate"]>>;
|
|
1648
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1649
|
+
row_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1650
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["STALE", "QUEUED", "DISPATCHED", "RUNNING", "COMPLETED", "FAILED"]>, "many">>;
|
|
1651
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
}, "strip", z.ZodTypeAny, {
|
|
1653
|
+
table_id: string;
|
|
1654
|
+
sheet_id: string;
|
|
1655
|
+
api_key?: string | undefined;
|
|
1656
|
+
operation?: "recalculate" | undefined;
|
|
1657
|
+
column_ids?: string[] | undefined;
|
|
1658
|
+
row_ids?: number[] | undefined;
|
|
1659
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
1660
|
+
}, {
|
|
1661
|
+
table_id: string;
|
|
1662
|
+
sheet_id: string;
|
|
1663
|
+
api_key?: string | undefined;
|
|
1664
|
+
operation?: "recalculate" | undefined;
|
|
1665
|
+
column_ids?: string[] | undefined;
|
|
1666
|
+
row_ids?: number[] | undefined;
|
|
1667
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
1668
|
+
}>;
|
|
1669
|
+
export declare const GetSmartTableOperationArgsSchema: z.ZodObject<{
|
|
1670
|
+
table_id: z.ZodString;
|
|
1671
|
+
sheet_id: z.ZodString;
|
|
1672
|
+
operation_id: z.ZodString;
|
|
1673
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
table_id: string;
|
|
1676
|
+
operation_id: string;
|
|
1677
|
+
sheet_id: string;
|
|
1678
|
+
api_key?: string | undefined;
|
|
1679
|
+
}, {
|
|
1680
|
+
table_id: string;
|
|
1681
|
+
operation_id: string;
|
|
1682
|
+
sheet_id: string;
|
|
1683
|
+
api_key?: string | undefined;
|
|
1684
|
+
}>;
|
|
1685
|
+
export declare const CancelSmartTableOperationArgsSchema: z.ZodObject<{
|
|
1686
|
+
table_id: z.ZodString;
|
|
1687
|
+
sheet_id: z.ZodString;
|
|
1688
|
+
operation_id: z.ZodString;
|
|
1689
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1690
|
+
}, "strip", z.ZodTypeAny, {
|
|
1691
|
+
table_id: string;
|
|
1692
|
+
operation_id: string;
|
|
1693
|
+
sheet_id: string;
|
|
1694
|
+
api_key?: string | undefined;
|
|
1695
|
+
}, {
|
|
1696
|
+
table_id: string;
|
|
1697
|
+
operation_id: string;
|
|
1698
|
+
sheet_id: string;
|
|
1699
|
+
api_key?: string | undefined;
|
|
1700
|
+
}>;
|
|
1701
|
+
export declare const GetSmartTableScoreArgsSchema: z.ZodObject<{
|
|
1702
|
+
table_id: z.ZodString;
|
|
1703
|
+
sheet_id: z.ZodString;
|
|
1704
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
}, "strip", z.ZodTypeAny, {
|
|
1706
|
+
table_id: string;
|
|
1707
|
+
sheet_id: string;
|
|
1708
|
+
api_key?: string | undefined;
|
|
1709
|
+
}, {
|
|
1710
|
+
table_id: string;
|
|
1711
|
+
sheet_id: string;
|
|
1712
|
+
api_key?: string | undefined;
|
|
1713
|
+
}>;
|
|
1714
|
+
export declare const ConfigureSmartTableScoreArgsSchema: z.ZodObject<{
|
|
1715
|
+
table_id: z.ZodString;
|
|
1716
|
+
sheet_id: z.ZodString;
|
|
1717
|
+
score_type: z.ZodOptional<z.ZodEnum<["auto", "boolean", "numeric", "custom"]>>;
|
|
1718
|
+
score_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1719
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1720
|
+
column_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1721
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1722
|
+
code_language: z.ZodOptional<z.ZodEnum<["PYTHON", "JAVASCRIPT"]>>;
|
|
1723
|
+
true_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1724
|
+
false_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1725
|
+
assertion_aggregation: z.ZodOptional<z.ZodEnum<["all", "any", "mean"]>>;
|
|
1726
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
}, "strip", z.ZodTypeAny, {
|
|
1728
|
+
table_id: string;
|
|
1729
|
+
sheet_id: string;
|
|
1730
|
+
code?: string | undefined;
|
|
1731
|
+
api_key?: string | undefined;
|
|
1732
|
+
column_ids?: string[] | undefined;
|
|
1733
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
1734
|
+
score_config?: Record<string, unknown> | undefined;
|
|
1735
|
+
column_names?: string[] | undefined;
|
|
1736
|
+
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
1737
|
+
true_values?: string[] | undefined;
|
|
1738
|
+
false_values?: string[] | undefined;
|
|
1739
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
1740
|
+
}, {
|
|
1741
|
+
table_id: string;
|
|
1742
|
+
sheet_id: string;
|
|
1743
|
+
code?: string | undefined;
|
|
1744
|
+
api_key?: string | undefined;
|
|
1745
|
+
column_ids?: string[] | undefined;
|
|
1746
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
1747
|
+
score_config?: Record<string, unknown> | undefined;
|
|
1748
|
+
column_names?: string[] | undefined;
|
|
1749
|
+
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
1750
|
+
true_values?: string[] | undefined;
|
|
1751
|
+
false_values?: string[] | undefined;
|
|
1752
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
1753
|
+
}>;
|
|
1754
|
+
export declare const RecalculateSmartTableScoreArgsSchema: z.ZodObject<{
|
|
1755
|
+
table_id: z.ZodString;
|
|
1756
|
+
sheet_id: z.ZodString;
|
|
1757
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
}, "strip", z.ZodTypeAny, {
|
|
1759
|
+
table_id: string;
|
|
1760
|
+
sheet_id: string;
|
|
1120
1761
|
api_key?: string | undefined;
|
|
1121
|
-
commit_message?: string | undefined;
|
|
1122
|
-
file_updates?: {
|
|
1123
|
-
path: string;
|
|
1124
|
-
content?: string | undefined;
|
|
1125
|
-
}[] | undefined;
|
|
1126
|
-
moves?: {
|
|
1127
|
-
old_path: string;
|
|
1128
|
-
new_path: string;
|
|
1129
|
-
}[] | undefined;
|
|
1130
|
-
deletes?: string[] | undefined;
|
|
1131
|
-
release_label?: string | undefined;
|
|
1132
1762
|
}, {
|
|
1133
|
-
|
|
1763
|
+
table_id: string;
|
|
1764
|
+
sheet_id: string;
|
|
1134
1765
|
api_key?: string | undefined;
|
|
1135
|
-
commit_message?: string | undefined;
|
|
1136
|
-
file_updates?: {
|
|
1137
|
-
path: string;
|
|
1138
|
-
content?: string | undefined;
|
|
1139
|
-
}[] | undefined;
|
|
1140
|
-
moves?: {
|
|
1141
|
-
old_path: string;
|
|
1142
|
-
new_path: string;
|
|
1143
|
-
}[] | undefined;
|
|
1144
|
-
deletes?: string[] | undefined;
|
|
1145
|
-
release_label?: string | undefined;
|
|
1146
1766
|
}>;
|
|
1147
|
-
export declare const
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1151
|
-
messages: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
1152
|
-
tools: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
1153
|
-
functions: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">, z.ZodNull]>>;
|
|
1154
|
-
function_call: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1155
|
-
tool_choice: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1156
|
-
content: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
1157
|
-
model_parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1158
|
-
response_format: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
1159
|
-
commit_message: z.ZodOptional<z.ZodString>;
|
|
1160
|
-
release_labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1767
|
+
export declare const ListSmartTableVersionsArgsSchema: z.ZodObject<{
|
|
1768
|
+
sort: z.ZodOptional<z.ZodEnum<["version_number"]>>;
|
|
1769
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1161
1770
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
1773
|
+
table_id: z.ZodString;
|
|
1774
|
+
sheet_id: z.ZodString;
|
|
1162
1775
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1776
|
+
table_id: string;
|
|
1777
|
+
sheet_id: string;
|
|
1778
|
+
sort?: "version_number" | undefined;
|
|
1166
1779
|
api_key?: string | undefined;
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1171
|
-
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1172
|
-
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1173
|
-
function_call?: string | Record<string, unknown> | null | undefined;
|
|
1174
|
-
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
1175
|
-
model_parameters?: Record<string, unknown> | undefined;
|
|
1176
|
-
response_format?: Record<string, unknown> | null | undefined;
|
|
1780
|
+
limit?: number | undefined;
|
|
1781
|
+
order?: "asc" | "desc" | undefined;
|
|
1782
|
+
cursor?: string | undefined;
|
|
1177
1783
|
}, {
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1784
|
+
table_id: string;
|
|
1785
|
+
sheet_id: string;
|
|
1786
|
+
sort?: "version_number" | undefined;
|
|
1181
1787
|
api_key?: string | undefined;
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
messages?: Record<string, unknown> | Record<string, unknown>[] | undefined;
|
|
1186
|
-
tools?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1187
|
-
functions?: Record<string, unknown> | Record<string, unknown>[] | null | undefined;
|
|
1188
|
-
function_call?: string | Record<string, unknown> | null | undefined;
|
|
1189
|
-
tool_choice?: string | Record<string, unknown> | null | undefined;
|
|
1190
|
-
model_parameters?: Record<string, unknown> | undefined;
|
|
1191
|
-
response_format?: Record<string, unknown> | null | undefined;
|
|
1788
|
+
limit?: number | undefined;
|
|
1789
|
+
order?: "asc" | "desc" | undefined;
|
|
1790
|
+
cursor?: string | undefined;
|
|
1192
1791
|
}>;
|
|
1193
|
-
export declare const
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1792
|
+
export declare const GetSmartTableVersionArgsSchema: z.ZodObject<{
|
|
1793
|
+
table_id: z.ZodString;
|
|
1794
|
+
sheet_id: z.ZodString;
|
|
1795
|
+
version_id: z.ZodString;
|
|
1197
1796
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1198
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1199
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1200
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1201
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1202
1797
|
}, "strip", z.ZodTypeAny, {
|
|
1798
|
+
table_id: string;
|
|
1799
|
+
sheet_id: string;
|
|
1800
|
+
version_id: string;
|
|
1203
1801
|
api_key?: string | undefined;
|
|
1204
|
-
page?: number | undefined;
|
|
1205
|
-
per_page?: number | undefined;
|
|
1206
|
-
filter_group?: any;
|
|
1207
|
-
q?: string | undefined;
|
|
1208
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1209
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1210
|
-
include_prompt_name?: boolean | undefined;
|
|
1211
1802
|
}, {
|
|
1803
|
+
table_id: string;
|
|
1804
|
+
sheet_id: string;
|
|
1805
|
+
version_id: string;
|
|
1212
1806
|
api_key?: string | undefined;
|
|
1213
|
-
page?: number | undefined;
|
|
1214
|
-
per_page?: number | undefined;
|
|
1215
|
-
filter_group?: any;
|
|
1216
|
-
q?: string | undefined;
|
|
1217
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1218
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1219
|
-
include_prompt_name?: boolean | undefined;
|
|
1220
1807
|
}>;
|
|
1221
|
-
export declare const
|
|
1808
|
+
export declare const CreateSmartTableVersionArgsSchema: z.ZodObject<{
|
|
1809
|
+
table_id: z.ZodString;
|
|
1810
|
+
sheet_id: z.ZodString;
|
|
1811
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1812
|
+
source_version_id: z.ZodOptional<z.ZodString>;
|
|
1222
1813
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1223
|
-
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1224
|
-
q: z.ZodOptional<z.ZodString>;
|
|
1225
|
-
sort_by: z.ZodOptional<z.ZodEnum<["request_start_time", "input_tokens", "output_tokens", "cost", "latency_ms", "status", "turn_count", "tool_call_count"]>>;
|
|
1226
|
-
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
1227
1814
|
}, "strip", z.ZodTypeAny, {
|
|
1815
|
+
table_id: string;
|
|
1816
|
+
sheet_id: string;
|
|
1228
1817
|
api_key?: string | undefined;
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1232
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1818
|
+
name?: string | undefined;
|
|
1819
|
+
source_version_id?: string | undefined;
|
|
1233
1820
|
}, {
|
|
1821
|
+
table_id: string;
|
|
1822
|
+
sheet_id: string;
|
|
1234
1823
|
api_key?: string | undefined;
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1238
|
-
sort_order?: "asc" | "desc" | undefined;
|
|
1824
|
+
name?: string | undefined;
|
|
1825
|
+
source_version_id?: string | undefined;
|
|
1239
1826
|
}>;
|
|
1240
|
-
export declare const
|
|
1241
|
-
|
|
1827
|
+
export declare const GetSmartTableScoreHistoryArgsSchema: z.ZodObject<{
|
|
1828
|
+
table_id: z.ZodString;
|
|
1829
|
+
sheet_id: z.ZodString;
|
|
1830
|
+
max_points: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
+
range: z.ZodOptional<z.ZodString>;
|
|
1832
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
1242
1833
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1243
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1244
|
-
|
|
1835
|
+
table_id: string;
|
|
1836
|
+
sheet_id: string;
|
|
1245
1837
|
api_key?: string | undefined;
|
|
1838
|
+
max_points?: number | undefined;
|
|
1839
|
+
range?: string | undefined;
|
|
1840
|
+
resolution?: string | undefined;
|
|
1246
1841
|
}, {
|
|
1247
|
-
|
|
1842
|
+
table_id: string;
|
|
1843
|
+
sheet_id: string;
|
|
1248
1844
|
api_key?: string | undefined;
|
|
1845
|
+
max_points?: number | undefined;
|
|
1846
|
+
range?: string | undefined;
|
|
1847
|
+
resolution?: string | undefined;
|
|
1249
1848
|
}>;
|
|
1250
|
-
export declare const
|
|
1251
|
-
|
|
1849
|
+
export declare const ListLegacySmartTableMigrationsArgsSchema: z.ZodObject<{
|
|
1850
|
+
source_type: z.ZodOptional<z.ZodEnum<["dataset_group", "dataset", "report"]>>;
|
|
1851
|
+
source_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1252
1852
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1253
1853
|
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
trace_id: string;
|
|
1255
1854
|
api_key?: string | undefined;
|
|
1855
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
1856
|
+
source_id?: number | number[] | undefined;
|
|
1256
1857
|
}, {
|
|
1257
|
-
trace_id: string;
|
|
1258
1858
|
api_key?: string | undefined;
|
|
1859
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
1860
|
+
source_id?: number | number[] | undefined;
|
|
1259
1861
|
}>;
|
|
1260
|
-
export declare const
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
metadata_key: z.ZodOptional<z.ZodString>;
|
|
1264
|
-
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1265
|
-
filter_group: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
export declare const PreviewLegacySmartTableMigrationArgsSchema: z.ZodObject<{
|
|
1863
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
1864
|
+
source_id: z.ZodNumber;
|
|
1266
1865
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1267
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1268
|
-
|
|
1867
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1868
|
+
source_id: number;
|
|
1269
1869
|
api_key?: string | undefined;
|
|
1270
|
-
prompt_id?: number | undefined;
|
|
1271
|
-
filter_group?: string | undefined;
|
|
1272
|
-
prefix?: string | undefined;
|
|
1273
|
-
metadata_key?: string | undefined;
|
|
1274
1870
|
}, {
|
|
1275
|
-
|
|
1871
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1872
|
+
source_id: number;
|
|
1873
|
+
api_key?: string | undefined;
|
|
1874
|
+
}>;
|
|
1875
|
+
export declare const MigrateLegacyToSmartTableArgsSchema: z.ZodObject<{
|
|
1876
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
1877
|
+
source_id: z.ZodNumber;
|
|
1878
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
1879
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
1880
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
1881
|
+
continue_on_error: z.ZodOptional<z.ZodBoolean>;
|
|
1882
|
+
include_reports_with_missing_datasets: z.ZodOptional<z.ZodBoolean>;
|
|
1883
|
+
max_version_snapshot_cells: z.ZodOptional<z.ZodNumber>;
|
|
1884
|
+
report_preview_row_limit: z.ZodOptional<z.ZodNumber>;
|
|
1885
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1886
|
+
}, "strip", z.ZodTypeAny, {
|
|
1887
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1888
|
+
source_id: number;
|
|
1889
|
+
api_key?: string | undefined;
|
|
1890
|
+
force?: boolean | undefined;
|
|
1891
|
+
dry_run?: boolean | undefined;
|
|
1892
|
+
resume?: boolean | undefined;
|
|
1893
|
+
continue_on_error?: boolean | undefined;
|
|
1894
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
1895
|
+
max_version_snapshot_cells?: number | undefined;
|
|
1896
|
+
report_preview_row_limit?: number | undefined;
|
|
1897
|
+
}, {
|
|
1898
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
1899
|
+
source_id: number;
|
|
1900
|
+
api_key?: string | undefined;
|
|
1901
|
+
force?: boolean | undefined;
|
|
1902
|
+
dry_run?: boolean | undefined;
|
|
1903
|
+
resume?: boolean | undefined;
|
|
1904
|
+
continue_on_error?: boolean | undefined;
|
|
1905
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
1906
|
+
max_version_snapshot_cells?: number | undefined;
|
|
1907
|
+
report_preview_row_limit?: number | undefined;
|
|
1908
|
+
}>;
|
|
1909
|
+
export declare const GetLegacySmartTableMigrationJobArgsSchema: z.ZodObject<{
|
|
1910
|
+
job_id: z.ZodString;
|
|
1911
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1912
|
+
}, "strip", z.ZodTypeAny, {
|
|
1913
|
+
job_id: string;
|
|
1914
|
+
api_key?: string | undefined;
|
|
1915
|
+
}, {
|
|
1916
|
+
job_id: string;
|
|
1276
1917
|
api_key?: string | undefined;
|
|
1277
|
-
prompt_id?: number | undefined;
|
|
1278
|
-
filter_group?: string | undefined;
|
|
1279
|
-
prefix?: string | undefined;
|
|
1280
|
-
metadata_key?: string | undefined;
|
|
1281
1918
|
}>;
|
|
1282
1919
|
export type GetPromptTemplateParams = Omit<z.infer<typeof GetPromptTemplateArgsSchema>, "prompt_name" | "api_key">;
|
|
1283
1920
|
export type ListPromptTemplatesParams = Omit<z.infer<typeof ListPromptTemplatesArgsSchema>, "api_key">;
|
|
@@ -1586,20 +2223,20 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1586
2223
|
api_key?: string | undefined;
|
|
1587
2224
|
page?: number | undefined;
|
|
1588
2225
|
per_page?: number | undefined;
|
|
2226
|
+
include_prompt_name?: boolean | undefined;
|
|
1589
2227
|
filter_group?: any;
|
|
1590
2228
|
q?: string | undefined;
|
|
1591
2229
|
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1592
2230
|
sort_order?: "asc" | "desc" | undefined;
|
|
1593
|
-
include_prompt_name?: boolean | undefined;
|
|
1594
2231
|
}, {
|
|
1595
2232
|
api_key?: string | undefined;
|
|
1596
2233
|
page?: number | undefined;
|
|
1597
2234
|
per_page?: number | undefined;
|
|
2235
|
+
include_prompt_name?: boolean | undefined;
|
|
1598
2236
|
filter_group?: any;
|
|
1599
2237
|
q?: string | undefined;
|
|
1600
2238
|
sort_by?: "status" | "request_start_time" | "input_tokens" | "output_tokens" | "cost" | "latency_ms" | "turn_count" | "tool_call_count" | undefined;
|
|
1601
2239
|
sort_order?: "asc" | "desc" | undefined;
|
|
1602
|
-
include_prompt_name?: boolean | undefined;
|
|
1603
2240
|
}>;
|
|
1604
2241
|
readonly annotations: {
|
|
1605
2242
|
readonly readOnlyHint: true;
|
|
@@ -1768,516 +2405,1104 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
1768
2405
|
readonly readOnlyHint: false;
|
|
1769
2406
|
};
|
|
1770
2407
|
};
|
|
1771
|
-
readonly "list-
|
|
1772
|
-
readonly name: "list-
|
|
1773
|
-
readonly description:
|
|
2408
|
+
readonly "list-smart-tables": {
|
|
2409
|
+
readonly name: "list-smart-tables";
|
|
2410
|
+
readonly description: string;
|
|
1774
2411
|
readonly inputSchema: z.ZodObject<{
|
|
1775
|
-
|
|
1776
|
-
|
|
2412
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
2414
|
+
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
2415
|
+
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
2416
|
+
sort: z.ZodOptional<z.ZodEnum<["created_at"]>>;
|
|
2417
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2418
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2420
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
1777
2421
|
name: z.ZodOptional<z.ZodString>;
|
|
1778
|
-
|
|
1779
|
-
|
|
2422
|
+
}, "strip", z.ZodTypeAny, {
|
|
2423
|
+
sort?: "created_at" | undefined;
|
|
2424
|
+
api_key?: string | undefined;
|
|
2425
|
+
name?: string | undefined;
|
|
2426
|
+
folder_id?: number | undefined;
|
|
2427
|
+
prompt_id?: number | undefined;
|
|
2428
|
+
prompt_version_id?: number | undefined;
|
|
2429
|
+
prompt_label_id?: number | undefined;
|
|
2430
|
+
limit?: number | undefined;
|
|
2431
|
+
order?: "asc" | "desc" | undefined;
|
|
2432
|
+
cursor?: string | undefined;
|
|
2433
|
+
}, {
|
|
2434
|
+
sort?: "created_at" | undefined;
|
|
2435
|
+
api_key?: string | undefined;
|
|
2436
|
+
name?: string | undefined;
|
|
2437
|
+
folder_id?: number | undefined;
|
|
2438
|
+
prompt_id?: number | undefined;
|
|
2439
|
+
prompt_version_id?: number | undefined;
|
|
2440
|
+
prompt_label_id?: number | undefined;
|
|
2441
|
+
limit?: number | undefined;
|
|
2442
|
+
order?: "asc" | "desc" | undefined;
|
|
2443
|
+
cursor?: string | undefined;
|
|
2444
|
+
}>;
|
|
2445
|
+
readonly annotations: {
|
|
2446
|
+
readonly readOnlyHint: true;
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
readonly "create-smart-table": {
|
|
2450
|
+
readonly name: "create-smart-table";
|
|
2451
|
+
readonly description: string;
|
|
2452
|
+
readonly inputSchema: z.ZodObject<{
|
|
2453
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2455
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
}, "strip", z.ZodTypeAny, {
|
|
2457
|
+
api_key?: string | undefined;
|
|
2458
|
+
folder_id?: number | undefined;
|
|
2459
|
+
title?: string | undefined;
|
|
2460
|
+
}, {
|
|
2461
|
+
api_key?: string | undefined;
|
|
2462
|
+
folder_id?: number | undefined;
|
|
2463
|
+
title?: string | undefined;
|
|
2464
|
+
}>;
|
|
2465
|
+
readonly annotations: {
|
|
2466
|
+
readonly readOnlyHint: false;
|
|
2467
|
+
};
|
|
2468
|
+
};
|
|
2469
|
+
readonly "get-smart-table": {
|
|
2470
|
+
readonly name: "get-smart-table";
|
|
2471
|
+
readonly description: "Get a Smart Table by UUID, including sheet counts and row counts.";
|
|
2472
|
+
readonly inputSchema: z.ZodObject<{
|
|
2473
|
+
table_id: z.ZodString;
|
|
2474
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2475
|
+
}, "strip", z.ZodTypeAny, {
|
|
2476
|
+
table_id: string;
|
|
2477
|
+
api_key?: string | undefined;
|
|
2478
|
+
}, {
|
|
2479
|
+
table_id: string;
|
|
2480
|
+
api_key?: string | undefined;
|
|
2481
|
+
}>;
|
|
2482
|
+
readonly annotations: {
|
|
2483
|
+
readonly readOnlyHint: true;
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
readonly "update-smart-table": {
|
|
2487
|
+
readonly name: "update-smart-table";
|
|
2488
|
+
readonly description: "Update a Smart Table title or folder.";
|
|
2489
|
+
readonly inputSchema: z.ZodObject<{
|
|
2490
|
+
table_id: z.ZodString;
|
|
2491
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2492
|
+
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2493
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2494
|
+
}, "strip", z.ZodTypeAny, {
|
|
2495
|
+
table_id: string;
|
|
2496
|
+
api_key?: string | undefined;
|
|
2497
|
+
folder_id?: number | undefined;
|
|
2498
|
+
title?: string | undefined;
|
|
2499
|
+
}, {
|
|
2500
|
+
table_id: string;
|
|
2501
|
+
api_key?: string | undefined;
|
|
2502
|
+
folder_id?: number | undefined;
|
|
2503
|
+
title?: string | undefined;
|
|
2504
|
+
}>;
|
|
2505
|
+
readonly annotations: {
|
|
2506
|
+
readonly readOnlyHint: false;
|
|
2507
|
+
};
|
|
2508
|
+
};
|
|
2509
|
+
readonly "list-smart-table-sheets": {
|
|
2510
|
+
readonly name: "list-smart-table-sheets";
|
|
2511
|
+
readonly description: "List sheets in a Smart Table with cursor pagination.";
|
|
2512
|
+
readonly inputSchema: z.ZodObject<{
|
|
2513
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1780
2514
|
prompt_id: z.ZodOptional<z.ZodNumber>;
|
|
1781
2515
|
prompt_version_id: z.ZodOptional<z.ZodNumber>;
|
|
1782
2516
|
prompt_label_id: z.ZodOptional<z.ZodNumber>;
|
|
1783
|
-
|
|
2517
|
+
sort: z.ZodOptional<z.ZodEnum<["index"]>>;
|
|
2518
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2519
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2521
|
+
table_id: z.ZodString;
|
|
2522
|
+
}, "strip", z.ZodTypeAny, {
|
|
2523
|
+
table_id: string;
|
|
2524
|
+
sort?: "index" | undefined;
|
|
2525
|
+
api_key?: string | undefined;
|
|
2526
|
+
prompt_id?: number | undefined;
|
|
2527
|
+
prompt_version_id?: number | undefined;
|
|
2528
|
+
prompt_label_id?: number | undefined;
|
|
2529
|
+
limit?: number | undefined;
|
|
2530
|
+
order?: "asc" | "desc" | undefined;
|
|
2531
|
+
cursor?: string | undefined;
|
|
2532
|
+
}, {
|
|
2533
|
+
table_id: string;
|
|
2534
|
+
sort?: "index" | undefined;
|
|
2535
|
+
api_key?: string | undefined;
|
|
2536
|
+
prompt_id?: number | undefined;
|
|
2537
|
+
prompt_version_id?: number | undefined;
|
|
2538
|
+
prompt_label_id?: number | undefined;
|
|
2539
|
+
limit?: number | undefined;
|
|
2540
|
+
order?: "asc" | "desc" | undefined;
|
|
2541
|
+
cursor?: string | undefined;
|
|
2542
|
+
}>;
|
|
2543
|
+
readonly annotations: {
|
|
2544
|
+
readonly readOnlyHint: true;
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
readonly "create-smart-table-sheet": {
|
|
2548
|
+
readonly name: "create-smart-table-sheet";
|
|
2549
|
+
readonly description: string;
|
|
2550
|
+
readonly inputSchema: z.ZodObject<{
|
|
2551
|
+
table_id: z.ZodString;
|
|
2552
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2554
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
2555
|
+
source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2556
|
+
type: z.ZodLiteral<"file">;
|
|
2557
|
+
file_name: z.ZodString;
|
|
2558
|
+
file_content_base64: z.ZodString;
|
|
2559
|
+
}, "strip", z.ZodTypeAny, {
|
|
2560
|
+
type: "file";
|
|
2561
|
+
file_name: string;
|
|
2562
|
+
file_content_base64: string;
|
|
2563
|
+
}, {
|
|
2564
|
+
type: "file";
|
|
2565
|
+
file_name: string;
|
|
2566
|
+
file_content_base64: string;
|
|
2567
|
+
}>, z.ZodObject<{
|
|
2568
|
+
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2569
|
+
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
2570
|
+
q: z.ZodOptional<z.ZodString>;
|
|
2571
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
2572
|
+
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2573
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
2574
|
+
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2575
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2576
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2577
|
+
type: z.ZodLiteral<"request_logs">;
|
|
2578
|
+
}, "strip", z.ZodTypeAny, {
|
|
2579
|
+
type: "request_logs";
|
|
2580
|
+
filter_group?: any;
|
|
2581
|
+
q?: string | undefined;
|
|
2582
|
+
sort_by?: string | undefined;
|
|
2583
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2584
|
+
request_log_ids?: number[] | undefined;
|
|
2585
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2586
|
+
variables_to_parse?: string[] | undefined;
|
|
2587
|
+
include_fields?: string[] | undefined;
|
|
2588
|
+
limit?: number | undefined;
|
|
2589
|
+
}, {
|
|
2590
|
+
type: "request_logs";
|
|
2591
|
+
filter_group?: any;
|
|
2592
|
+
q?: string | undefined;
|
|
2593
|
+
sort_by?: string | undefined;
|
|
2594
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2595
|
+
request_log_ids?: number[] | undefined;
|
|
2596
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2597
|
+
variables_to_parse?: string[] | undefined;
|
|
2598
|
+
include_fields?: string[] | undefined;
|
|
2599
|
+
limit?: number | undefined;
|
|
2600
|
+
}>]>;
|
|
2601
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2602
|
+
}, "strip", z.ZodTypeAny, {
|
|
2603
|
+
table_id: string;
|
|
2604
|
+
source: {
|
|
2605
|
+
type: "file";
|
|
2606
|
+
file_name: string;
|
|
2607
|
+
file_content_base64: string;
|
|
2608
|
+
} | {
|
|
2609
|
+
type: "request_logs";
|
|
2610
|
+
filter_group?: any;
|
|
2611
|
+
q?: string | undefined;
|
|
2612
|
+
sort_by?: string | undefined;
|
|
2613
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2614
|
+
request_log_ids?: number[] | undefined;
|
|
2615
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2616
|
+
variables_to_parse?: string[] | undefined;
|
|
2617
|
+
include_fields?: string[] | undefined;
|
|
2618
|
+
limit?: number | undefined;
|
|
2619
|
+
};
|
|
2620
|
+
api_key?: string | undefined;
|
|
2621
|
+
title?: string | undefined;
|
|
2622
|
+
index?: number | undefined;
|
|
2623
|
+
operation_id?: string | undefined;
|
|
2624
|
+
}, {
|
|
2625
|
+
table_id: string;
|
|
2626
|
+
source: {
|
|
2627
|
+
type: "file";
|
|
2628
|
+
file_name: string;
|
|
2629
|
+
file_content_base64: string;
|
|
2630
|
+
} | {
|
|
2631
|
+
type: "request_logs";
|
|
2632
|
+
filter_group?: any;
|
|
2633
|
+
q?: string | undefined;
|
|
2634
|
+
sort_by?: string | undefined;
|
|
2635
|
+
sort_order?: "asc" | "desc" | undefined;
|
|
2636
|
+
request_log_ids?: number[] | undefined;
|
|
2637
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
2638
|
+
variables_to_parse?: string[] | undefined;
|
|
2639
|
+
include_fields?: string[] | undefined;
|
|
2640
|
+
limit?: number | undefined;
|
|
2641
|
+
};
|
|
2642
|
+
api_key?: string | undefined;
|
|
2643
|
+
title?: string | undefined;
|
|
2644
|
+
index?: number | undefined;
|
|
2645
|
+
operation_id?: string | undefined;
|
|
2646
|
+
}>;
|
|
2647
|
+
readonly annotations: {
|
|
2648
|
+
readonly readOnlyHint: false;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
readonly "get-smart-table-sheet": {
|
|
2652
|
+
readonly name: "get-smart-table-sheet";
|
|
2653
|
+
readonly description: "Get a single Smart Table sheet.";
|
|
2654
|
+
readonly inputSchema: z.ZodObject<{
|
|
2655
|
+
table_id: z.ZodString;
|
|
2656
|
+
sheet_id: z.ZodString;
|
|
2657
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2658
|
+
}, "strip", z.ZodTypeAny, {
|
|
2659
|
+
table_id: string;
|
|
2660
|
+
sheet_id: string;
|
|
2661
|
+
api_key?: string | undefined;
|
|
2662
|
+
}, {
|
|
2663
|
+
table_id: string;
|
|
2664
|
+
sheet_id: string;
|
|
2665
|
+
api_key?: string | undefined;
|
|
2666
|
+
}>;
|
|
2667
|
+
readonly annotations: {
|
|
2668
|
+
readonly readOnlyHint: true;
|
|
2669
|
+
};
|
|
2670
|
+
};
|
|
2671
|
+
readonly "update-smart-table-sheet": {
|
|
2672
|
+
readonly name: "update-smart-table-sheet";
|
|
2673
|
+
readonly description: "Update a Smart Table sheet title or index.";
|
|
2674
|
+
readonly inputSchema: z.ZodObject<{
|
|
2675
|
+
table_id: z.ZodString;
|
|
2676
|
+
sheet_id: z.ZodString;
|
|
2677
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1784
2679
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1785
2680
|
}, "strip", z.ZodTypeAny, {
|
|
1786
|
-
|
|
2681
|
+
table_id: string;
|
|
2682
|
+
sheet_id: string;
|
|
1787
2683
|
api_key?: string | undefined;
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
name?: string | undefined;
|
|
1791
|
-
prompt_id?: number | undefined;
|
|
1792
|
-
prompt_version_id?: number | undefined;
|
|
1793
|
-
prompt_label_id?: number | undefined;
|
|
1794
|
-
dataset_group_id?: number | undefined;
|
|
1795
|
-
report_id?: number | undefined;
|
|
2684
|
+
title?: string | undefined;
|
|
2685
|
+
index?: number | undefined;
|
|
1796
2686
|
}, {
|
|
1797
|
-
|
|
2687
|
+
table_id: string;
|
|
2688
|
+
sheet_id: string;
|
|
1798
2689
|
api_key?: string | undefined;
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
name?: string | undefined;
|
|
1802
|
-
prompt_id?: number | undefined;
|
|
1803
|
-
prompt_version_id?: number | undefined;
|
|
1804
|
-
prompt_label_id?: number | undefined;
|
|
1805
|
-
dataset_group_id?: number | undefined;
|
|
1806
|
-
report_id?: number | undefined;
|
|
2690
|
+
title?: string | undefined;
|
|
2691
|
+
index?: number | undefined;
|
|
1807
2692
|
}>;
|
|
1808
2693
|
readonly annotations: {
|
|
1809
|
-
readonly readOnlyHint:
|
|
2694
|
+
readonly readOnlyHint: false;
|
|
1810
2695
|
};
|
|
1811
2696
|
};
|
|
1812
|
-
readonly "
|
|
1813
|
-
readonly name: "
|
|
1814
|
-
readonly description: "
|
|
2697
|
+
readonly "get-smart-table-sheet-import-operation": {
|
|
2698
|
+
readonly name: "get-smart-table-sheet-import-operation";
|
|
2699
|
+
readonly description: "Get status for a Smart Table sheet import operation.";
|
|
1815
2700
|
readonly inputSchema: z.ZodObject<{
|
|
1816
|
-
|
|
1817
|
-
|
|
2701
|
+
table_id: z.ZodString;
|
|
2702
|
+
operation_id: z.ZodString;
|
|
1818
2703
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1819
2704
|
}, "strip", z.ZodTypeAny, {
|
|
2705
|
+
table_id: string;
|
|
2706
|
+
operation_id: string;
|
|
1820
2707
|
api_key?: string | undefined;
|
|
1821
|
-
name?: string | undefined;
|
|
1822
|
-
folder_id?: number | undefined;
|
|
1823
2708
|
}, {
|
|
2709
|
+
table_id: string;
|
|
2710
|
+
operation_id: string;
|
|
1824
2711
|
api_key?: string | undefined;
|
|
1825
|
-
name?: string | undefined;
|
|
1826
|
-
folder_id?: number | undefined;
|
|
1827
2712
|
}>;
|
|
1828
2713
|
readonly annotations: {
|
|
1829
|
-
readonly readOnlyHint:
|
|
2714
|
+
readonly readOnlyHint: true;
|
|
1830
2715
|
};
|
|
1831
2716
|
};
|
|
1832
|
-
readonly "
|
|
1833
|
-
readonly name: "
|
|
1834
|
-
readonly description: "
|
|
2717
|
+
readonly "import-smart-table-sheet-file": {
|
|
2718
|
+
readonly name: "import-smart-table-sheet-file";
|
|
2719
|
+
readonly description: "Import base64 CSV content into an existing Smart Table sheet.";
|
|
1835
2720
|
readonly inputSchema: z.ZodObject<{
|
|
1836
|
-
|
|
2721
|
+
table_id: z.ZodString;
|
|
2722
|
+
sheet_id: z.ZodString;
|
|
2723
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1837
2724
|
file_name: z.ZodString;
|
|
1838
2725
|
file_content_base64: z.ZodString;
|
|
1839
2726
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1840
2727
|
}, "strip", z.ZodTypeAny, {
|
|
1841
|
-
dataset_group_id: number;
|
|
1842
2728
|
file_name: string;
|
|
1843
2729
|
file_content_base64: string;
|
|
2730
|
+
table_id: string;
|
|
2731
|
+
sheet_id: string;
|
|
1844
2732
|
api_key?: string | undefined;
|
|
2733
|
+
operation_id?: string | undefined;
|
|
1845
2734
|
}, {
|
|
1846
|
-
dataset_group_id: number;
|
|
1847
2735
|
file_name: string;
|
|
1848
2736
|
file_content_base64: string;
|
|
2737
|
+
table_id: string;
|
|
2738
|
+
sheet_id: string;
|
|
1849
2739
|
api_key?: string | undefined;
|
|
2740
|
+
operation_id?: string | undefined;
|
|
1850
2741
|
}>;
|
|
1851
2742
|
readonly annotations: {
|
|
1852
2743
|
readonly readOnlyHint: false;
|
|
1853
2744
|
};
|
|
1854
2745
|
};
|
|
1855
|
-
readonly "
|
|
1856
|
-
readonly name: "
|
|
2746
|
+
readonly "import-smart-table-sheet-request-logs": {
|
|
2747
|
+
readonly name: "import-smart-table-sheet-request-logs";
|
|
1857
2748
|
readonly description: string;
|
|
1858
2749
|
readonly inputSchema: z.ZodObject<{
|
|
1859
|
-
|
|
2750
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
1860
2751
|
request_log_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1861
2752
|
filter_group: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1862
2753
|
q: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
sort_by: z.ZodOptional<z.
|
|
2754
|
+
sort_by: z.ZodOptional<z.ZodString>;
|
|
1864
2755
|
sort_order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2756
|
+
metadata_cost_breakdown_key: z.ZodOptional<z.ZodString>;
|
|
1865
2757
|
variables_to_parse: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1866
|
-
|
|
2758
|
+
include_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2759
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2760
|
+
table_id: z.ZodString;
|
|
2761
|
+
sheet_id: z.ZodString;
|
|
2762
|
+
operation_id: z.ZodOptional<z.ZodString>;
|
|
1867
2763
|
}, "strip", z.ZodTypeAny, {
|
|
1868
|
-
|
|
2764
|
+
table_id: string;
|
|
2765
|
+
sheet_id: string;
|
|
1869
2766
|
api_key?: string | undefined;
|
|
1870
|
-
request_log_ids?: number[] | undefined;
|
|
1871
2767
|
filter_group?: any;
|
|
1872
2768
|
q?: string | undefined;
|
|
1873
|
-
sort_by?:
|
|
2769
|
+
sort_by?: string | undefined;
|
|
1874
2770
|
sort_order?: "asc" | "desc" | undefined;
|
|
2771
|
+
request_log_ids?: number[] | undefined;
|
|
2772
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1875
2773
|
variables_to_parse?: string[] | undefined;
|
|
2774
|
+
include_fields?: string[] | undefined;
|
|
2775
|
+
limit?: number | undefined;
|
|
2776
|
+
operation_id?: string | undefined;
|
|
1876
2777
|
}, {
|
|
1877
|
-
|
|
2778
|
+
table_id: string;
|
|
2779
|
+
sheet_id: string;
|
|
1878
2780
|
api_key?: string | undefined;
|
|
1879
|
-
request_log_ids?: number[] | undefined;
|
|
1880
2781
|
filter_group?: any;
|
|
1881
2782
|
q?: string | undefined;
|
|
1882
|
-
sort_by?:
|
|
2783
|
+
sort_by?: string | undefined;
|
|
1883
2784
|
sort_order?: "asc" | "desc" | undefined;
|
|
2785
|
+
request_log_ids?: number[] | undefined;
|
|
2786
|
+
metadata_cost_breakdown_key?: string | undefined;
|
|
1884
2787
|
variables_to_parse?: string[] | undefined;
|
|
2788
|
+
include_fields?: string[] | undefined;
|
|
2789
|
+
limit?: number | undefined;
|
|
2790
|
+
operation_id?: string | undefined;
|
|
1885
2791
|
}>;
|
|
1886
2792
|
readonly annotations: {
|
|
1887
2793
|
readonly readOnlyHint: false;
|
|
1888
2794
|
};
|
|
1889
2795
|
};
|
|
1890
|
-
readonly "
|
|
1891
|
-
readonly name: "
|
|
1892
|
-
readonly description: "
|
|
2796
|
+
readonly "list-smart-table-columns": {
|
|
2797
|
+
readonly name: "list-smart-table-columns";
|
|
2798
|
+
readonly description: "List columns in a Smart Table sheet.";
|
|
1893
2799
|
readonly inputSchema: z.ZodObject<{
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
q: z.ZodOptional<z.ZodString>;
|
|
2800
|
+
sort: z.ZodOptional<z.ZodEnum<["position_rank"]>>;
|
|
2801
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2802
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
1898
2803
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2805
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2806
|
+
table_id: z.ZodString;
|
|
2807
|
+
sheet_id: z.ZodString;
|
|
1899
2808
|
}, "strip", z.ZodTypeAny, {
|
|
1900
|
-
|
|
2809
|
+
table_id: string;
|
|
2810
|
+
sheet_id: string;
|
|
2811
|
+
sort?: "position_rank" | undefined;
|
|
1901
2812
|
api_key?: string | undefined;
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
2813
|
+
limit?: number | undefined;
|
|
2814
|
+
order?: "asc" | "desc" | undefined;
|
|
2815
|
+
cursor?: string | undefined;
|
|
2816
|
+
include_system_columns?: boolean | undefined;
|
|
1905
2817
|
}, {
|
|
1906
|
-
|
|
2818
|
+
table_id: string;
|
|
2819
|
+
sheet_id: string;
|
|
2820
|
+
sort?: "position_rank" | undefined;
|
|
1907
2821
|
api_key?: string | undefined;
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
2822
|
+
limit?: number | undefined;
|
|
2823
|
+
order?: "asc" | "desc" | undefined;
|
|
2824
|
+
cursor?: string | undefined;
|
|
2825
|
+
include_system_columns?: boolean | undefined;
|
|
1911
2826
|
}>;
|
|
1912
2827
|
readonly annotations: {
|
|
1913
2828
|
readonly readOnlyHint: true;
|
|
1914
2829
|
};
|
|
1915
2830
|
};
|
|
1916
|
-
readonly "create-
|
|
1917
|
-
readonly name: "create-
|
|
1918
|
-
readonly description:
|
|
2831
|
+
readonly "create-smart-table-column": {
|
|
2832
|
+
readonly name: "create-smart-table-column";
|
|
2833
|
+
readonly description: string;
|
|
1919
2834
|
readonly inputSchema: z.ZodObject<{
|
|
1920
|
-
|
|
1921
|
-
|
|
2835
|
+
table_id: z.ZodString;
|
|
2836
|
+
sheet_id: z.ZodString;
|
|
2837
|
+
title: z.ZodString;
|
|
2838
|
+
type: z.ZodEnum<["TEXT", "ABSOLUTE_NUMERIC_DISTANCE", "AI_DATA_EXTRACTION", "APPLY_DIFF", "ASSERT_VALID", "COALESCE", "CONDITION", "CODE_EXECUTION", "COMBINE_COLUMNS", "COMPARE", "COMPOSITION", "CONTAINS", "CONVERSATION_SIMULATOR", "COSINE_SIMILARITY", "COUNT", "DATASET", "ENDPOINT", "FOR_LOOP", "HUMAN", "JSON_PATH", "LLM_ASSERTION", "MATH_OPERATOR", "MCP", "MIN_MAX", "PARSE_VALUE", "PROMPT_TEMPLATE", "REGEX", "REGEX_EXTRACTION", "VARIABLE", "WHILE_LOOP", "WORKFLOW", "XML_PATH"]>;
|
|
2839
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2840
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2841
|
+
column_id: z.ZodString;
|
|
2842
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
2843
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2845
|
+
}, "strip", z.ZodTypeAny, {
|
|
2846
|
+
column_id: string;
|
|
2847
|
+
reference_type?: string | undefined;
|
|
2848
|
+
config_key?: string | undefined;
|
|
2849
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2850
|
+
}, {
|
|
2851
|
+
column_id: string;
|
|
2852
|
+
reference_type?: string | undefined;
|
|
2853
|
+
config_key?: string | undefined;
|
|
2854
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2855
|
+
}>, "many">>>;
|
|
1922
2856
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1923
2857
|
}, "strip", z.ZodTypeAny, {
|
|
1924
|
-
|
|
2858
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
2859
|
+
title: string;
|
|
2860
|
+
table_id: string;
|
|
2861
|
+
sheet_id: string;
|
|
1925
2862
|
api_key?: string | undefined;
|
|
1926
|
-
|
|
2863
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2864
|
+
dependencies?: {
|
|
2865
|
+
column_id: string;
|
|
2866
|
+
reference_type?: string | undefined;
|
|
2867
|
+
config_key?: string | undefined;
|
|
2868
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2869
|
+
}[] | null | undefined;
|
|
1927
2870
|
}, {
|
|
1928
|
-
|
|
2871
|
+
type: "WORKFLOW" | "DATASET" | "TEXT" | "ABSOLUTE_NUMERIC_DISTANCE" | "AI_DATA_EXTRACTION" | "APPLY_DIFF" | "ASSERT_VALID" | "COALESCE" | "CONDITION" | "CODE_EXECUTION" | "COMBINE_COLUMNS" | "COMPARE" | "COMPOSITION" | "CONTAINS" | "CONVERSATION_SIMULATOR" | "COSINE_SIMILARITY" | "COUNT" | "ENDPOINT" | "FOR_LOOP" | "HUMAN" | "JSON_PATH" | "LLM_ASSERTION" | "MATH_OPERATOR" | "MCP" | "MIN_MAX" | "PARSE_VALUE" | "PROMPT_TEMPLATE" | "REGEX" | "REGEX_EXTRACTION" | "VARIABLE" | "WHILE_LOOP" | "XML_PATH";
|
|
2872
|
+
title: string;
|
|
2873
|
+
table_id: string;
|
|
2874
|
+
sheet_id: string;
|
|
1929
2875
|
api_key?: string | undefined;
|
|
1930
|
-
|
|
2876
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2877
|
+
dependencies?: {
|
|
2878
|
+
column_id: string;
|
|
2879
|
+
reference_type?: string | undefined;
|
|
2880
|
+
config_key?: string | undefined;
|
|
2881
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2882
|
+
}[] | null | undefined;
|
|
1931
2883
|
}>;
|
|
1932
2884
|
readonly annotations: {
|
|
1933
2885
|
readonly readOnlyHint: false;
|
|
1934
2886
|
};
|
|
1935
2887
|
};
|
|
1936
|
-
readonly "
|
|
1937
|
-
readonly name: "
|
|
1938
|
-
readonly description: "
|
|
2888
|
+
readonly "update-smart-table-column": {
|
|
2889
|
+
readonly name: "update-smart-table-column";
|
|
2890
|
+
readonly description: "Update a Smart Table column title, config, or dependencies. Column type and position are not changed by this tool.";
|
|
1939
2891
|
readonly inputSchema: z.ZodObject<{
|
|
1940
|
-
|
|
1941
|
-
|
|
2892
|
+
table_id: z.ZodString;
|
|
2893
|
+
sheet_id: z.ZodString;
|
|
2894
|
+
column_id: z.ZodString;
|
|
2895
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2896
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2897
|
+
dependencies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2898
|
+
column_id: z.ZodString;
|
|
2899
|
+
reference_type: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
config_key: z.ZodOptional<z.ZodString>;
|
|
2901
|
+
config_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2902
|
+
}, "strip", z.ZodTypeAny, {
|
|
2903
|
+
column_id: string;
|
|
2904
|
+
reference_type?: string | undefined;
|
|
2905
|
+
config_key?: string | undefined;
|
|
2906
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2907
|
+
}, {
|
|
2908
|
+
column_id: string;
|
|
2909
|
+
reference_type?: string | undefined;
|
|
2910
|
+
config_key?: string | undefined;
|
|
2911
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2912
|
+
}>, "many">>>;
|
|
1942
2913
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1943
2914
|
}, "strip", z.ZodTypeAny, {
|
|
1944
|
-
|
|
1945
|
-
|
|
2915
|
+
column_id: string;
|
|
2916
|
+
table_id: string;
|
|
2917
|
+
sheet_id: string;
|
|
1946
2918
|
api_key?: string | undefined;
|
|
2919
|
+
title?: string | undefined;
|
|
2920
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2921
|
+
dependencies?: {
|
|
2922
|
+
column_id: string;
|
|
2923
|
+
reference_type?: string | undefined;
|
|
2924
|
+
config_key?: string | undefined;
|
|
2925
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2926
|
+
}[] | null | undefined;
|
|
1947
2927
|
}, {
|
|
1948
|
-
|
|
1949
|
-
|
|
2928
|
+
column_id: string;
|
|
2929
|
+
table_id: string;
|
|
2930
|
+
sheet_id: string;
|
|
1950
2931
|
api_key?: string | undefined;
|
|
2932
|
+
title?: string | undefined;
|
|
2933
|
+
config?: Record<string, unknown> | null | undefined;
|
|
2934
|
+
dependencies?: {
|
|
2935
|
+
column_id: string;
|
|
2936
|
+
reference_type?: string | undefined;
|
|
2937
|
+
config_key?: string | undefined;
|
|
2938
|
+
config_meta?: Record<string, unknown> | undefined;
|
|
2939
|
+
}[] | null | undefined;
|
|
1951
2940
|
}>;
|
|
1952
2941
|
readonly annotations: {
|
|
1953
2942
|
readonly readOnlyHint: false;
|
|
1954
2943
|
};
|
|
1955
2944
|
};
|
|
1956
|
-
readonly "
|
|
1957
|
-
readonly name: "
|
|
1958
|
-
readonly description: "
|
|
2945
|
+
readonly "list-smart-table-rows": {
|
|
2946
|
+
readonly name: "list-smart-table-rows";
|
|
2947
|
+
readonly description: "List rows in a Smart Table sheet with optional column metadata and row counts.";
|
|
2948
|
+
readonly inputSchema: z.ZodObject<{
|
|
2949
|
+
sort: z.ZodOptional<z.ZodEnum<["row_index"]>>;
|
|
2950
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2951
|
+
include_columns: z.ZodOptional<z.ZodBoolean>;
|
|
2952
|
+
include_row_count: z.ZodOptional<z.ZodBoolean>;
|
|
2953
|
+
include_system_columns: z.ZodOptional<z.ZodBoolean>;
|
|
2954
|
+
include_execution_metadata_aggregates: z.ZodOptional<z.ZodBoolean>;
|
|
2955
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
2956
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2957
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2958
|
+
table_id: z.ZodString;
|
|
2959
|
+
sheet_id: z.ZodString;
|
|
2960
|
+
}, "strip", z.ZodTypeAny, {
|
|
2961
|
+
table_id: string;
|
|
2962
|
+
sheet_id: string;
|
|
2963
|
+
sort?: "row_index" | undefined;
|
|
2964
|
+
api_key?: string | undefined;
|
|
2965
|
+
limit?: number | undefined;
|
|
2966
|
+
order?: "asc" | "desc" | undefined;
|
|
2967
|
+
cursor?: string | undefined;
|
|
2968
|
+
include_system_columns?: boolean | undefined;
|
|
2969
|
+
include_columns?: boolean | undefined;
|
|
2970
|
+
include_row_count?: boolean | undefined;
|
|
2971
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
2972
|
+
}, {
|
|
2973
|
+
table_id: string;
|
|
2974
|
+
sheet_id: string;
|
|
2975
|
+
sort?: "row_index" | undefined;
|
|
2976
|
+
api_key?: string | undefined;
|
|
2977
|
+
limit?: number | undefined;
|
|
2978
|
+
order?: "asc" | "desc" | undefined;
|
|
2979
|
+
cursor?: string | undefined;
|
|
2980
|
+
include_system_columns?: boolean | undefined;
|
|
2981
|
+
include_columns?: boolean | undefined;
|
|
2982
|
+
include_row_count?: boolean | undefined;
|
|
2983
|
+
include_execution_metadata_aggregates?: boolean | undefined;
|
|
2984
|
+
}>;
|
|
2985
|
+
readonly annotations: {
|
|
2986
|
+
readonly readOnlyHint: true;
|
|
2987
|
+
};
|
|
2988
|
+
};
|
|
2989
|
+
readonly "add-smart-table-rows": {
|
|
2990
|
+
readonly name: "add-smart-table-rows";
|
|
2991
|
+
readonly description: "Add up to 100 rows to a Smart Table sheet, optionally with values keyed by column UUID.";
|
|
1959
2992
|
readonly inputSchema: z.ZodObject<{
|
|
1960
|
-
|
|
2993
|
+
table_id: z.ZodString;
|
|
2994
|
+
sheet_id: z.ZodString;
|
|
2995
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2996
|
+
values: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
1961
2997
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1962
2998
|
}, "strip", z.ZodTypeAny, {
|
|
1963
|
-
|
|
2999
|
+
table_id: string;
|
|
3000
|
+
sheet_id: string;
|
|
3001
|
+
values?: Record<string, unknown>[] | undefined;
|
|
1964
3002
|
api_key?: string | undefined;
|
|
3003
|
+
count?: number | undefined;
|
|
1965
3004
|
}, {
|
|
1966
|
-
|
|
3005
|
+
table_id: string;
|
|
3006
|
+
sheet_id: string;
|
|
3007
|
+
values?: Record<string, unknown>[] | undefined;
|
|
1967
3008
|
api_key?: string | undefined;
|
|
3009
|
+
count?: number | undefined;
|
|
1968
3010
|
}>;
|
|
1969
3011
|
readonly annotations: {
|
|
1970
3012
|
readonly readOnlyHint: false;
|
|
1971
3013
|
};
|
|
1972
3014
|
};
|
|
1973
|
-
readonly "
|
|
1974
|
-
readonly name: "
|
|
1975
|
-
readonly description: "
|
|
3015
|
+
readonly "get-smart-table-cell": {
|
|
3016
|
+
readonly name: "get-smart-table-cell";
|
|
3017
|
+
readonly description: "Get a Smart Table cell by UUID.";
|
|
1976
3018
|
readonly inputSchema: z.ZodObject<{
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
status: z.ZodOptional<z.ZodEnum<["active", "deleted", "all"]>>;
|
|
1981
|
-
include_runs: z.ZodOptional<z.ZodBoolean>;
|
|
3019
|
+
table_id: z.ZodString;
|
|
3020
|
+
sheet_id: z.ZodString;
|
|
3021
|
+
cell_id: z.ZodString;
|
|
1982
3022
|
api_key: z.ZodOptional<z.ZodString>;
|
|
1983
3023
|
}, "strip", z.ZodTypeAny, {
|
|
1984
|
-
|
|
3024
|
+
table_id: string;
|
|
3025
|
+
sheet_id: string;
|
|
3026
|
+
cell_id: string;
|
|
1985
3027
|
api_key?: string | undefined;
|
|
1986
|
-
page?: number | undefined;
|
|
1987
|
-
per_page?: number | undefined;
|
|
1988
|
-
name?: string | undefined;
|
|
1989
|
-
include_runs?: boolean | undefined;
|
|
1990
3028
|
}, {
|
|
1991
|
-
|
|
3029
|
+
table_id: string;
|
|
3030
|
+
sheet_id: string;
|
|
3031
|
+
cell_id: string;
|
|
1992
3032
|
api_key?: string | undefined;
|
|
1993
|
-
page?: number | undefined;
|
|
1994
|
-
per_page?: number | undefined;
|
|
1995
|
-
name?: string | undefined;
|
|
1996
|
-
include_runs?: boolean | undefined;
|
|
1997
3033
|
}>;
|
|
1998
3034
|
readonly annotations: {
|
|
1999
3035
|
readonly readOnlyHint: true;
|
|
2000
3036
|
};
|
|
2001
3037
|
};
|
|
2002
|
-
readonly "
|
|
2003
|
-
readonly name: "
|
|
2004
|
-
readonly description: "
|
|
3038
|
+
readonly "update-smart-table-cell": {
|
|
3039
|
+
readonly name: "update-smart-table-cell";
|
|
3040
|
+
readonly description: "Update a Smart Table text cell. Computed cells should be recalculated instead.";
|
|
2005
3041
|
readonly inputSchema: z.ZodObject<{
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
3042
|
+
table_id: z.ZodString;
|
|
3043
|
+
sheet_id: z.ZodString;
|
|
3044
|
+
cell_id: z.ZodString;
|
|
3045
|
+
display_value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
2009
3047
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2010
3048
|
}, "strip", z.ZodTypeAny, {
|
|
2011
|
-
|
|
3049
|
+
table_id: string;
|
|
3050
|
+
sheet_id: string;
|
|
3051
|
+
cell_id: string;
|
|
3052
|
+
value?: unknown;
|
|
2012
3053
|
api_key?: string | undefined;
|
|
2013
|
-
|
|
2014
|
-
per_page?: number | undefined;
|
|
3054
|
+
display_value?: string | null | undefined;
|
|
2015
3055
|
}, {
|
|
2016
|
-
|
|
3056
|
+
table_id: string;
|
|
3057
|
+
sheet_id: string;
|
|
3058
|
+
cell_id: string;
|
|
3059
|
+
value?: unknown;
|
|
2017
3060
|
api_key?: string | undefined;
|
|
2018
|
-
|
|
2019
|
-
per_page?: number | undefined;
|
|
3061
|
+
display_value?: string | null | undefined;
|
|
2020
3062
|
}>;
|
|
2021
3063
|
readonly annotations: {
|
|
2022
|
-
readonly readOnlyHint:
|
|
3064
|
+
readonly readOnlyHint: false;
|
|
2023
3065
|
};
|
|
2024
3066
|
};
|
|
2025
|
-
readonly "
|
|
2026
|
-
readonly name: "
|
|
2027
|
-
readonly description: "
|
|
3067
|
+
readonly "recalculate-smart-table-cell": {
|
|
3068
|
+
readonly name: "recalculate-smart-table-cell";
|
|
3069
|
+
readonly description: "Queue recalculation for one Smart Table computed cell.";
|
|
2028
3070
|
readonly inputSchema: z.ZodObject<{
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
dataset_version_number: z.ZodOptional<z.ZodNumber>;
|
|
2033
|
-
columns: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
2034
|
-
score_configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3071
|
+
table_id: z.ZodString;
|
|
3072
|
+
sheet_id: z.ZodString;
|
|
3073
|
+
cell_id: z.ZodString;
|
|
2035
3074
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2036
3075
|
}, "strip", z.ZodTypeAny, {
|
|
2037
|
-
|
|
3076
|
+
table_id: string;
|
|
3077
|
+
sheet_id: string;
|
|
3078
|
+
cell_id: string;
|
|
2038
3079
|
api_key?: string | undefined;
|
|
2039
|
-
name?: string | undefined;
|
|
2040
|
-
folder_id?: number | undefined;
|
|
2041
|
-
dataset_version_number?: number | undefined;
|
|
2042
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
2043
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
2044
3080
|
}, {
|
|
2045
|
-
|
|
3081
|
+
table_id: string;
|
|
3082
|
+
sheet_id: string;
|
|
3083
|
+
cell_id: string;
|
|
2046
3084
|
api_key?: string | undefined;
|
|
2047
|
-
name?: string | undefined;
|
|
2048
|
-
folder_id?: number | undefined;
|
|
2049
|
-
dataset_version_number?: number | undefined;
|
|
2050
|
-
columns?: Record<string, unknown>[] | undefined;
|
|
2051
|
-
score_configuration?: Record<string, unknown> | undefined;
|
|
2052
3085
|
}>;
|
|
2053
3086
|
readonly annotations: {
|
|
2054
3087
|
readonly readOnlyHint: false;
|
|
2055
3088
|
};
|
|
2056
3089
|
};
|
|
2057
|
-
readonly "
|
|
2058
|
-
readonly name: "
|
|
2059
|
-
readonly description: "
|
|
3090
|
+
readonly "recalculate-smart-table-cells": {
|
|
3091
|
+
readonly name: "recalculate-smart-table-cells";
|
|
3092
|
+
readonly description: "Queue recalculation for multiple Smart Table computed cells.";
|
|
2060
3093
|
readonly inputSchema: z.ZodObject<{
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
refresh_dataset: z.ZodOptional<z.ZodBoolean>;
|
|
3094
|
+
table_id: z.ZodString;
|
|
3095
|
+
sheet_id: z.ZodString;
|
|
3096
|
+
cell_ids: z.ZodArray<z.ZodString, "many">;
|
|
2065
3097
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2066
3098
|
}, "strip", z.ZodTypeAny, {
|
|
2067
|
-
|
|
2068
|
-
|
|
3099
|
+
table_id: string;
|
|
3100
|
+
sheet_id: string;
|
|
3101
|
+
cell_ids: string[];
|
|
2069
3102
|
api_key?: string | undefined;
|
|
2070
|
-
dataset_id?: number | undefined;
|
|
2071
|
-
refresh_dataset?: boolean | undefined;
|
|
2072
3103
|
}, {
|
|
2073
|
-
|
|
2074
|
-
|
|
3104
|
+
table_id: string;
|
|
3105
|
+
sheet_id: string;
|
|
3106
|
+
cell_ids: string[];
|
|
3107
|
+
api_key?: string | undefined;
|
|
3108
|
+
}>;
|
|
3109
|
+
readonly annotations: {
|
|
3110
|
+
readonly readOnlyHint: false;
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
readonly "list-smart-table-operations": {
|
|
3114
|
+
readonly name: "list-smart-table-operations";
|
|
3115
|
+
readonly description: "List active Smart Table sheet operations and cell status counts.";
|
|
3116
|
+
readonly inputSchema: z.ZodObject<{
|
|
3117
|
+
table_id: z.ZodString;
|
|
3118
|
+
sheet_id: z.ZodString;
|
|
3119
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
}, "strip", z.ZodTypeAny, {
|
|
3121
|
+
table_id: string;
|
|
3122
|
+
sheet_id: string;
|
|
3123
|
+
api_key?: string | undefined;
|
|
3124
|
+
}, {
|
|
3125
|
+
table_id: string;
|
|
3126
|
+
sheet_id: string;
|
|
3127
|
+
api_key?: string | undefined;
|
|
3128
|
+
}>;
|
|
3129
|
+
readonly annotations: {
|
|
3130
|
+
readonly readOnlyHint: true;
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
readonly "create-smart-table-operation": {
|
|
3134
|
+
readonly name: "create-smart-table-operation";
|
|
3135
|
+
readonly description: string;
|
|
3136
|
+
readonly inputSchema: z.ZodObject<{
|
|
3137
|
+
table_id: z.ZodString;
|
|
3138
|
+
sheet_id: z.ZodString;
|
|
3139
|
+
operation: z.ZodOptional<z.ZodEnum<["recalculate"]>>;
|
|
3140
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3141
|
+
row_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3142
|
+
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<["STALE", "QUEUED", "DISPATCHED", "RUNNING", "COMPLETED", "FAILED"]>, "many">>;
|
|
3143
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
}, "strip", z.ZodTypeAny, {
|
|
3145
|
+
table_id: string;
|
|
3146
|
+
sheet_id: string;
|
|
3147
|
+
api_key?: string | undefined;
|
|
3148
|
+
operation?: "recalculate" | undefined;
|
|
3149
|
+
column_ids?: string[] | undefined;
|
|
3150
|
+
row_ids?: number[] | undefined;
|
|
3151
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
3152
|
+
}, {
|
|
3153
|
+
table_id: string;
|
|
3154
|
+
sheet_id: string;
|
|
2075
3155
|
api_key?: string | undefined;
|
|
2076
|
-
|
|
2077
|
-
|
|
3156
|
+
operation?: "recalculate" | undefined;
|
|
3157
|
+
column_ids?: string[] | undefined;
|
|
3158
|
+
row_ids?: number[] | undefined;
|
|
3159
|
+
statuses?: ("STALE" | "QUEUED" | "DISPATCHED" | "RUNNING" | "COMPLETED" | "FAILED")[] | undefined;
|
|
2078
3160
|
}>;
|
|
2079
3161
|
readonly annotations: {
|
|
2080
3162
|
readonly readOnlyHint: false;
|
|
2081
3163
|
};
|
|
2082
3164
|
};
|
|
2083
|
-
readonly "get-
|
|
2084
|
-
readonly name: "get-
|
|
2085
|
-
readonly description: "Get
|
|
3165
|
+
readonly "get-smart-table-operation": {
|
|
3166
|
+
readonly name: "get-smart-table-operation";
|
|
3167
|
+
readonly description: "Get status for a Smart Table sheet operation.";
|
|
2086
3168
|
readonly inputSchema: z.ZodObject<{
|
|
2087
|
-
|
|
3169
|
+
table_id: z.ZodString;
|
|
3170
|
+
sheet_id: z.ZodString;
|
|
3171
|
+
operation_id: z.ZodString;
|
|
2088
3172
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2089
3173
|
}, "strip", z.ZodTypeAny, {
|
|
2090
|
-
|
|
3174
|
+
table_id: string;
|
|
3175
|
+
operation_id: string;
|
|
3176
|
+
sheet_id: string;
|
|
2091
3177
|
api_key?: string | undefined;
|
|
2092
3178
|
}, {
|
|
2093
|
-
|
|
3179
|
+
table_id: string;
|
|
3180
|
+
operation_id: string;
|
|
3181
|
+
sheet_id: string;
|
|
2094
3182
|
api_key?: string | undefined;
|
|
2095
3183
|
}>;
|
|
2096
3184
|
readonly annotations: {
|
|
2097
3185
|
readonly readOnlyHint: true;
|
|
2098
3186
|
};
|
|
2099
3187
|
};
|
|
2100
|
-
readonly "
|
|
2101
|
-
readonly name: "
|
|
2102
|
-
readonly description: "
|
|
3188
|
+
readonly "cancel-smart-table-operation": {
|
|
3189
|
+
readonly name: "cancel-smart-table-operation";
|
|
3190
|
+
readonly description: "Cancel an active Smart Table sheet operation.";
|
|
3191
|
+
readonly inputSchema: z.ZodObject<{
|
|
3192
|
+
table_id: z.ZodString;
|
|
3193
|
+
sheet_id: z.ZodString;
|
|
3194
|
+
operation_id: z.ZodString;
|
|
3195
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
}, "strip", z.ZodTypeAny, {
|
|
3197
|
+
table_id: string;
|
|
3198
|
+
operation_id: string;
|
|
3199
|
+
sheet_id: string;
|
|
3200
|
+
api_key?: string | undefined;
|
|
3201
|
+
}, {
|
|
3202
|
+
table_id: string;
|
|
3203
|
+
operation_id: string;
|
|
3204
|
+
sheet_id: string;
|
|
3205
|
+
api_key?: string | undefined;
|
|
3206
|
+
}>;
|
|
3207
|
+
readonly annotations: {
|
|
3208
|
+
readonly readOnlyHint: false;
|
|
3209
|
+
};
|
|
3210
|
+
};
|
|
3211
|
+
readonly "get-smart-table-score": {
|
|
3212
|
+
readonly name: "get-smart-table-score";
|
|
3213
|
+
readonly description: string;
|
|
2103
3214
|
readonly inputSchema: z.ZodObject<{
|
|
2104
|
-
|
|
3215
|
+
table_id: z.ZodString;
|
|
3216
|
+
sheet_id: z.ZodString;
|
|
2105
3217
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2106
3218
|
}, "strip", z.ZodTypeAny, {
|
|
2107
|
-
|
|
3219
|
+
table_id: string;
|
|
3220
|
+
sheet_id: string;
|
|
2108
3221
|
api_key?: string | undefined;
|
|
2109
3222
|
}, {
|
|
2110
|
-
|
|
3223
|
+
table_id: string;
|
|
3224
|
+
sheet_id: string;
|
|
2111
3225
|
api_key?: string | undefined;
|
|
2112
3226
|
}>;
|
|
2113
3227
|
readonly annotations: {
|
|
2114
3228
|
readonly readOnlyHint: true;
|
|
2115
3229
|
};
|
|
2116
3230
|
};
|
|
2117
|
-
readonly "
|
|
2118
|
-
readonly name: "
|
|
2119
|
-
readonly description:
|
|
3231
|
+
readonly "configure-smart-table-score": {
|
|
3232
|
+
readonly name: "configure-smart-table-score";
|
|
3233
|
+
readonly description: string;
|
|
2120
3234
|
readonly inputSchema: z.ZodObject<{
|
|
2121
|
-
|
|
2122
|
-
|
|
3235
|
+
table_id: z.ZodString;
|
|
3236
|
+
sheet_id: z.ZodString;
|
|
3237
|
+
score_type: z.ZodOptional<z.ZodEnum<["auto", "boolean", "numeric", "custom"]>>;
|
|
3238
|
+
score_config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3239
|
+
column_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3240
|
+
column_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2123
3241
|
code: z.ZodOptional<z.ZodString>;
|
|
2124
3242
|
code_language: z.ZodOptional<z.ZodEnum<["PYTHON", "JAVASCRIPT"]>>;
|
|
3243
|
+
true_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3244
|
+
false_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3245
|
+
assertion_aggregation: z.ZodOptional<z.ZodEnum<["all", "any", "mean"]>>;
|
|
2125
3246
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2126
3247
|
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
|
|
2128
|
-
|
|
3248
|
+
table_id: string;
|
|
3249
|
+
sheet_id: string;
|
|
2129
3250
|
code?: string | undefined;
|
|
2130
3251
|
api_key?: string | undefined;
|
|
3252
|
+
column_ids?: string[] | undefined;
|
|
3253
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
3254
|
+
score_config?: Record<string, unknown> | undefined;
|
|
3255
|
+
column_names?: string[] | undefined;
|
|
2131
3256
|
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
3257
|
+
true_values?: string[] | undefined;
|
|
3258
|
+
false_values?: string[] | undefined;
|
|
3259
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
2132
3260
|
}, {
|
|
2133
|
-
|
|
2134
|
-
|
|
3261
|
+
table_id: string;
|
|
3262
|
+
sheet_id: string;
|
|
2135
3263
|
code?: string | undefined;
|
|
2136
3264
|
api_key?: string | undefined;
|
|
3265
|
+
column_ids?: string[] | undefined;
|
|
3266
|
+
score_type?: "boolean" | "custom" | "auto" | "numeric" | undefined;
|
|
3267
|
+
score_config?: Record<string, unknown> | undefined;
|
|
3268
|
+
column_names?: string[] | undefined;
|
|
2137
3269
|
code_language?: "PYTHON" | "JAVASCRIPT" | undefined;
|
|
3270
|
+
true_values?: string[] | undefined;
|
|
3271
|
+
false_values?: string[] | undefined;
|
|
3272
|
+
assertion_aggregation?: "all" | "any" | "mean" | undefined;
|
|
2138
3273
|
}>;
|
|
2139
3274
|
readonly annotations: {
|
|
2140
3275
|
readonly readOnlyHint: false;
|
|
2141
3276
|
};
|
|
2142
3277
|
};
|
|
2143
|
-
readonly "
|
|
2144
|
-
readonly name: "
|
|
2145
|
-
readonly description: "
|
|
3278
|
+
readonly "recalculate-smart-table-score": {
|
|
3279
|
+
readonly name: "recalculate-smart-table-score";
|
|
3280
|
+
readonly description: "Recompute the aggregate score for a Smart Table sheet.";
|
|
2146
3281
|
readonly inputSchema: z.ZodObject<{
|
|
2147
|
-
|
|
3282
|
+
table_id: z.ZodString;
|
|
3283
|
+
sheet_id: z.ZodString;
|
|
2148
3284
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2149
3285
|
}, "strip", z.ZodTypeAny, {
|
|
2150
|
-
|
|
3286
|
+
table_id: string;
|
|
3287
|
+
sheet_id: string;
|
|
2151
3288
|
api_key?: string | undefined;
|
|
2152
3289
|
}, {
|
|
2153
|
-
|
|
3290
|
+
table_id: string;
|
|
3291
|
+
sheet_id: string;
|
|
2154
3292
|
api_key?: string | undefined;
|
|
2155
3293
|
}>;
|
|
2156
3294
|
readonly annotations: {
|
|
2157
3295
|
readonly readOnlyHint: false;
|
|
2158
3296
|
};
|
|
2159
3297
|
};
|
|
2160
|
-
readonly "
|
|
2161
|
-
readonly name: "
|
|
2162
|
-
readonly description:
|
|
3298
|
+
readonly "list-smart-table-versions": {
|
|
3299
|
+
readonly name: "list-smart-table-versions";
|
|
3300
|
+
readonly description: string;
|
|
2163
3301
|
readonly inputSchema: z.ZodObject<{
|
|
2164
|
-
|
|
3302
|
+
sort: z.ZodOptional<z.ZodEnum<["version_number"]>>;
|
|
3303
|
+
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
2165
3304
|
api_key: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3306
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3307
|
+
table_id: z.ZodString;
|
|
3308
|
+
sheet_id: z.ZodString;
|
|
2166
3309
|
}, "strip", z.ZodTypeAny, {
|
|
2167
|
-
|
|
3310
|
+
table_id: string;
|
|
3311
|
+
sheet_id: string;
|
|
3312
|
+
sort?: "version_number" | undefined;
|
|
2168
3313
|
api_key?: string | undefined;
|
|
3314
|
+
limit?: number | undefined;
|
|
3315
|
+
order?: "asc" | "desc" | undefined;
|
|
3316
|
+
cursor?: string | undefined;
|
|
2169
3317
|
}, {
|
|
2170
|
-
|
|
3318
|
+
table_id: string;
|
|
3319
|
+
sheet_id: string;
|
|
3320
|
+
sort?: "version_number" | undefined;
|
|
2171
3321
|
api_key?: string | undefined;
|
|
3322
|
+
limit?: number | undefined;
|
|
3323
|
+
order?: "asc" | "desc" | undefined;
|
|
3324
|
+
cursor?: string | undefined;
|
|
2172
3325
|
}>;
|
|
2173
3326
|
readonly annotations: {
|
|
2174
|
-
readonly readOnlyHint:
|
|
3327
|
+
readonly readOnlyHint: true;
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
readonly "get-smart-table-version": {
|
|
3331
|
+
readonly name: "get-smart-table-version";
|
|
3332
|
+
readonly description: "Get a saved Smart Table sheet version, including its full snapshot of cell values.";
|
|
3333
|
+
readonly inputSchema: z.ZodObject<{
|
|
3334
|
+
table_id: z.ZodString;
|
|
3335
|
+
sheet_id: z.ZodString;
|
|
3336
|
+
version_id: z.ZodString;
|
|
3337
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3338
|
+
}, "strip", z.ZodTypeAny, {
|
|
3339
|
+
table_id: string;
|
|
3340
|
+
sheet_id: string;
|
|
3341
|
+
version_id: string;
|
|
3342
|
+
api_key?: string | undefined;
|
|
3343
|
+
}, {
|
|
3344
|
+
table_id: string;
|
|
3345
|
+
sheet_id: string;
|
|
3346
|
+
version_id: string;
|
|
3347
|
+
api_key?: string | undefined;
|
|
3348
|
+
}>;
|
|
3349
|
+
readonly annotations: {
|
|
3350
|
+
readonly readOnlyHint: true;
|
|
2175
3351
|
};
|
|
2176
3352
|
};
|
|
2177
|
-
readonly "
|
|
2178
|
-
readonly name: "
|
|
2179
|
-
readonly description:
|
|
3353
|
+
readonly "create-smart-table-version": {
|
|
3354
|
+
readonly name: "create-smart-table-version";
|
|
3355
|
+
readonly description: string;
|
|
2180
3356
|
readonly inputSchema: z.ZodObject<{
|
|
2181
|
-
|
|
3357
|
+
table_id: z.ZodString;
|
|
3358
|
+
sheet_id: z.ZodString;
|
|
2182
3359
|
name: z.ZodOptional<z.ZodString>;
|
|
2183
|
-
|
|
3360
|
+
source_version_id: z.ZodOptional<z.ZodString>;
|
|
2184
3361
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2185
3362
|
}, "strip", z.ZodTypeAny, {
|
|
2186
|
-
|
|
3363
|
+
table_id: string;
|
|
3364
|
+
sheet_id: string;
|
|
2187
3365
|
api_key?: string | undefined;
|
|
2188
3366
|
name?: string | undefined;
|
|
2189
|
-
|
|
3367
|
+
source_version_id?: string | undefined;
|
|
2190
3368
|
}, {
|
|
2191
|
-
|
|
3369
|
+
table_id: string;
|
|
3370
|
+
sheet_id: string;
|
|
2192
3371
|
api_key?: string | undefined;
|
|
2193
3372
|
name?: string | undefined;
|
|
2194
|
-
|
|
3373
|
+
source_version_id?: string | undefined;
|
|
2195
3374
|
}>;
|
|
2196
3375
|
readonly annotations: {
|
|
2197
3376
|
readonly readOnlyHint: false;
|
|
2198
3377
|
};
|
|
2199
3378
|
};
|
|
2200
|
-
readonly "
|
|
2201
|
-
readonly name: "
|
|
2202
|
-
readonly description:
|
|
3379
|
+
readonly "get-smart-table-score-history": {
|
|
3380
|
+
readonly name: "get-smart-table-score-history";
|
|
3381
|
+
readonly description: string;
|
|
2203
3382
|
readonly inputSchema: z.ZodObject<{
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
is_part_of_score: z.ZodOptional<z.ZodBoolean>;
|
|
3383
|
+
table_id: z.ZodString;
|
|
3384
|
+
sheet_id: z.ZodString;
|
|
3385
|
+
max_points: z.ZodOptional<z.ZodNumber>;
|
|
3386
|
+
range: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
2210
3388
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2211
3389
|
}, "strip", z.ZodTypeAny, {
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
column_type: string;
|
|
2215
|
-
configuration: Record<string, unknown>;
|
|
3390
|
+
table_id: string;
|
|
3391
|
+
sheet_id: string;
|
|
2216
3392
|
api_key?: string | undefined;
|
|
2217
|
-
|
|
2218
|
-
|
|
3393
|
+
max_points?: number | undefined;
|
|
3394
|
+
range?: string | undefined;
|
|
3395
|
+
resolution?: string | undefined;
|
|
2219
3396
|
}, {
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
column_type: string;
|
|
2223
|
-
configuration: Record<string, unknown>;
|
|
3397
|
+
table_id: string;
|
|
3398
|
+
sheet_id: string;
|
|
2224
3399
|
api_key?: string | undefined;
|
|
2225
|
-
|
|
2226
|
-
|
|
3400
|
+
max_points?: number | undefined;
|
|
3401
|
+
range?: string | undefined;
|
|
3402
|
+
resolution?: string | undefined;
|
|
2227
3403
|
}>;
|
|
2228
3404
|
readonly annotations: {
|
|
2229
|
-
readonly readOnlyHint:
|
|
3405
|
+
readonly readOnlyHint: true;
|
|
2230
3406
|
};
|
|
2231
3407
|
};
|
|
2232
|
-
readonly "
|
|
2233
|
-
readonly name: "
|
|
2234
|
-
readonly description: "
|
|
3408
|
+
readonly "list-legacy-smart-table-migrations": {
|
|
3409
|
+
readonly name: "list-legacy-smart-table-migrations";
|
|
3410
|
+
readonly description: "List successful legacy dataset/evaluation to Smart Table migration mappings.";
|
|
2235
3411
|
readonly inputSchema: z.ZodObject<{
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
column_type: z.ZodString;
|
|
2239
|
-
configuration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2240
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2241
|
-
position: z.ZodOptional<z.ZodNumber>;
|
|
3412
|
+
source_type: z.ZodOptional<z.ZodEnum<["dataset_group", "dataset", "report"]>>;
|
|
3413
|
+
source_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2242
3414
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2243
3415
|
}, "strip", z.ZodTypeAny, {
|
|
2244
|
-
report_id: number;
|
|
2245
|
-
column_type: string;
|
|
2246
|
-
report_column_id: number;
|
|
2247
3416
|
api_key?: string | undefined;
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
position?: number | undefined;
|
|
3417
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
3418
|
+
source_id?: number | number[] | undefined;
|
|
2251
3419
|
}, {
|
|
2252
|
-
report_id: number;
|
|
2253
|
-
column_type: string;
|
|
2254
|
-
report_column_id: number;
|
|
2255
3420
|
api_key?: string | undefined;
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
position?: number | undefined;
|
|
3421
|
+
source_type?: "dataset_group" | "dataset" | "report" | undefined;
|
|
3422
|
+
source_id?: number | number[] | undefined;
|
|
2259
3423
|
}>;
|
|
2260
3424
|
readonly annotations: {
|
|
2261
|
-
readonly readOnlyHint:
|
|
3425
|
+
readonly readOnlyHint: true;
|
|
3426
|
+
};
|
|
3427
|
+
};
|
|
3428
|
+
readonly "preview-legacy-smart-table-migration": {
|
|
3429
|
+
readonly name: "preview-legacy-smart-table-migration";
|
|
3430
|
+
readonly description: "Preview conversion of a legacy dataset group, dataset, or report into a Smart Table.";
|
|
3431
|
+
readonly inputSchema: z.ZodObject<{
|
|
3432
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
3433
|
+
source_id: z.ZodNumber;
|
|
3434
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3435
|
+
}, "strip", z.ZodTypeAny, {
|
|
3436
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3437
|
+
source_id: number;
|
|
3438
|
+
api_key?: string | undefined;
|
|
3439
|
+
}, {
|
|
3440
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3441
|
+
source_id: number;
|
|
3442
|
+
api_key?: string | undefined;
|
|
3443
|
+
}>;
|
|
3444
|
+
readonly annotations: {
|
|
3445
|
+
readonly readOnlyHint: true;
|
|
2262
3446
|
};
|
|
2263
3447
|
};
|
|
2264
|
-
readonly "
|
|
2265
|
-
readonly name: "
|
|
2266
|
-
readonly description: "
|
|
3448
|
+
readonly "migrate-legacy-to-smart-table": {
|
|
3449
|
+
readonly name: "migrate-legacy-to-smart-table";
|
|
3450
|
+
readonly description: "Start or dry-run conversion of a legacy dataset group, dataset, or report into a Smart Table.";
|
|
2267
3451
|
readonly inputSchema: z.ZodObject<{
|
|
2268
|
-
|
|
3452
|
+
source_type: z.ZodEnum<["dataset_group", "dataset", "report"]>;
|
|
3453
|
+
source_id: z.ZodNumber;
|
|
3454
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
3455
|
+
dry_run: z.ZodOptional<z.ZodBoolean>;
|
|
3456
|
+
resume: z.ZodOptional<z.ZodBoolean>;
|
|
3457
|
+
continue_on_error: z.ZodOptional<z.ZodBoolean>;
|
|
3458
|
+
include_reports_with_missing_datasets: z.ZodOptional<z.ZodBoolean>;
|
|
3459
|
+
max_version_snapshot_cells: z.ZodOptional<z.ZodNumber>;
|
|
3460
|
+
report_preview_row_limit: z.ZodOptional<z.ZodNumber>;
|
|
2269
3461
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2270
3462
|
}, "strip", z.ZodTypeAny, {
|
|
2271
|
-
|
|
3463
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3464
|
+
source_id: number;
|
|
2272
3465
|
api_key?: string | undefined;
|
|
3466
|
+
force?: boolean | undefined;
|
|
3467
|
+
dry_run?: boolean | undefined;
|
|
3468
|
+
resume?: boolean | undefined;
|
|
3469
|
+
continue_on_error?: boolean | undefined;
|
|
3470
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
3471
|
+
max_version_snapshot_cells?: number | undefined;
|
|
3472
|
+
report_preview_row_limit?: number | undefined;
|
|
2273
3473
|
}, {
|
|
2274
|
-
|
|
3474
|
+
source_type: "dataset_group" | "dataset" | "report";
|
|
3475
|
+
source_id: number;
|
|
2275
3476
|
api_key?: string | undefined;
|
|
3477
|
+
force?: boolean | undefined;
|
|
3478
|
+
dry_run?: boolean | undefined;
|
|
3479
|
+
resume?: boolean | undefined;
|
|
3480
|
+
continue_on_error?: boolean | undefined;
|
|
3481
|
+
include_reports_with_missing_datasets?: boolean | undefined;
|
|
3482
|
+
max_version_snapshot_cells?: number | undefined;
|
|
3483
|
+
report_preview_row_limit?: number | undefined;
|
|
2276
3484
|
}>;
|
|
2277
3485
|
readonly annotations: {
|
|
2278
3486
|
readonly readOnlyHint: false;
|
|
2279
3487
|
};
|
|
2280
3488
|
};
|
|
3489
|
+
readonly "get-legacy-smart-table-migration-job": {
|
|
3490
|
+
readonly name: "get-legacy-smart-table-migration-job";
|
|
3491
|
+
readonly description: "Get status and result details for a legacy Smart Table migration job.";
|
|
3492
|
+
readonly inputSchema: z.ZodObject<{
|
|
3493
|
+
job_id: z.ZodString;
|
|
3494
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3495
|
+
}, "strip", z.ZodTypeAny, {
|
|
3496
|
+
job_id: string;
|
|
3497
|
+
api_key?: string | undefined;
|
|
3498
|
+
}, {
|
|
3499
|
+
job_id: string;
|
|
3500
|
+
api_key?: string | undefined;
|
|
3501
|
+
}>;
|
|
3502
|
+
readonly annotations: {
|
|
3503
|
+
readonly readOnlyHint: true;
|
|
3504
|
+
};
|
|
3505
|
+
};
|
|
2281
3506
|
readonly "list-workflows": {
|
|
2282
3507
|
readonly name: "list-workflows";
|
|
2283
3508
|
readonly description: "List all agents (called 'workflows' in the API) in the workspace with pagination.";
|
|
@@ -2514,12 +3739,26 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2514
3739
|
};
|
|
2515
3740
|
readonly "create-tool-registry": {
|
|
2516
3741
|
readonly name: "create-tool-registry";
|
|
2517
|
-
readonly description: "Create a new tool in the Tool Registry with an initial version. The tool definition should be in OpenAI function-calling format.";
|
|
3742
|
+
readonly description: "Create a new tool in the Tool Registry with an initial version. The tool definition should be in OpenAI function-calling format. Pass an optional `execution` payload to attach a sandbox-executable body that PromptLayer will auto-run between LLM turns.";
|
|
2518
3743
|
readonly inputSchema: z.ZodObject<{
|
|
2519
3744
|
name: z.ZodString;
|
|
2520
3745
|
tool_definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3746
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2521
3747
|
folder_id: z.ZodOptional<z.ZodNumber>;
|
|
2522
3748
|
commit_message: z.ZodOptional<z.ZodString>;
|
|
3749
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
3750
|
+
type: z.ZodLiteral<"code">;
|
|
3751
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
3752
|
+
code: z.ZodString;
|
|
3753
|
+
}, "strip", z.ZodTypeAny, {
|
|
3754
|
+
code: string;
|
|
3755
|
+
type: "code";
|
|
3756
|
+
language: "python" | "javascript";
|
|
3757
|
+
}, {
|
|
3758
|
+
code: string;
|
|
3759
|
+
type: "code";
|
|
3760
|
+
language: "python" | "javascript";
|
|
3761
|
+
}>>;
|
|
2523
3762
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2524
3763
|
}, "strip", z.ZodTypeAny, {
|
|
2525
3764
|
name: string;
|
|
@@ -2527,12 +3766,24 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2527
3766
|
api_key?: string | undefined;
|
|
2528
3767
|
folder_id?: number | undefined;
|
|
2529
3768
|
commit_message?: string | undefined;
|
|
3769
|
+
description?: string | undefined;
|
|
3770
|
+
execution?: {
|
|
3771
|
+
code: string;
|
|
3772
|
+
type: "code";
|
|
3773
|
+
language: "python" | "javascript";
|
|
3774
|
+
} | undefined;
|
|
2530
3775
|
}, {
|
|
2531
3776
|
name: string;
|
|
2532
3777
|
tool_definition: Record<string, unknown>;
|
|
2533
3778
|
api_key?: string | undefined;
|
|
2534
3779
|
folder_id?: number | undefined;
|
|
2535
3780
|
commit_message?: string | undefined;
|
|
3781
|
+
description?: string | undefined;
|
|
3782
|
+
execution?: {
|
|
3783
|
+
code: string;
|
|
3784
|
+
type: "code";
|
|
3785
|
+
language: "python" | "javascript";
|
|
3786
|
+
} | undefined;
|
|
2536
3787
|
}>;
|
|
2537
3788
|
readonly annotations: {
|
|
2538
3789
|
readonly readOnlyHint: false;
|
|
@@ -2540,22 +3791,165 @@ export declare const TOOL_DEFINITIONS: {
|
|
|
2540
3791
|
};
|
|
2541
3792
|
readonly "create-tool-version": {
|
|
2542
3793
|
readonly name: "create-tool-version";
|
|
2543
|
-
readonly description: "Create a new version of an existing tool in the Tool Registry. Each version is immutable
|
|
3794
|
+
readonly description: "Create a new version of an existing tool in the Tool Registry. Each version is immutable - this adds a new version with the updated definition. Pass an optional `execution` payload to attach (or replace) the sandbox-executable body for this version.";
|
|
2544
3795
|
readonly inputSchema: z.ZodObject<{
|
|
2545
3796
|
identifier: z.ZodString;
|
|
2546
3797
|
tool_definition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2547
3798
|
commit_message: z.ZodOptional<z.ZodString>;
|
|
3799
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
3800
|
+
type: z.ZodLiteral<"code">;
|
|
3801
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
3802
|
+
code: z.ZodString;
|
|
3803
|
+
}, "strip", z.ZodTypeAny, {
|
|
3804
|
+
code: string;
|
|
3805
|
+
type: "code";
|
|
3806
|
+
language: "python" | "javascript";
|
|
3807
|
+
}, {
|
|
3808
|
+
code: string;
|
|
3809
|
+
type: "code";
|
|
3810
|
+
language: "python" | "javascript";
|
|
3811
|
+
}>>;
|
|
2548
3812
|
api_key: z.ZodOptional<z.ZodString>;
|
|
2549
3813
|
}, "strip", z.ZodTypeAny, {
|
|
2550
3814
|
identifier: string;
|
|
2551
3815
|
tool_definition: Record<string, unknown>;
|
|
2552
3816
|
api_key?: string | undefined;
|
|
2553
3817
|
commit_message?: string | undefined;
|
|
3818
|
+
execution?: {
|
|
3819
|
+
code: string;
|
|
3820
|
+
type: "code";
|
|
3821
|
+
language: "python" | "javascript";
|
|
3822
|
+
} | undefined;
|
|
2554
3823
|
}, {
|
|
2555
3824
|
identifier: string;
|
|
2556
3825
|
tool_definition: Record<string, unknown>;
|
|
2557
3826
|
api_key?: string | undefined;
|
|
2558
3827
|
commit_message?: string | undefined;
|
|
3828
|
+
execution?: {
|
|
3829
|
+
code: string;
|
|
3830
|
+
type: "code";
|
|
3831
|
+
language: "python" | "javascript";
|
|
3832
|
+
} | undefined;
|
|
3833
|
+
}>;
|
|
3834
|
+
readonly annotations: {
|
|
3835
|
+
readonly readOnlyHint: false;
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
readonly "test-execute-tool-registry": {
|
|
3839
|
+
readonly name: "test-execute-tool-registry";
|
|
3840
|
+
readonly description: "Run a tool's execution body in the sandbox against test inputs. Returns the body's return value plus stdout/stderr/duration. Useful for verifying a body before publishing. Pass `execution` and/or `tool_definition` to test unsaved overrides without creating a version. User-code errors return status='error' inside the result (HTTP 200); sandbox infrastructure failures return HTTP 502.";
|
|
3841
|
+
readonly inputSchema: z.ZodObject<{
|
|
3842
|
+
identifier: z.ZodString;
|
|
3843
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3844
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
3845
|
+
type: z.ZodLiteral<"code">;
|
|
3846
|
+
language: z.ZodEnum<["python", "javascript"]>;
|
|
3847
|
+
code: z.ZodString;
|
|
3848
|
+
}, "strip", z.ZodTypeAny, {
|
|
3849
|
+
code: string;
|
|
3850
|
+
type: "code";
|
|
3851
|
+
language: "python" | "javascript";
|
|
3852
|
+
}, {
|
|
3853
|
+
code: string;
|
|
3854
|
+
type: "code";
|
|
3855
|
+
language: "python" | "javascript";
|
|
3856
|
+
}>>;
|
|
3857
|
+
tool_definition: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3858
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3859
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3860
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3861
|
+
}, "strip", z.ZodTypeAny, {
|
|
3862
|
+
identifier: string;
|
|
3863
|
+
version?: number | undefined;
|
|
3864
|
+
label?: string | undefined;
|
|
3865
|
+
api_key?: string | undefined;
|
|
3866
|
+
tool_definition?: Record<string, unknown> | undefined;
|
|
3867
|
+
execution?: {
|
|
3868
|
+
code: string;
|
|
3869
|
+
type: "code";
|
|
3870
|
+
language: "python" | "javascript";
|
|
3871
|
+
} | undefined;
|
|
3872
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3873
|
+
}, {
|
|
3874
|
+
identifier: string;
|
|
3875
|
+
version?: number | undefined;
|
|
3876
|
+
label?: string | undefined;
|
|
3877
|
+
api_key?: string | undefined;
|
|
3878
|
+
tool_definition?: Record<string, unknown> | undefined;
|
|
3879
|
+
execution?: {
|
|
3880
|
+
code: string;
|
|
3881
|
+
type: "code";
|
|
3882
|
+
language: "python" | "javascript";
|
|
3883
|
+
} | undefined;
|
|
3884
|
+
inputs?: Record<string, unknown> | undefined;
|
|
3885
|
+
}>;
|
|
3886
|
+
readonly annotations: {
|
|
3887
|
+
readonly readOnlyHint: false;
|
|
3888
|
+
};
|
|
3889
|
+
};
|
|
3890
|
+
readonly "list-workspace-env-vars": {
|
|
3891
|
+
readonly name: "list-workspace-env-vars";
|
|
3892
|
+
readonly description: "List workspace-scoped environment variables. Returned values are masked (only `value_suffix` — last 4 chars). Workspace vars auto-inject into every auto-executing tool in this workspace; tool-scoped vars override them on the same key.";
|
|
3893
|
+
readonly inputSchema: z.ZodObject<{
|
|
3894
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3895
|
+
}, "strip", z.ZodTypeAny, {
|
|
3896
|
+
api_key?: string | undefined;
|
|
3897
|
+
}, {
|
|
3898
|
+
api_key?: string | undefined;
|
|
3899
|
+
}>;
|
|
3900
|
+
readonly annotations: {
|
|
3901
|
+
readonly readOnlyHint: true;
|
|
3902
|
+
};
|
|
3903
|
+
};
|
|
3904
|
+
readonly "create-workspace-env-var": {
|
|
3905
|
+
readonly name: "create-workspace-env-var";
|
|
3906
|
+
readonly description: "Scaffold a workspace-scoped environment variable placeholder. Auto-injected into every auto-executing tool in this workspace. The value is always created empty; the user fills in the real value via Settings, Environment Variables. Key must match ^[A-Za-z_][A-Za-z0-9_]*$ and not collide with reserved runtime names.";
|
|
3907
|
+
readonly inputSchema: z.ZodObject<{
|
|
3908
|
+
key: z.ZodString;
|
|
3909
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3910
|
+
}, "strip", z.ZodTypeAny, {
|
|
3911
|
+
key: string;
|
|
3912
|
+
api_key?: string | undefined;
|
|
3913
|
+
}, {
|
|
3914
|
+
key: string;
|
|
3915
|
+
api_key?: string | undefined;
|
|
3916
|
+
}>;
|
|
3917
|
+
readonly annotations: {
|
|
3918
|
+
readonly readOnlyHint: false;
|
|
3919
|
+
};
|
|
3920
|
+
};
|
|
3921
|
+
readonly "list-tool-env-vars": {
|
|
3922
|
+
readonly name: "list-tool-env-vars";
|
|
3923
|
+
readonly description: "List tool-scoped environment variables for a specific tool (by ID or name). Returned values are masked (only `value_suffix`). Tool-scoped vars override workspace-scoped vars on the same key during sandbox execution.";
|
|
3924
|
+
readonly inputSchema: z.ZodObject<{
|
|
3925
|
+
identifier: z.ZodString;
|
|
3926
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
}, "strip", z.ZodTypeAny, {
|
|
3928
|
+
identifier: string;
|
|
3929
|
+
api_key?: string | undefined;
|
|
3930
|
+
}, {
|
|
3931
|
+
identifier: string;
|
|
3932
|
+
api_key?: string | undefined;
|
|
3933
|
+
}>;
|
|
3934
|
+
readonly annotations: {
|
|
3935
|
+
readonly readOnlyHint: true;
|
|
3936
|
+
};
|
|
3937
|
+
};
|
|
3938
|
+
readonly "create-tool-env-var": {
|
|
3939
|
+
readonly name: "create-tool-env-var";
|
|
3940
|
+
readonly description: "Scaffold a tool-scoped environment variable placeholder on a specific tool. Auto-injected only into THIS tool's sandbox execution and overrides any workspace-scoped var with the same key. The value is always created empty; the user fills in the real value via Settings.";
|
|
3941
|
+
readonly inputSchema: z.ZodObject<{
|
|
3942
|
+
identifier: z.ZodString;
|
|
3943
|
+
key: z.ZodString;
|
|
3944
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
}, "strip", z.ZodTypeAny, {
|
|
3946
|
+
identifier: string;
|
|
3947
|
+
key: string;
|
|
3948
|
+
api_key?: string | undefined;
|
|
3949
|
+
}, {
|
|
3950
|
+
identifier: string;
|
|
3951
|
+
key: string;
|
|
3952
|
+
api_key?: string | undefined;
|
|
2559
3953
|
}>;
|
|
2560
3954
|
readonly annotations: {
|
|
2561
3955
|
readonly readOnlyHint: false;
|