@wplaunchify/ml-mcp-server 1.0.10 → 1.0.11

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.
@@ -1,2239 +1,3 @@
1
1
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
2
  export declare const allTools: Tool[];
3
- export declare const toolHandlers: {
4
- debug_options: (args: any) => Promise<{
5
- toolResult: {
6
- content: {
7
- type: string;
8
- text: string;
9
- }[];
10
- isError?: undefined;
11
- };
12
- } | {
13
- toolResult: {
14
- isError: boolean;
15
- content: {
16
- type: string;
17
- text: string;
18
- }[];
19
- };
20
- }>;
21
- debug_fluentcrm: (args: any) => Promise<{
22
- toolResult: {
23
- content: {
24
- type: string;
25
- text: string;
26
- }[];
27
- isError?: undefined;
28
- };
29
- } | {
30
- toolResult: {
31
- isError: boolean;
32
- content: {
33
- type: string;
34
- text: string;
35
- }[];
36
- };
37
- }>;
38
- mlmh_search_images: (args: any) => Promise<{
39
- toolResult: {
40
- content: {
41
- type: string;
42
- text: string;
43
- }[];
44
- isError?: undefined;
45
- };
46
- } | {
47
- toolResult: {
48
- isError: boolean;
49
- content: {
50
- type: string;
51
- text: string;
52
- }[];
53
- };
54
- }>;
55
- mlmh_import_images: (args: any) => Promise<{
56
- toolResult: {
57
- content: {
58
- type: string;
59
- text: string;
60
- }[];
61
- isError?: undefined;
62
- };
63
- } | {
64
- toolResult: {
65
- isError: boolean;
66
- content: {
67
- type: string;
68
- text: string;
69
- }[];
70
- };
71
- }>;
72
- mlmh_search_icons: (args: any) => Promise<{
73
- toolResult: {
74
- content: {
75
- type: string;
76
- text: string;
77
- }[];
78
- isError?: undefined;
79
- };
80
- } | {
81
- toolResult: {
82
- isError: boolean;
83
- content: {
84
- type: string;
85
- text: string;
86
- }[];
87
- };
88
- }>;
89
- mlmh_import_icon: (args: any) => Promise<{
90
- toolResult: {
91
- content: {
92
- type: string;
93
- text: string;
94
- }[];
95
- isError?: undefined;
96
- };
97
- } | {
98
- toolResult: {
99
- isError: boolean;
100
- content: {
101
- type: string;
102
- text: string;
103
- }[];
104
- };
105
- }>;
106
- mlmh_list_media: (args: any) => Promise<{
107
- toolResult: {
108
- content: {
109
- type: string;
110
- text: string;
111
- }[];
112
- isError?: undefined;
113
- };
114
- } | {
115
- toolResult: {
116
- isError: boolean;
117
- content: {
118
- type: string;
119
- text: string;
120
- }[];
121
- };
122
- }>;
123
- mlmh_list_categories: (args: any) => Promise<{
124
- toolResult: {
125
- content: {
126
- type: string;
127
- text: string;
128
- }[];
129
- isError?: undefined;
130
- };
131
- } | {
132
- toolResult: {
133
- isError: boolean;
134
- content: {
135
- type: string;
136
- text: string;
137
- }[];
138
- };
139
- }>;
140
- mlmh_create_category: (args: any) => Promise<{
141
- toolResult: {
142
- content: {
143
- type: string;
144
- text: string;
145
- }[];
146
- isError?: undefined;
147
- };
148
- } | {
149
- toolResult: {
150
- isError: boolean;
151
- content: {
152
- type: string;
153
- text: string;
154
- }[];
155
- };
156
- }>;
157
- mlmh_get_settings: (args: any) => Promise<{
158
- toolResult: {
159
- content: {
160
- type: string;
161
- text: string;
162
- }[];
163
- isError?: undefined;
164
- };
165
- } | {
166
- toolResult: {
167
- isError: boolean;
168
- content: {
169
- type: string;
170
- text: string;
171
- }[];
172
- };
173
- }>;
174
- mlmh_update_settings: (args: any) => Promise<{
175
- toolResult: {
176
- content: {
177
- type: string;
178
- text: string;
179
- }[];
180
- isError?: undefined;
181
- };
182
- } | {
183
- toolResult: {
184
- isError: boolean;
185
- content: {
186
- type: string;
187
- text: string;
188
- }[];
189
- };
190
- }>;
191
- mlmh_get_info: (args: any) => Promise<{
192
- toolResult: {
193
- content: {
194
- type: string;
195
- text: string;
196
- }[];
197
- isError?: undefined;
198
- };
199
- } | {
200
- toolResult: {
201
- isError: boolean;
202
- content: {
203
- type: string;
204
- text: string;
205
- }[];
206
- };
207
- }>;
208
- mlmh_advanced_image_search: (args: any) => Promise<{
209
- toolResult: {
210
- content: {
211
- type: string;
212
- text: string;
213
- }[];
214
- isError?: undefined;
215
- };
216
- } | {
217
- toolResult: {
218
- isError: boolean;
219
- content: {
220
- type: string;
221
- text: string;
222
- }[];
223
- };
224
- }>;
225
- mlmh_advanced_icon_search: (args: any) => Promise<{
226
- toolResult: {
227
- content: {
228
- type: string;
229
- text: string;
230
- }[];
231
- isError?: undefined;
232
- };
233
- } | {
234
- toolResult: {
235
- isError: boolean;
236
- content: {
237
- type: string;
238
- text: string;
239
- }[];
240
- };
241
- }>;
242
- mlmh_save_search_preset: (args: any) => Promise<{
243
- toolResult: {
244
- content: {
245
- type: string;
246
- text: string;
247
- }[];
248
- isError?: undefined;
249
- };
250
- } | {
251
- toolResult: {
252
- isError: boolean;
253
- content: {
254
- type: string;
255
- text: string;
256
- }[];
257
- };
258
- }>;
259
- mlmh_load_search_preset: (args: any) => Promise<{
260
- toolResult: {
261
- content: {
262
- type: string;
263
- text: string;
264
- }[];
265
- isError?: undefined;
266
- };
267
- } | {
268
- toolResult: {
269
- isError: boolean;
270
- content: {
271
- type: string;
272
- text: string;
273
- }[];
274
- };
275
- }>;
276
- mlmh_list_search_presets: (args: any) => Promise<{
277
- toolResult: {
278
- content: {
279
- type: string;
280
- text: string;
281
- }[];
282
- isError?: undefined;
283
- };
284
- } | {
285
- toolResult: {
286
- isError: boolean;
287
- content: {
288
- type: string;
289
- text: string;
290
- }[];
291
- };
292
- }>;
293
- mlmh_delete_search_preset: (args: any) => Promise<{
294
- toolResult: {
295
- content: {
296
- type: string;
297
- text: string;
298
- }[];
299
- isError?: undefined;
300
- };
301
- } | {
302
- toolResult: {
303
- isError: boolean;
304
- content: {
305
- type: string;
306
- text: string;
307
- }[];
308
- };
309
- }>;
310
- mlmh_browse_icon_collections: (args: any) => Promise<{
311
- toolResult: {
312
- content: {
313
- type: string;
314
- text: string;
315
- }[];
316
- isError?: undefined;
317
- };
318
- } | {
319
- toolResult: {
320
- isError: boolean;
321
- content: {
322
- type: string;
323
- text: string;
324
- }[];
325
- };
326
- }>;
327
- mlmh_get_collection_icons: (args: any) => Promise<{
328
- toolResult: {
329
- content: {
330
- type: string;
331
- text: string;
332
- }[];
333
- isError?: undefined;
334
- };
335
- } | {
336
- toolResult: {
337
- isError: boolean;
338
- content: {
339
- type: string;
340
- text: string;
341
- }[];
342
- };
343
- }>;
344
- mlimg_generate: (args: any) => Promise<{
345
- toolResult: {
346
- content: {
347
- type: string;
348
- text: string;
349
- }[];
350
- isError?: undefined;
351
- };
352
- } | {
353
- toolResult: {
354
- isError: boolean;
355
- content: {
356
- type: string;
357
- text: string;
358
- }[];
359
- };
360
- }>;
361
- mlimg_edit: (args: any) => Promise<{
362
- toolResult: {
363
- content: {
364
- type: string;
365
- text: string;
366
- }[];
367
- isError?: undefined;
368
- };
369
- } | {
370
- toolResult: {
371
- isError: boolean;
372
- content: {
373
- type: string;
374
- text: string;
375
- }[];
376
- };
377
- }>;
378
- mlimg_iterate: (args: any) => Promise<{
379
- toolResult: {
380
- content: {
381
- type: string;
382
- text: string;
383
- }[];
384
- isError?: undefined;
385
- };
386
- } | {
387
- toolResult: {
388
- isError: boolean;
389
- content: {
390
- type: string;
391
- text: string;
392
- }[];
393
- };
394
- }>;
395
- mlimg_batch_generate: (args: any) => Promise<{
396
- toolResult: {
397
- content: {
398
- type: string;
399
- text: string;
400
- }[];
401
- isError?: undefined;
402
- };
403
- } | {
404
- toolResult: {
405
- isError: boolean;
406
- content: {
407
- type: string;
408
- text: string;
409
- }[];
410
- };
411
- }>;
412
- mlimg_list_images: (args: any) => Promise<{
413
- toolResult: {
414
- content: {
415
- type: string;
416
- text: string;
417
- }[];
418
- isError?: undefined;
419
- };
420
- } | {
421
- toolResult: {
422
- isError: boolean;
423
- content: {
424
- type: string;
425
- text: string;
426
- }[];
427
- };
428
- }>;
429
- mlimg_get_history: (args: any) => Promise<{
430
- toolResult: {
431
- content: {
432
- type: string;
433
- text: string;
434
- }[];
435
- isError?: undefined;
436
- };
437
- } | {
438
- toolResult: {
439
- isError: boolean;
440
- content: {
441
- type: string;
442
- text: string;
443
- }[];
444
- };
445
- }>;
446
- mlimg_list_categories: (args: any) => Promise<{
447
- toolResult: {
448
- content: {
449
- type: string;
450
- text: string;
451
- }[];
452
- isError?: undefined;
453
- };
454
- } | {
455
- toolResult: {
456
- isError: boolean;
457
- content: {
458
- type: string;
459
- text: string;
460
- }[];
461
- };
462
- }>;
463
- mlimg_health: (args: any) => Promise<{
464
- toolResult: {
465
- content: {
466
- type: string;
467
- text: string;
468
- }[];
469
- isError?: undefined;
470
- };
471
- } | {
472
- toolResult: {
473
- isError: boolean;
474
- content: {
475
- type: string;
476
- text: string;
477
- }[];
478
- };
479
- }>;
480
- mlcanvas_create_page: (args: any) => Promise<{
481
- toolResult: {
482
- content: {
483
- type: string;
484
- text: string;
485
- }[];
486
- isError?: undefined;
487
- };
488
- } | {
489
- toolResult: {
490
- isError: boolean;
491
- content: {
492
- type: string;
493
- text: string;
494
- }[];
495
- };
496
- }>;
497
- mlcanvas_edit_page: (args: any) => Promise<{
498
- toolResult: {
499
- content: {
500
- type: string;
501
- text: string;
502
- }[];
503
- isError?: undefined;
504
- };
505
- } | {
506
- toolResult: {
507
- isError: boolean;
508
- content: {
509
- type: string;
510
- text: string;
511
- }[];
512
- };
513
- }>;
514
- mlcanvas_get_docs: (args: any) => Promise<{
515
- toolResult: {
516
- content: {
517
- type: string;
518
- text: string;
519
- }[];
520
- isError?: undefined;
521
- };
522
- } | {
523
- toolResult: {
524
- isError: boolean;
525
- content: {
526
- type: string;
527
- text: string;
528
- }[];
529
- };
530
- }>;
531
- fcart_list_products: (args: any) => Promise<{
532
- toolResult: {
533
- content: {
534
- type: string;
535
- text: string;
536
- }[];
537
- isError?: undefined;
538
- };
539
- } | {
540
- toolResult: {
541
- isError: boolean;
542
- content: {
543
- type: string;
544
- text: string;
545
- }[];
546
- };
547
- }>;
548
- fcart_get_product: (args: any) => Promise<{
549
- toolResult: {
550
- content: {
551
- type: string;
552
- text: string;
553
- }[];
554
- isError?: undefined;
555
- };
556
- } | {
557
- toolResult: {
558
- isError: boolean;
559
- content: {
560
- type: string;
561
- text: string;
562
- }[];
563
- };
564
- }>;
565
- fcart_create_product: (args: any) => Promise<{
566
- toolResult: {
567
- content: {
568
- type: string;
569
- text: string;
570
- }[];
571
- isError?: undefined;
572
- };
573
- } | {
574
- toolResult: {
575
- isError: boolean;
576
- content: {
577
- type: string;
578
- text: string;
579
- }[];
580
- };
581
- }>;
582
- fcart_update_product: (args: any) => Promise<{
583
- toolResult: {
584
- content: {
585
- type: string;
586
- text: string;
587
- }[];
588
- isError?: undefined;
589
- };
590
- } | {
591
- toolResult: {
592
- isError: boolean;
593
- content: {
594
- type: string;
595
- text: string;
596
- }[];
597
- };
598
- }>;
599
- fcart_delete_product: (args: any) => Promise<{
600
- toolResult: {
601
- content: {
602
- type: string;
603
- text: string;
604
- }[];
605
- isError?: undefined;
606
- };
607
- } | {
608
- toolResult: {
609
- isError: boolean;
610
- content: {
611
- type: string;
612
- text: string;
613
- }[];
614
- };
615
- }>;
616
- fcart_update_product_pricing: (args: any) => Promise<{
617
- toolResult: {
618
- content: {
619
- type: string;
620
- text: string;
621
- }[];
622
- isError?: undefined;
623
- };
624
- } | {
625
- toolResult: {
626
- isError: boolean;
627
- content: {
628
- type: string;
629
- text: string;
630
- }[];
631
- };
632
- }>;
633
- fcart_get_product_thumbnail: (args: any) => Promise<{
634
- toolResult: {
635
- content: {
636
- type: string;
637
- text: string;
638
- }[];
639
- isError?: undefined;
640
- };
641
- } | {
642
- toolResult: {
643
- isError: boolean;
644
- content: {
645
- type: string;
646
- text: string;
647
- }[];
648
- };
649
- }>;
650
- fcart_set_product_thumbnail: (args: any) => Promise<{
651
- toolResult: {
652
- content: {
653
- type: string;
654
- text: string;
655
- }[];
656
- isError?: undefined;
657
- };
658
- } | {
659
- toolResult: {
660
- isError: boolean;
661
- content: {
662
- type: string;
663
- text: string;
664
- }[];
665
- };
666
- }>;
667
- fcart_list_orders: (args: any) => Promise<{
668
- toolResult: {
669
- content: {
670
- type: string;
671
- text: string;
672
- }[];
673
- isError?: undefined;
674
- };
675
- } | {
676
- toolResult: {
677
- isError: boolean;
678
- content: {
679
- type: string;
680
- text: string;
681
- }[];
682
- };
683
- }>;
684
- fcart_get_order: (args: any) => Promise<{
685
- toolResult: {
686
- content: {
687
- type: string;
688
- text: string;
689
- }[];
690
- isError?: undefined;
691
- };
692
- } | {
693
- toolResult: {
694
- isError: boolean;
695
- content: {
696
- type: string;
697
- text: string;
698
- }[];
699
- };
700
- }>;
701
- fcart_create_order: (args: any) => Promise<{
702
- toolResult: {
703
- content: {
704
- type: string;
705
- text: string;
706
- }[];
707
- isError?: undefined;
708
- };
709
- } | {
710
- toolResult: {
711
- isError: boolean;
712
- content: {
713
- type: string;
714
- text: string;
715
- }[];
716
- };
717
- }>;
718
- fcart_update_order: (args: any) => Promise<{
719
- toolResult: {
720
- content: {
721
- type: string;
722
- text: string;
723
- }[];
724
- isError?: undefined;
725
- };
726
- } | {
727
- toolResult: {
728
- isError: boolean;
729
- content: {
730
- type: string;
731
- text: string;
732
- }[];
733
- };
734
- }>;
735
- fcart_mark_order_paid: (args: any) => Promise<{
736
- toolResult: {
737
- content: {
738
- type: string;
739
- text: string;
740
- }[];
741
- isError?: undefined;
742
- };
743
- } | {
744
- toolResult: {
745
- isError: boolean;
746
- content: {
747
- type: string;
748
- text: string;
749
- }[];
750
- };
751
- }>;
752
- fcart_refund_order: (args: any) => Promise<{
753
- toolResult: {
754
- content: {
755
- type: string;
756
- text: string;
757
- }[];
758
- isError?: undefined;
759
- };
760
- } | {
761
- toolResult: {
762
- isError: boolean;
763
- content: {
764
- type: string;
765
- text: string;
766
- }[];
767
- };
768
- }>;
769
- fcart_update_order_statuses: (args: any) => Promise<{
770
- toolResult: {
771
- content: {
772
- type: string;
773
- text: string;
774
- }[];
775
- isError?: undefined;
776
- };
777
- } | {
778
- toolResult: {
779
- isError: boolean;
780
- content: {
781
- type: string;
782
- text: string;
783
- }[];
784
- };
785
- }>;
786
- fcart_delete_order: (args: any) => Promise<{
787
- toolResult: {
788
- content: {
789
- type: string;
790
- text: string;
791
- }[];
792
- isError?: undefined;
793
- };
794
- } | {
795
- toolResult: {
796
- isError: boolean;
797
- content: {
798
- type: string;
799
- text: string;
800
- }[];
801
- };
802
- }>;
803
- fcart_list_customers: (args: any) => Promise<{
804
- toolResult: {
805
- content: {
806
- type: string;
807
- text: string;
808
- }[];
809
- isError?: undefined;
810
- };
811
- } | {
812
- toolResult: {
813
- isError: boolean;
814
- content: {
815
- type: string;
816
- text: string;
817
- }[];
818
- };
819
- }>;
820
- fcart_get_customer: (args: any) => Promise<{
821
- toolResult: {
822
- content: {
823
- type: string;
824
- text: string;
825
- }[];
826
- isError?: undefined;
827
- };
828
- } | {
829
- toolResult: {
830
- isError: boolean;
831
- content: {
832
- type: string;
833
- text: string;
834
- }[];
835
- };
836
- }>;
837
- fcart_create_customer: (args: any) => Promise<{
838
- toolResult: {
839
- content: {
840
- type: string;
841
- text: string;
842
- }[];
843
- isError?: undefined;
844
- };
845
- } | {
846
- toolResult: {
847
- isError: boolean;
848
- content: {
849
- type: string;
850
- text: string;
851
- }[];
852
- };
853
- }>;
854
- fcart_update_customer: (args: any) => Promise<{
855
- toolResult: {
856
- content: {
857
- type: string;
858
- text: string;
859
- }[];
860
- isError?: undefined;
861
- };
862
- } | {
863
- toolResult: {
864
- isError: boolean;
865
- content: {
866
- type: string;
867
- text: string;
868
- }[];
869
- };
870
- }>;
871
- fcart_list_coupons: (args: any) => Promise<{
872
- toolResult: {
873
- content: {
874
- type: string;
875
- text: string;
876
- }[];
877
- isError?: undefined;
878
- };
879
- } | {
880
- toolResult: {
881
- isError: boolean;
882
- content: {
883
- type: string;
884
- text: string;
885
- }[];
886
- };
887
- }>;
888
- fcart_create_coupon: (args: any) => Promise<{
889
- toolResult: {
890
- content: {
891
- type: string;
892
- text: string;
893
- }[];
894
- isError?: undefined;
895
- };
896
- } | {
897
- toolResult: {
898
- isError: boolean;
899
- content: {
900
- type: string;
901
- text: string;
902
- }[];
903
- };
904
- }>;
905
- fcart_update_coupon: (args: any) => Promise<{
906
- toolResult: {
907
- content: {
908
- type: string;
909
- text: string;
910
- }[];
911
- isError?: undefined;
912
- };
913
- } | {
914
- toolResult: {
915
- isError: boolean;
916
- content: {
917
- type: string;
918
- text: string;
919
- }[];
920
- };
921
- }>;
922
- fcart_delete_coupon: (args: any) => Promise<{
923
- toolResult: {
924
- content: {
925
- type: string;
926
- text: string;
927
- }[];
928
- isError?: undefined;
929
- };
930
- } | {
931
- toolResult: {
932
- isError: boolean;
933
- content: {
934
- type: string;
935
- text: string;
936
- }[];
937
- };
938
- }>;
939
- fcart_get_coupon: (args: any) => Promise<{
940
- toolResult: {
941
- content: {
942
- type: string;
943
- text: string;
944
- }[];
945
- isError?: undefined;
946
- };
947
- } | {
948
- toolResult: {
949
- isError: boolean;
950
- content: {
951
- type: string;
952
- text: string;
953
- }[];
954
- };
955
- }>;
956
- fcart_apply_coupon: (args: any) => Promise<{
957
- toolResult: {
958
- content: {
959
- type: string;
960
- text: string;
961
- }[];
962
- isError?: undefined;
963
- };
964
- } | {
965
- toolResult: {
966
- isError: boolean;
967
- content: {
968
- type: string;
969
- text: string;
970
- }[];
971
- };
972
- }>;
973
- fcart_list_subscriptions: (args: any) => Promise<{
974
- toolResult: {
975
- content: {
976
- type: string;
977
- text: string;
978
- }[];
979
- isError?: undefined;
980
- };
981
- } | {
982
- toolResult: {
983
- isError: boolean;
984
- content: {
985
- type: string;
986
- text: string;
987
- }[];
988
- };
989
- }>;
990
- fcart_get_subscription: (args: any) => Promise<{
991
- toolResult: {
992
- content: {
993
- type: string;
994
- text: string;
995
- }[];
996
- isError?: undefined;
997
- };
998
- } | {
999
- toolResult: {
1000
- isError: boolean;
1001
- content: {
1002
- type: string;
1003
- text: string;
1004
- }[];
1005
- };
1006
- }>;
1007
- fcart_cancel_subscription: (args: any) => Promise<{
1008
- toolResult: {
1009
- content: {
1010
- type: string;
1011
- text: string;
1012
- }[];
1013
- isError?: undefined;
1014
- };
1015
- } | {
1016
- toolResult: {
1017
- isError: boolean;
1018
- content: {
1019
- type: string;
1020
- text: string;
1021
- }[];
1022
- };
1023
- }>;
1024
- fcart_reactivate_subscription: (args: any) => Promise<{
1025
- toolResult: {
1026
- content: {
1027
- type: string;
1028
- text: string;
1029
- }[];
1030
- isError?: undefined;
1031
- };
1032
- } | {
1033
- toolResult: {
1034
- isError: boolean;
1035
- content: {
1036
- type: string;
1037
- text: string;
1038
- }[];
1039
- };
1040
- }>;
1041
- fc_get_layout: (args: any) => Promise<{
1042
- toolResult: {
1043
- content: {
1044
- type: string;
1045
- text: string;
1046
- }[];
1047
- isError?: undefined;
1048
- };
1049
- } | {
1050
- toolResult: {
1051
- isError: boolean;
1052
- content: {
1053
- type: string;
1054
- text: string;
1055
- }[];
1056
- };
1057
- }>;
1058
- fc_update_layout: (args: any) => Promise<{
1059
- toolResult: {
1060
- content: {
1061
- type: string;
1062
- text: string;
1063
- }[];
1064
- isError?: undefined;
1065
- };
1066
- } | {
1067
- toolResult: {
1068
- isError: boolean;
1069
- content: {
1070
- type: string;
1071
- text: string;
1072
- }[];
1073
- };
1074
- }>;
1075
- fc_list_posts: (args: any) => Promise<{
1076
- toolResult: {
1077
- content: {
1078
- type: string;
1079
- text: string;
1080
- }[];
1081
- isError?: undefined;
1082
- };
1083
- } | {
1084
- toolResult: {
1085
- isError: boolean;
1086
- content: {
1087
- type: string;
1088
- text: string;
1089
- }[];
1090
- };
1091
- }>;
1092
- fc_get_post: (args: any) => Promise<{
1093
- toolResult: {
1094
- content: {
1095
- type: string;
1096
- text: string;
1097
- }[];
1098
- isError?: undefined;
1099
- };
1100
- } | {
1101
- toolResult: {
1102
- isError: boolean;
1103
- content: {
1104
- type: string;
1105
- text: string;
1106
- }[];
1107
- };
1108
- }>;
1109
- fc_create_post: (args: any) => Promise<{
1110
- toolResult: {
1111
- content: {
1112
- type: string;
1113
- text: string;
1114
- }[];
1115
- isError?: undefined;
1116
- };
1117
- } | {
1118
- toolResult: {
1119
- isError: boolean;
1120
- content: {
1121
- type: string;
1122
- text: string;
1123
- }[];
1124
- };
1125
- }>;
1126
- fc_update_post: (args: any) => Promise<{
1127
- toolResult: {
1128
- content: {
1129
- type: string;
1130
- text: string;
1131
- }[];
1132
- isError?: undefined;
1133
- };
1134
- } | {
1135
- toolResult: {
1136
- isError: boolean;
1137
- content: {
1138
- type: string;
1139
- text: string;
1140
- }[];
1141
- };
1142
- }>;
1143
- fc_delete_post: (args: any) => Promise<{
1144
- toolResult: {
1145
- content: {
1146
- type: string;
1147
- text: string;
1148
- }[];
1149
- isError?: undefined;
1150
- };
1151
- } | {
1152
- toolResult: {
1153
- isError: boolean;
1154
- content: {
1155
- type: string;
1156
- text: string;
1157
- }[];
1158
- };
1159
- }>;
1160
- fc_list_spaces: (args: any) => Promise<{
1161
- toolResult: {
1162
- content: {
1163
- type: string;
1164
- text: string;
1165
- }[];
1166
- isError?: undefined;
1167
- };
1168
- } | {
1169
- toolResult: {
1170
- isError: boolean;
1171
- content: {
1172
- type: string;
1173
- text: string;
1174
- }[];
1175
- };
1176
- }>;
1177
- fc_get_space: (args: any) => Promise<{
1178
- toolResult: {
1179
- content: {
1180
- type: string;
1181
- text: string;
1182
- }[];
1183
- isError?: undefined;
1184
- };
1185
- } | {
1186
- toolResult: {
1187
- isError: boolean;
1188
- content: {
1189
- type: string;
1190
- text: string;
1191
- }[];
1192
- };
1193
- }>;
1194
- fc_create_space: (args: any) => Promise<{
1195
- toolResult: {
1196
- content: {
1197
- type: string;
1198
- text: string;
1199
- }[];
1200
- isError?: undefined;
1201
- };
1202
- } | {
1203
- toolResult: {
1204
- isError: boolean;
1205
- content: {
1206
- type: string;
1207
- text: string;
1208
- }[];
1209
- };
1210
- }>;
1211
- fc_update_space: (args: any) => Promise<{
1212
- toolResult: {
1213
- content: {
1214
- type: string;
1215
- text: string;
1216
- }[];
1217
- isError?: undefined;
1218
- };
1219
- } | {
1220
- toolResult: {
1221
- isError: boolean;
1222
- content: {
1223
- type: string;
1224
- text: string;
1225
- }[];
1226
- };
1227
- }>;
1228
- fc_list_comments: (args: any) => Promise<{
1229
- toolResult: {
1230
- content: {
1231
- type: string;
1232
- text: string;
1233
- }[];
1234
- isError?: undefined;
1235
- };
1236
- } | {
1237
- toolResult: {
1238
- isError: boolean;
1239
- content: {
1240
- type: string;
1241
- text: string;
1242
- }[];
1243
- };
1244
- }>;
1245
- fc_create_comment: (args: any) => Promise<{
1246
- toolResult: {
1247
- content: {
1248
- type: string;
1249
- text: string;
1250
- }[];
1251
- isError?: undefined;
1252
- };
1253
- } | {
1254
- toolResult: {
1255
- isError: boolean;
1256
- content: {
1257
- type: string;
1258
- text: string;
1259
- }[];
1260
- };
1261
- }>;
1262
- fc_update_comment: (args: any) => Promise<{
1263
- toolResult: {
1264
- content: {
1265
- type: string;
1266
- text: string;
1267
- }[];
1268
- isError?: undefined;
1269
- };
1270
- } | {
1271
- toolResult: {
1272
- isError: boolean;
1273
- content: {
1274
- type: string;
1275
- text: string;
1276
- }[];
1277
- };
1278
- }>;
1279
- fc_delete_comment: (args: any) => Promise<{
1280
- toolResult: {
1281
- content: {
1282
- type: string;
1283
- text: string;
1284
- }[];
1285
- isError?: undefined;
1286
- };
1287
- } | {
1288
- toolResult: {
1289
- isError: boolean;
1290
- content: {
1291
- type: string;
1292
- text: string;
1293
- }[];
1294
- };
1295
- }>;
1296
- fc_list_space_members: (args: any) => Promise<{
1297
- toolResult: {
1298
- content: {
1299
- type: string;
1300
- text: string;
1301
- }[];
1302
- isError?: undefined;
1303
- };
1304
- } | {
1305
- toolResult: {
1306
- isError: boolean;
1307
- content: {
1308
- type: string;
1309
- text: string;
1310
- }[];
1311
- };
1312
- }>;
1313
- fc_add_space_member: (args: any) => Promise<{
1314
- toolResult: {
1315
- content: {
1316
- type: string;
1317
- text: string;
1318
- }[];
1319
- isError?: undefined;
1320
- };
1321
- } | {
1322
- toolResult: {
1323
- isError: boolean;
1324
- content: {
1325
- type: string;
1326
- text: string;
1327
- }[];
1328
- };
1329
- }>;
1330
- fc_remove_space_member: (args: any) => Promise<{
1331
- toolResult: {
1332
- content: {
1333
- type: string;
1334
- text: string;
1335
- }[];
1336
- isError?: undefined;
1337
- };
1338
- } | {
1339
- toolResult: {
1340
- isError: boolean;
1341
- content: {
1342
- type: string;
1343
- text: string;
1344
- }[];
1345
- };
1346
- }>;
1347
- fc_register_member: (args: any) => Promise<{
1348
- toolResult: {
1349
- content: {
1350
- type: string;
1351
- text: string;
1352
- }[];
1353
- isError?: undefined;
1354
- };
1355
- } | {
1356
- toolResult: {
1357
- isError: boolean;
1358
- content: {
1359
- type: string;
1360
- text: string;
1361
- }[];
1362
- };
1363
- }>;
1364
- fc_search_content: (args: any) => Promise<{
1365
- toolResult: {
1366
- content: {
1367
- type: string;
1368
- text: string;
1369
- }[];
1370
- isError?: undefined;
1371
- };
1372
- } | {
1373
- toolResult: {
1374
- isError: boolean;
1375
- content: {
1376
- type: string;
1377
- text: string;
1378
- }[];
1379
- };
1380
- }>;
1381
- fc_get_space_analytics: (args: any) => Promise<{
1382
- toolResult: {
1383
- content: {
1384
- type: string;
1385
- text: string;
1386
- }[];
1387
- isError?: undefined;
1388
- };
1389
- } | {
1390
- toolResult: {
1391
- isError: boolean;
1392
- content: {
1393
- type: string;
1394
- text: string;
1395
- }[];
1396
- };
1397
- }>;
1398
- fc_bulk_create_posts: (args: any) => Promise<{
1399
- toolResult: {
1400
- content: {
1401
- type: string;
1402
- text: string;
1403
- }[];
1404
- isError?: undefined;
1405
- };
1406
- } | {
1407
- toolResult: {
1408
- isError: boolean;
1409
- content: {
1410
- type: string;
1411
- text: string;
1412
- }[];
1413
- };
1414
- }>;
1415
- fc_bulk_update_posts: (args: any) => Promise<{
1416
- toolResult: {
1417
- content: {
1418
- type: string;
1419
- text: string;
1420
- }[];
1421
- isError?: undefined;
1422
- };
1423
- } | {
1424
- toolResult: {
1425
- isError: boolean;
1426
- content: {
1427
- type: string;
1428
- text: string;
1429
- }[];
1430
- };
1431
- }>;
1432
- fc_bulk_delete_posts: (args: any) => Promise<{
1433
- toolResult: {
1434
- content: {
1435
- type: string;
1436
- text: string;
1437
- }[];
1438
- isError?: undefined;
1439
- };
1440
- } | {
1441
- toolResult: {
1442
- isError: boolean;
1443
- content: {
1444
- type: string;
1445
- text: string;
1446
- }[];
1447
- };
1448
- }>;
1449
- list_comments: (params: {
1450
- post?: number | undefined;
1451
- page?: number | undefined;
1452
- per_page?: number | undefined;
1453
- search?: string | undefined;
1454
- status?: "approve" | "hold" | "spam" | "trash" | undefined;
1455
- type?: string | undefined;
1456
- author?: number | number[] | undefined;
1457
- orderby?: "post" | "type" | "date" | "parent" | "id" | "include" | "date_gmt" | undefined;
1458
- order?: "asc" | "desc" | undefined;
1459
- after?: string | undefined;
1460
- author_email?: string | undefined;
1461
- author_exclude?: number[] | undefined;
1462
- }) => Promise<{
1463
- toolResult: {
1464
- content: {
1465
- type: string;
1466
- text: string;
1467
- }[];
1468
- isError?: undefined;
1469
- };
1470
- } | {
1471
- toolResult: {
1472
- isError: boolean;
1473
- content: {
1474
- type: string;
1475
- text: string;
1476
- }[];
1477
- };
1478
- }>;
1479
- get_comment: (params: {
1480
- id: number;
1481
- }) => Promise<{
1482
- toolResult: {
1483
- content: {
1484
- type: string;
1485
- text: string;
1486
- }[];
1487
- isError?: undefined;
1488
- };
1489
- } | {
1490
- toolResult: {
1491
- isError: boolean;
1492
- content: {
1493
- type: string;
1494
- text: string;
1495
- }[];
1496
- };
1497
- }>;
1498
- create_comment: (params: {
1499
- post: number;
1500
- content: string;
1501
- status?: "approve" | "hold" | undefined;
1502
- author?: number | undefined;
1503
- parent?: number | undefined;
1504
- author_email?: string | undefined;
1505
- author_name?: string | undefined;
1506
- author_url?: string | undefined;
1507
- }) => Promise<{
1508
- toolResult: {
1509
- content: {
1510
- type: string;
1511
- text: string;
1512
- }[];
1513
- isError?: undefined;
1514
- };
1515
- } | {
1516
- toolResult: {
1517
- isError: boolean;
1518
- content: {
1519
- type: string;
1520
- text: string;
1521
- }[];
1522
- };
1523
- }>;
1524
- update_comment: (params: {
1525
- id: number;
1526
- post?: number | undefined;
1527
- status?: "approve" | "hold" | "spam" | "trash" | undefined;
1528
- author?: number | undefined;
1529
- parent?: number | undefined;
1530
- content?: string | undefined;
1531
- author_email?: string | undefined;
1532
- author_name?: string | undefined;
1533
- author_url?: string | undefined;
1534
- }) => Promise<{
1535
- toolResult: {
1536
- content: {
1537
- type: string;
1538
- text: string;
1539
- }[];
1540
- isError?: undefined;
1541
- };
1542
- } | {
1543
- toolResult: {
1544
- isError: boolean;
1545
- content: {
1546
- type: string;
1547
- text: string;
1548
- }[];
1549
- };
1550
- }>;
1551
- delete_comment: (params: {
1552
- id: number;
1553
- force?: boolean | undefined;
1554
- }) => Promise<{
1555
- toolResult: {
1556
- content: {
1557
- type: string;
1558
- text: string;
1559
- }[];
1560
- isError?: undefined;
1561
- };
1562
- } | {
1563
- toolResult: {
1564
- isError: boolean;
1565
- content: {
1566
- type: string;
1567
- text: string;
1568
- }[];
1569
- };
1570
- }>;
1571
- search_plugin_repository: (params: {
1572
- page: number;
1573
- per_page: number;
1574
- search: string;
1575
- }) => Promise<{
1576
- toolResult: {
1577
- content: {
1578
- type: string;
1579
- text: string;
1580
- }[];
1581
- isError?: undefined;
1582
- };
1583
- } | {
1584
- toolResult: {
1585
- isError: boolean;
1586
- content: {
1587
- type: string;
1588
- text: string;
1589
- }[];
1590
- };
1591
- }>;
1592
- get_plugin_details: (params: {
1593
- slug: string;
1594
- }) => Promise<{
1595
- toolResult: {
1596
- content: {
1597
- type: string;
1598
- text: string;
1599
- }[];
1600
- isError?: undefined;
1601
- };
1602
- } | {
1603
- toolResult: {
1604
- isError: boolean;
1605
- content: {
1606
- type: string;
1607
- text: string;
1608
- }[];
1609
- };
1610
- }>;
1611
- list_users: (params: {
1612
- page?: number | undefined;
1613
- per_page?: number | undefined;
1614
- search?: string | undefined;
1615
- orderby?: "url" | "slug" | "id" | "name" | "include" | "registered_date" | "email" | undefined;
1616
- order?: "asc" | "desc" | undefined;
1617
- context?: "view" | "embed" | "edit" | undefined;
1618
- roles?: string[] | undefined;
1619
- }) => Promise<{
1620
- toolResult: {
1621
- content: {
1622
- type: string;
1623
- text: string;
1624
- }[];
1625
- isError?: undefined;
1626
- };
1627
- } | {
1628
- toolResult: {
1629
- isError: boolean;
1630
- content: {
1631
- type: string;
1632
- text: string;
1633
- }[];
1634
- };
1635
- }>;
1636
- get_user: (params: {
1637
- id: number;
1638
- context?: "view" | "embed" | "edit" | undefined;
1639
- }) => Promise<{
1640
- toolResult: {
1641
- content: {
1642
- type: string;
1643
- text: string;
1644
- }[];
1645
- isError?: undefined;
1646
- };
1647
- } | {
1648
- toolResult: {
1649
- isError: boolean;
1650
- content: {
1651
- type: string;
1652
- text: string;
1653
- }[];
1654
- };
1655
- }>;
1656
- create_user: (params: {
1657
- email: string;
1658
- username: string;
1659
- password: string;
1660
- url?: string | undefined;
1661
- slug?: string | undefined;
1662
- name?: string | undefined;
1663
- description?: string | undefined;
1664
- roles?: string[] | undefined;
1665
- first_name?: string | undefined;
1666
- last_name?: string | undefined;
1667
- locale?: string | undefined;
1668
- nickname?: string | undefined;
1669
- }) => Promise<{
1670
- toolResult: {
1671
- content: {
1672
- type: string;
1673
- text: string;
1674
- }[];
1675
- isError?: undefined;
1676
- };
1677
- } | {
1678
- toolResult: {
1679
- isError: boolean;
1680
- content: {
1681
- type: string;
1682
- text: string;
1683
- }[];
1684
- };
1685
- }>;
1686
- update_user: (params: {
1687
- id: number;
1688
- url?: string | undefined;
1689
- slug?: string | undefined;
1690
- name?: string | undefined;
1691
- description?: string | undefined;
1692
- email?: string | undefined;
1693
- roles?: string[] | undefined;
1694
- username?: string | undefined;
1695
- first_name?: string | undefined;
1696
- last_name?: string | undefined;
1697
- locale?: string | undefined;
1698
- nickname?: string | undefined;
1699
- password?: string | undefined;
1700
- }) => Promise<{
1701
- toolResult: {
1702
- content: {
1703
- type: string;
1704
- text: string;
1705
- }[];
1706
- isError?: undefined;
1707
- };
1708
- } | {
1709
- toolResult: {
1710
- isError: boolean;
1711
- content: {
1712
- type: string;
1713
- text: string;
1714
- }[];
1715
- };
1716
- }>;
1717
- delete_user: (params: {
1718
- id: number;
1719
- force?: boolean | undefined;
1720
- reassign?: number | undefined;
1721
- }) => Promise<{
1722
- toolResult: {
1723
- content: {
1724
- type: string;
1725
- text: string;
1726
- }[];
1727
- isError?: undefined;
1728
- };
1729
- } | {
1730
- toolResult: {
1731
- isError: boolean;
1732
- content: {
1733
- type: string;
1734
- text: string;
1735
- }[];
1736
- };
1737
- }>;
1738
- list_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1739
- page: import("zod").ZodOptional<import("zod").ZodNumber>;
1740
- per_page: import("zod").ZodOptional<import("zod").ZodNumber>;
1741
- search: import("zod").ZodOptional<import("zod").ZodString>;
1742
- }, "strict", import("zod").ZodTypeAny, {
1743
- page?: number | undefined;
1744
- per_page?: number | undefined;
1745
- search?: string | undefined;
1746
- }, {
1747
- page?: number | undefined;
1748
- per_page?: number | undefined;
1749
- search?: string | undefined;
1750
- }>>) => Promise<{
1751
- toolResult: {
1752
- content: {
1753
- type: string;
1754
- text: string;
1755
- }[];
1756
- isError?: undefined;
1757
- };
1758
- } | {
1759
- toolResult: {
1760
- isError: boolean;
1761
- content: {
1762
- type: string;
1763
- text: string;
1764
- }[];
1765
- };
1766
- }>;
1767
- create_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1768
- title: import("zod").ZodString;
1769
- alt_text: import("zod").ZodOptional<import("zod").ZodString>;
1770
- caption: import("zod").ZodOptional<import("zod").ZodString>;
1771
- description: import("zod").ZodOptional<import("zod").ZodString>;
1772
- source_url: import("zod").ZodString;
1773
- }, "strict", import("zod").ZodTypeAny, {
1774
- title: string;
1775
- source_url: string;
1776
- description?: string | undefined;
1777
- alt_text?: string | undefined;
1778
- caption?: string | undefined;
1779
- }, {
1780
- title: string;
1781
- source_url: string;
1782
- description?: string | undefined;
1783
- alt_text?: string | undefined;
1784
- caption?: string | undefined;
1785
- }>>) => Promise<{
1786
- toolResult: {
1787
- content: {
1788
- type: string;
1789
- text: string;
1790
- }[];
1791
- isError?: undefined;
1792
- };
1793
- } | {
1794
- toolResult: {
1795
- isError: boolean;
1796
- content: {
1797
- type: string;
1798
- text: string;
1799
- }[];
1800
- };
1801
- }>;
1802
- edit_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1803
- id: import("zod").ZodNumber;
1804
- title: import("zod").ZodOptional<import("zod").ZodString>;
1805
- alt_text: import("zod").ZodOptional<import("zod").ZodString>;
1806
- caption: import("zod").ZodOptional<import("zod").ZodString>;
1807
- description: import("zod").ZodOptional<import("zod").ZodString>;
1808
- }, "strict", import("zod").ZodTypeAny, {
1809
- id: number;
1810
- title?: string | undefined;
1811
- description?: string | undefined;
1812
- alt_text?: string | undefined;
1813
- caption?: string | undefined;
1814
- }, {
1815
- id: number;
1816
- title?: string | undefined;
1817
- description?: string | undefined;
1818
- alt_text?: string | undefined;
1819
- caption?: string | undefined;
1820
- }>>) => Promise<{
1821
- toolResult: {
1822
- content: {
1823
- type: string;
1824
- text: string;
1825
- }[];
1826
- isError?: undefined;
1827
- };
1828
- } | {
1829
- toolResult: {
1830
- isError: boolean;
1831
- content: {
1832
- type: string;
1833
- text: string;
1834
- }[];
1835
- };
1836
- }>;
1837
- delete_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1838
- id: import("zod").ZodNumber;
1839
- force: import("zod").ZodOptional<import("zod").ZodBoolean>;
1840
- }, "strict", import("zod").ZodTypeAny, {
1841
- id: number;
1842
- force?: boolean | undefined;
1843
- }, {
1844
- id: number;
1845
- force?: boolean | undefined;
1846
- }>>) => Promise<{
1847
- toolResult: {
1848
- content: {
1849
- type: string;
1850
- text: string;
1851
- }[];
1852
- isError?: undefined;
1853
- };
1854
- } | {
1855
- toolResult: {
1856
- isError: boolean;
1857
- content: {
1858
- type: string;
1859
- text: string;
1860
- }[];
1861
- };
1862
- }>;
1863
- list_plugins: (params: import("zod").TypeOf<import("zod").ZodObject<{
1864
- status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["active", "inactive"]>>>;
1865
- }, "strict", import("zod").ZodTypeAny, {
1866
- status: "active" | "inactive";
1867
- }, {
1868
- status?: "active" | "inactive" | undefined;
1869
- }>>) => Promise<{
1870
- toolResult: {
1871
- content: {
1872
- type: string;
1873
- text: string;
1874
- }[];
1875
- isError?: undefined;
1876
- };
1877
- } | {
1878
- toolResult: {
1879
- isError: boolean;
1880
- content: {
1881
- type: string;
1882
- text: string;
1883
- }[];
1884
- };
1885
- }>;
1886
- get_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1887
- plugin: import("zod").ZodString;
1888
- }, "strict", import("zod").ZodTypeAny, {
1889
- plugin: string;
1890
- }, {
1891
- plugin: string;
1892
- }>>) => Promise<{
1893
- toolResult: {
1894
- content: {
1895
- type: string;
1896
- text: string;
1897
- }[];
1898
- isError?: undefined;
1899
- };
1900
- } | {
1901
- toolResult: {
1902
- isError: boolean;
1903
- content: {
1904
- type: string;
1905
- text: string;
1906
- }[];
1907
- };
1908
- }>;
1909
- activate_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1910
- plugin: import("zod").ZodString;
1911
- }, "strict", import("zod").ZodTypeAny, {
1912
- plugin: string;
1913
- }, {
1914
- plugin: string;
1915
- }>>) => Promise<{
1916
- toolResult: {
1917
- content: {
1918
- type: string;
1919
- text: string;
1920
- }[];
1921
- isError?: undefined;
1922
- };
1923
- } | {
1924
- toolResult: {
1925
- isError: boolean;
1926
- content: {
1927
- type: string;
1928
- text: string;
1929
- }[];
1930
- };
1931
- }>;
1932
- deactivate_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1933
- plugin: import("zod").ZodString;
1934
- }, "strict", import("zod").ZodTypeAny, {
1935
- plugin: string;
1936
- }, {
1937
- plugin: string;
1938
- }>>) => Promise<{
1939
- toolResult: {
1940
- content: {
1941
- type: string;
1942
- text: string;
1943
- }[];
1944
- isError?: undefined;
1945
- };
1946
- } | {
1947
- toolResult: {
1948
- isError: boolean;
1949
- content: {
1950
- type: string;
1951
- text: string;
1952
- }[];
1953
- };
1954
- }>;
1955
- create_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1956
- slug: import("zod").ZodString;
1957
- status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["inactive", "active"]>>>;
1958
- }, "strict", import("zod").ZodTypeAny, {
1959
- slug: string;
1960
- status: "active" | "inactive";
1961
- }, {
1962
- slug: string;
1963
- status?: "active" | "inactive" | undefined;
1964
- }>>) => Promise<{
1965
- toolResult: {
1966
- content: {
1967
- type: string;
1968
- text: string;
1969
- }[];
1970
- isError?: undefined;
1971
- };
1972
- } | {
1973
- toolResult: {
1974
- isError: boolean;
1975
- content: {
1976
- type: string;
1977
- text: string;
1978
- }[];
1979
- };
1980
- }>;
1981
- discover_taxonomies: (params: {
1982
- content_type?: string | undefined;
1983
- refresh_cache?: boolean | undefined;
1984
- }) => Promise<{
1985
- toolResult: {
1986
- content: {
1987
- type: string;
1988
- text: string;
1989
- }[];
1990
- isError: boolean;
1991
- };
1992
- }>;
1993
- list_terms: (params: {
1994
- taxonomy: string;
1995
- page?: number | undefined;
1996
- per_page?: number | undefined;
1997
- search?: string | undefined;
1998
- slug?: string | undefined;
1999
- parent?: number | undefined;
2000
- orderby?: "slug" | "id" | "name" | "description" | "include" | "term_group" | "count" | undefined;
2001
- order?: "asc" | "desc" | undefined;
2002
- hide_empty?: boolean | undefined;
2003
- }) => Promise<{
2004
- toolResult: {
2005
- content: {
2006
- type: string;
2007
- text: string;
2008
- }[];
2009
- isError: boolean;
2010
- };
2011
- }>;
2012
- get_term: (params: {
2013
- id: number;
2014
- taxonomy: string;
2015
- }) => Promise<{
2016
- toolResult: {
2017
- content: {
2018
- type: string;
2019
- text: string;
2020
- }[];
2021
- isError: boolean;
2022
- };
2023
- }>;
2024
- create_term: (params: {
2025
- name: string;
2026
- taxonomy: string;
2027
- slug?: string | undefined;
2028
- parent?: number | undefined;
2029
- meta?: Record<string, any> | undefined;
2030
- description?: string | undefined;
2031
- }) => Promise<{
2032
- toolResult: {
2033
- content: {
2034
- type: string;
2035
- text: string;
2036
- }[];
2037
- isError: boolean;
2038
- };
2039
- }>;
2040
- update_term: (params: {
2041
- id: number;
2042
- taxonomy: string;
2043
- slug?: string | undefined;
2044
- parent?: number | undefined;
2045
- meta?: Record<string, any> | undefined;
2046
- name?: string | undefined;
2047
- description?: string | undefined;
2048
- }) => Promise<{
2049
- toolResult: {
2050
- content: {
2051
- type: string;
2052
- text: string;
2053
- }[];
2054
- isError: boolean;
2055
- };
2056
- }>;
2057
- delete_term: (params: {
2058
- id: number;
2059
- taxonomy: string;
2060
- force?: boolean | undefined;
2061
- }) => Promise<{
2062
- toolResult: {
2063
- content: {
2064
- type: string;
2065
- text: string;
2066
- }[];
2067
- isError: boolean;
2068
- };
2069
- }>;
2070
- assign_terms_to_content: (params: {
2071
- content_type: string;
2072
- taxonomy: string;
2073
- content_id: number;
2074
- terms: (string | number)[];
2075
- append?: boolean | undefined;
2076
- }) => Promise<{
2077
- toolResult: {
2078
- content: {
2079
- type: string;
2080
- text: string;
2081
- }[];
2082
- isError: boolean;
2083
- };
2084
- }>;
2085
- get_content_terms: (params: {
2086
- content_type: string;
2087
- content_id: number;
2088
- taxonomy?: string | undefined;
2089
- }) => Promise<{
2090
- toolResult: {
2091
- content: {
2092
- type: string;
2093
- text: string;
2094
- }[];
2095
- isError: boolean;
2096
- };
2097
- }>;
2098
- list_content: (params: {
2099
- content_type: string;
2100
- page?: number | undefined;
2101
- per_page?: number | undefined;
2102
- search?: string | undefined;
2103
- slug?: string | undefined;
2104
- status?: string | undefined;
2105
- author?: number | number[] | undefined;
2106
- categories?: number | number[] | undefined;
2107
- tags?: number | number[] | undefined;
2108
- parent?: number | undefined;
2109
- orderby?: string | undefined;
2110
- order?: "asc" | "desc" | undefined;
2111
- after?: string | undefined;
2112
- before?: string | undefined;
2113
- }) => Promise<{
2114
- toolResult: {
2115
- content: {
2116
- type: string;
2117
- text: string;
2118
- }[];
2119
- isError: boolean;
2120
- };
2121
- }>;
2122
- get_content: (params: {
2123
- content_type: string;
2124
- id: number;
2125
- }) => Promise<{
2126
- toolResult: {
2127
- content: {
2128
- type: string;
2129
- text: string;
2130
- }[];
2131
- isError: boolean;
2132
- };
2133
- }>;
2134
- create_content: (params: {
2135
- content_type: string;
2136
- status: string;
2137
- title: string;
2138
- content: string;
2139
- slug?: string | undefined;
2140
- author?: number | undefined;
2141
- categories?: number[] | undefined;
2142
- tags?: number[] | undefined;
2143
- parent?: number | undefined;
2144
- excerpt?: string | undefined;
2145
- featured_media?: number | undefined;
2146
- format?: string | undefined;
2147
- menu_order?: number | undefined;
2148
- meta?: Record<string, any> | undefined;
2149
- custom_fields?: Record<string, any> | undefined;
2150
- }) => Promise<{
2151
- toolResult: {
2152
- content: {
2153
- type: string;
2154
- text: string;
2155
- }[];
2156
- isError: boolean;
2157
- };
2158
- }>;
2159
- update_content: (params: {
2160
- content_type: string;
2161
- id: number;
2162
- slug?: string | undefined;
2163
- status?: string | undefined;
2164
- author?: number | undefined;
2165
- categories?: number[] | undefined;
2166
- tags?: number[] | undefined;
2167
- parent?: number | undefined;
2168
- title?: string | undefined;
2169
- content?: string | undefined;
2170
- excerpt?: string | undefined;
2171
- featured_media?: number | undefined;
2172
- format?: string | undefined;
2173
- menu_order?: number | undefined;
2174
- meta?: Record<string, any> | undefined;
2175
- custom_fields?: Record<string, any> | undefined;
2176
- }) => Promise<{
2177
- toolResult: {
2178
- content: {
2179
- type: string;
2180
- text: string;
2181
- }[];
2182
- isError: boolean;
2183
- };
2184
- }>;
2185
- delete_content: (params: {
2186
- content_type: string;
2187
- id: number;
2188
- force?: boolean | undefined;
2189
- }) => Promise<{
2190
- toolResult: {
2191
- content: {
2192
- type: string;
2193
- text: string;
2194
- }[];
2195
- isError: boolean;
2196
- };
2197
- }>;
2198
- discover_content_types: (params: {
2199
- refresh_cache?: boolean | undefined;
2200
- }) => Promise<{
2201
- toolResult: {
2202
- content: {
2203
- type: string;
2204
- text: string;
2205
- }[];
2206
- isError: boolean;
2207
- };
2208
- }>;
2209
- find_content_by_url: (params: {
2210
- url: string;
2211
- update_fields?: {
2212
- status?: string | undefined;
2213
- title?: string | undefined;
2214
- content?: string | undefined;
2215
- meta?: Record<string, any> | undefined;
2216
- custom_fields?: Record<string, any> | undefined;
2217
- } | undefined;
2218
- }) => Promise<{
2219
- toolResult: {
2220
- content: {
2221
- type: string;
2222
- text: string;
2223
- }[];
2224
- isError: boolean;
2225
- };
2226
- }>;
2227
- get_content_by_slug: (params: {
2228
- slug: string;
2229
- content_types?: string[] | undefined;
2230
- }) => Promise<{
2231
- toolResult: {
2232
- content: {
2233
- type: string;
2234
- text: string;
2235
- }[];
2236
- isError: boolean;
2237
- };
2238
- }>;
2239
- };
3
+ export declare const toolHandlers: Record<string, any>;