@wplaunchify/ml-mcp-server 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +220 -0
  3. package/build/cli.d.ts +2 -0
  4. package/build/cli.js +52 -0
  5. package/build/server.d.ts +2 -0
  6. package/build/server.js +97 -0
  7. package/build/tools/comments.d.ts +212 -0
  8. package/build/tools/comments.js +181 -0
  9. package/build/tools/fluent-affiliate.d.ts +2 -0
  10. package/build/tools/fluent-affiliate.js +3 -0
  11. package/build/tools/fluent-cart.d.ts +706 -0
  12. package/build/tools/fluent-cart.js +642 -0
  13. package/build/tools/fluent-community-BACKUP.d.ts +364 -0
  14. package/build/tools/fluent-community-BACKUP.js +883 -0
  15. package/build/tools/fluent-community-MINIMAL.d.ts +69 -0
  16. package/build/tools/fluent-community-MINIMAL.js +92 -0
  17. package/build/tools/fluent-community-design.d.ts +3 -0
  18. package/build/tools/fluent-community-design.js +150 -0
  19. package/build/tools/fluent-community-layout.d.ts +119 -0
  20. package/build/tools/fluent-community-layout.js +88 -0
  21. package/build/tools/fluent-community.d.ts +364 -0
  22. package/build/tools/fluent-community.js +528 -0
  23. package/build/tools/fluent-crm.d.ts +3 -0
  24. package/build/tools/fluent-crm.js +392 -0
  25. package/build/tools/index.d.ts +2205 -0
  26. package/build/tools/index.js +54 -0
  27. package/build/tools/media.d.ts +135 -0
  28. package/build/tools/media.js +168 -0
  29. package/build/tools/ml-canvas.d.ts +91 -0
  30. package/build/tools/ml-canvas.js +109 -0
  31. package/build/tools/ml-image-editor.d.ts +230 -0
  32. package/build/tools/ml-image-editor.js +270 -0
  33. package/build/tools/ml-media-hub.d.ts +575 -0
  34. package/build/tools/ml-media-hub.js +714 -0
  35. package/build/tools/plugin-repository.d.ts +62 -0
  36. package/build/tools/plugin-repository.js +149 -0
  37. package/build/tools/plugins.d.ts +129 -0
  38. package/build/tools/plugins.js +148 -0
  39. package/build/tools/unified-content.d.ts +313 -0
  40. package/build/tools/unified-content.js +615 -0
  41. package/build/tools/unified-taxonomies.d.ts +229 -0
  42. package/build/tools/unified-taxonomies.js +479 -0
  43. package/build/tools/users.d.ts +227 -0
  44. package/build/tools/users.js +182 -0
  45. package/build/types/wordpress-types.d.ts +151 -0
  46. package/build/types/wordpress-types.js +2 -0
  47. package/build/wordpress.d.ts +26 -0
  48. package/build/wordpress.js +223 -0
  49. package/package.json +67 -0
@@ -0,0 +1,2205 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ export declare const allTools: Tool[];
3
+ export declare const toolHandlers: {
4
+ mlmh_search_images: (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
+ mlmh_import_images: (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_icons: (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_icon: (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_list_media: (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_list_categories: (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_create_category: (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_get_settings: (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_update_settings: (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_info: (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_advanced_image_search: (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_advanced_icon_search: (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_save_search_preset: (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_load_search_preset: (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_list_search_presets: (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_delete_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_browse_icon_collections: (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_get_collection_icons: (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
+ mlimg_generate: (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
+ mlimg_edit: (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_iterate: (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_batch_generate: (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_list_images: (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_get_history: (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_categories: (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_health: (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
+ mlcanvas_create_page: (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
+ mlcanvas_edit_page: (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_get_docs: (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
+ fcart_list_products: (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
+ fcart_get_product: (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_create_product: (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_update_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_delete_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_pricing: (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_get_product_thumbnail: (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_set_product_thumbnail: (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_list_orders: (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_get_order: (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_create_order: (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_update_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_mark_order_paid: (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_refund_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_update_order_statuses: (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_delete_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_list_customers: (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_get_customer: (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_create_customer: (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_update_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_list_coupons: (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_create_coupon: (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_update_coupon: (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_delete_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_get_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_apply_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_list_subscriptions: (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_get_subscription: (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_cancel_subscription: (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_reactivate_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_get_analytics: (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
+ fc_get_layout: (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_update_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_list_posts: (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_get_post: (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_create_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_update_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_delete_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_list_spaces: (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_get_space: (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_create_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_update_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_list_comments: (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_create_comment: (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_update_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_delete_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_list_space_members: (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_add_space_member: (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_remove_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_search_content: (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_get_space_analytics: (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_bulk_create_posts: (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_bulk_update_posts: (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_delete_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
+ list_comments: (params: {
1416
+ post?: number | undefined;
1417
+ page?: number | undefined;
1418
+ per_page?: number | undefined;
1419
+ search?: string | undefined;
1420
+ status?: "approve" | "hold" | "spam" | "trash" | undefined;
1421
+ type?: string | undefined;
1422
+ author?: number | number[] | undefined;
1423
+ orderby?: "post" | "type" | "date" | "parent" | "id" | "include" | "date_gmt" | undefined;
1424
+ order?: "asc" | "desc" | undefined;
1425
+ after?: string | undefined;
1426
+ author_email?: string | undefined;
1427
+ author_exclude?: number[] | undefined;
1428
+ }) => Promise<{
1429
+ toolResult: {
1430
+ content: {
1431
+ type: string;
1432
+ text: string;
1433
+ }[];
1434
+ isError?: undefined;
1435
+ };
1436
+ } | {
1437
+ toolResult: {
1438
+ isError: boolean;
1439
+ content: {
1440
+ type: string;
1441
+ text: string;
1442
+ }[];
1443
+ };
1444
+ }>;
1445
+ get_comment: (params: {
1446
+ id: number;
1447
+ }) => Promise<{
1448
+ toolResult: {
1449
+ content: {
1450
+ type: string;
1451
+ text: string;
1452
+ }[];
1453
+ isError?: undefined;
1454
+ };
1455
+ } | {
1456
+ toolResult: {
1457
+ isError: boolean;
1458
+ content: {
1459
+ type: string;
1460
+ text: string;
1461
+ }[];
1462
+ };
1463
+ }>;
1464
+ create_comment: (params: {
1465
+ post: number;
1466
+ content: string;
1467
+ status?: "approve" | "hold" | undefined;
1468
+ author?: number | undefined;
1469
+ parent?: number | undefined;
1470
+ author_email?: string | undefined;
1471
+ author_name?: string | undefined;
1472
+ author_url?: string | undefined;
1473
+ }) => Promise<{
1474
+ toolResult: {
1475
+ content: {
1476
+ type: string;
1477
+ text: string;
1478
+ }[];
1479
+ isError?: undefined;
1480
+ };
1481
+ } | {
1482
+ toolResult: {
1483
+ isError: boolean;
1484
+ content: {
1485
+ type: string;
1486
+ text: string;
1487
+ }[];
1488
+ };
1489
+ }>;
1490
+ update_comment: (params: {
1491
+ id: number;
1492
+ post?: number | undefined;
1493
+ status?: "approve" | "hold" | "spam" | "trash" | undefined;
1494
+ author?: number | undefined;
1495
+ parent?: number | undefined;
1496
+ content?: string | undefined;
1497
+ author_email?: string | undefined;
1498
+ author_name?: string | undefined;
1499
+ author_url?: string | undefined;
1500
+ }) => Promise<{
1501
+ toolResult: {
1502
+ content: {
1503
+ type: string;
1504
+ text: string;
1505
+ }[];
1506
+ isError?: undefined;
1507
+ };
1508
+ } | {
1509
+ toolResult: {
1510
+ isError: boolean;
1511
+ content: {
1512
+ type: string;
1513
+ text: string;
1514
+ }[];
1515
+ };
1516
+ }>;
1517
+ delete_comment: (params: {
1518
+ id: number;
1519
+ force?: boolean | undefined;
1520
+ }) => Promise<{
1521
+ toolResult: {
1522
+ content: {
1523
+ type: string;
1524
+ text: string;
1525
+ }[];
1526
+ isError?: undefined;
1527
+ };
1528
+ } | {
1529
+ toolResult: {
1530
+ isError: boolean;
1531
+ content: {
1532
+ type: string;
1533
+ text: string;
1534
+ }[];
1535
+ };
1536
+ }>;
1537
+ search_plugin_repository: (params: {
1538
+ page: number;
1539
+ per_page: number;
1540
+ search: string;
1541
+ }) => Promise<{
1542
+ toolResult: {
1543
+ content: {
1544
+ type: string;
1545
+ text: string;
1546
+ }[];
1547
+ isError?: undefined;
1548
+ };
1549
+ } | {
1550
+ toolResult: {
1551
+ isError: boolean;
1552
+ content: {
1553
+ type: string;
1554
+ text: string;
1555
+ }[];
1556
+ };
1557
+ }>;
1558
+ get_plugin_details: (params: {
1559
+ slug: string;
1560
+ }) => Promise<{
1561
+ toolResult: {
1562
+ content: {
1563
+ type: string;
1564
+ text: string;
1565
+ }[];
1566
+ isError?: undefined;
1567
+ };
1568
+ } | {
1569
+ toolResult: {
1570
+ isError: boolean;
1571
+ content: {
1572
+ type: string;
1573
+ text: string;
1574
+ }[];
1575
+ };
1576
+ }>;
1577
+ list_users: (params: {
1578
+ page?: number | undefined;
1579
+ per_page?: number | undefined;
1580
+ search?: string | undefined;
1581
+ orderby?: "url" | "slug" | "id" | "name" | "include" | "registered_date" | "email" | undefined;
1582
+ order?: "asc" | "desc" | undefined;
1583
+ context?: "view" | "embed" | "edit" | undefined;
1584
+ roles?: string[] | undefined;
1585
+ }) => Promise<{
1586
+ toolResult: {
1587
+ content: {
1588
+ type: string;
1589
+ text: string;
1590
+ }[];
1591
+ isError?: undefined;
1592
+ };
1593
+ } | {
1594
+ toolResult: {
1595
+ isError: boolean;
1596
+ content: {
1597
+ type: string;
1598
+ text: string;
1599
+ }[];
1600
+ };
1601
+ }>;
1602
+ get_user: (params: {
1603
+ id: number;
1604
+ context?: "view" | "embed" | "edit" | undefined;
1605
+ }) => Promise<{
1606
+ toolResult: {
1607
+ content: {
1608
+ type: string;
1609
+ text: string;
1610
+ }[];
1611
+ isError?: undefined;
1612
+ };
1613
+ } | {
1614
+ toolResult: {
1615
+ isError: boolean;
1616
+ content: {
1617
+ type: string;
1618
+ text: string;
1619
+ }[];
1620
+ };
1621
+ }>;
1622
+ create_user: (params: {
1623
+ email: string;
1624
+ username: string;
1625
+ password: string;
1626
+ url?: string | undefined;
1627
+ slug?: string | undefined;
1628
+ name?: string | undefined;
1629
+ description?: string | undefined;
1630
+ roles?: string[] | undefined;
1631
+ first_name?: string | undefined;
1632
+ last_name?: string | undefined;
1633
+ locale?: string | undefined;
1634
+ nickname?: string | undefined;
1635
+ }) => Promise<{
1636
+ toolResult: {
1637
+ content: {
1638
+ type: string;
1639
+ text: string;
1640
+ }[];
1641
+ isError?: undefined;
1642
+ };
1643
+ } | {
1644
+ toolResult: {
1645
+ isError: boolean;
1646
+ content: {
1647
+ type: string;
1648
+ text: string;
1649
+ }[];
1650
+ };
1651
+ }>;
1652
+ update_user: (params: {
1653
+ id: number;
1654
+ url?: string | undefined;
1655
+ slug?: string | undefined;
1656
+ name?: string | undefined;
1657
+ description?: string | undefined;
1658
+ email?: string | undefined;
1659
+ roles?: string[] | undefined;
1660
+ username?: string | undefined;
1661
+ first_name?: string | undefined;
1662
+ last_name?: string | undefined;
1663
+ locale?: string | undefined;
1664
+ nickname?: string | undefined;
1665
+ password?: string | undefined;
1666
+ }) => Promise<{
1667
+ toolResult: {
1668
+ content: {
1669
+ type: string;
1670
+ text: string;
1671
+ }[];
1672
+ isError?: undefined;
1673
+ };
1674
+ } | {
1675
+ toolResult: {
1676
+ isError: boolean;
1677
+ content: {
1678
+ type: string;
1679
+ text: string;
1680
+ }[];
1681
+ };
1682
+ }>;
1683
+ delete_user: (params: {
1684
+ id: number;
1685
+ force?: boolean | undefined;
1686
+ reassign?: number | undefined;
1687
+ }) => Promise<{
1688
+ toolResult: {
1689
+ content: {
1690
+ type: string;
1691
+ text: string;
1692
+ }[];
1693
+ isError?: undefined;
1694
+ };
1695
+ } | {
1696
+ toolResult: {
1697
+ isError: boolean;
1698
+ content: {
1699
+ type: string;
1700
+ text: string;
1701
+ }[];
1702
+ };
1703
+ }>;
1704
+ list_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1705
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
1706
+ per_page: import("zod").ZodOptional<import("zod").ZodNumber>;
1707
+ search: import("zod").ZodOptional<import("zod").ZodString>;
1708
+ }, "strict", import("zod").ZodTypeAny, {
1709
+ page?: number | undefined;
1710
+ per_page?: number | undefined;
1711
+ search?: string | undefined;
1712
+ }, {
1713
+ page?: number | undefined;
1714
+ per_page?: number | undefined;
1715
+ search?: string | undefined;
1716
+ }>>) => Promise<{
1717
+ toolResult: {
1718
+ content: {
1719
+ type: string;
1720
+ text: string;
1721
+ }[];
1722
+ isError?: undefined;
1723
+ };
1724
+ } | {
1725
+ toolResult: {
1726
+ isError: boolean;
1727
+ content: {
1728
+ type: string;
1729
+ text: string;
1730
+ }[];
1731
+ };
1732
+ }>;
1733
+ create_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1734
+ title: import("zod").ZodString;
1735
+ alt_text: import("zod").ZodOptional<import("zod").ZodString>;
1736
+ caption: import("zod").ZodOptional<import("zod").ZodString>;
1737
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1738
+ source_url: import("zod").ZodString;
1739
+ }, "strict", import("zod").ZodTypeAny, {
1740
+ title: string;
1741
+ source_url: string;
1742
+ description?: string | undefined;
1743
+ alt_text?: string | undefined;
1744
+ caption?: string | undefined;
1745
+ }, {
1746
+ title: string;
1747
+ source_url: string;
1748
+ description?: string | undefined;
1749
+ alt_text?: string | undefined;
1750
+ caption?: string | undefined;
1751
+ }>>) => Promise<{
1752
+ toolResult: {
1753
+ content: {
1754
+ type: string;
1755
+ text: string;
1756
+ }[];
1757
+ isError?: undefined;
1758
+ };
1759
+ } | {
1760
+ toolResult: {
1761
+ isError: boolean;
1762
+ content: {
1763
+ type: string;
1764
+ text: string;
1765
+ }[];
1766
+ };
1767
+ }>;
1768
+ edit_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1769
+ id: import("zod").ZodNumber;
1770
+ title: import("zod").ZodOptional<import("zod").ZodString>;
1771
+ alt_text: import("zod").ZodOptional<import("zod").ZodString>;
1772
+ caption: import("zod").ZodOptional<import("zod").ZodString>;
1773
+ description: import("zod").ZodOptional<import("zod").ZodString>;
1774
+ }, "strict", import("zod").ZodTypeAny, {
1775
+ id: number;
1776
+ title?: string | undefined;
1777
+ description?: string | undefined;
1778
+ alt_text?: string | undefined;
1779
+ caption?: string | undefined;
1780
+ }, {
1781
+ id: number;
1782
+ title?: string | undefined;
1783
+ description?: string | undefined;
1784
+ alt_text?: string | undefined;
1785
+ caption?: string | undefined;
1786
+ }>>) => Promise<{
1787
+ toolResult: {
1788
+ content: {
1789
+ type: string;
1790
+ text: string;
1791
+ }[];
1792
+ isError?: undefined;
1793
+ };
1794
+ } | {
1795
+ toolResult: {
1796
+ isError: boolean;
1797
+ content: {
1798
+ type: string;
1799
+ text: string;
1800
+ }[];
1801
+ };
1802
+ }>;
1803
+ delete_media: (params: import("zod").TypeOf<import("zod").ZodObject<{
1804
+ id: import("zod").ZodNumber;
1805
+ force: import("zod").ZodOptional<import("zod").ZodBoolean>;
1806
+ }, "strict", import("zod").ZodTypeAny, {
1807
+ id: number;
1808
+ force?: boolean | undefined;
1809
+ }, {
1810
+ id: number;
1811
+ force?: boolean | undefined;
1812
+ }>>) => Promise<{
1813
+ toolResult: {
1814
+ content: {
1815
+ type: string;
1816
+ text: string;
1817
+ }[];
1818
+ isError?: undefined;
1819
+ };
1820
+ } | {
1821
+ toolResult: {
1822
+ isError: boolean;
1823
+ content: {
1824
+ type: string;
1825
+ text: string;
1826
+ }[];
1827
+ };
1828
+ }>;
1829
+ list_plugins: (params: import("zod").TypeOf<import("zod").ZodObject<{
1830
+ status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["active", "inactive"]>>>;
1831
+ }, "strict", import("zod").ZodTypeAny, {
1832
+ status: "active" | "inactive";
1833
+ }, {
1834
+ status?: "active" | "inactive" | undefined;
1835
+ }>>) => Promise<{
1836
+ toolResult: {
1837
+ content: {
1838
+ type: string;
1839
+ text: string;
1840
+ }[];
1841
+ isError?: undefined;
1842
+ };
1843
+ } | {
1844
+ toolResult: {
1845
+ isError: boolean;
1846
+ content: {
1847
+ type: string;
1848
+ text: string;
1849
+ }[];
1850
+ };
1851
+ }>;
1852
+ get_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1853
+ plugin: import("zod").ZodString;
1854
+ }, "strict", import("zod").ZodTypeAny, {
1855
+ plugin: string;
1856
+ }, {
1857
+ plugin: string;
1858
+ }>>) => Promise<{
1859
+ toolResult: {
1860
+ content: {
1861
+ type: string;
1862
+ text: string;
1863
+ }[];
1864
+ isError?: undefined;
1865
+ };
1866
+ } | {
1867
+ toolResult: {
1868
+ isError: boolean;
1869
+ content: {
1870
+ type: string;
1871
+ text: string;
1872
+ }[];
1873
+ };
1874
+ }>;
1875
+ activate_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1876
+ plugin: import("zod").ZodString;
1877
+ }, "strict", import("zod").ZodTypeAny, {
1878
+ plugin: string;
1879
+ }, {
1880
+ plugin: string;
1881
+ }>>) => Promise<{
1882
+ toolResult: {
1883
+ content: {
1884
+ type: string;
1885
+ text: string;
1886
+ }[];
1887
+ isError?: undefined;
1888
+ };
1889
+ } | {
1890
+ toolResult: {
1891
+ isError: boolean;
1892
+ content: {
1893
+ type: string;
1894
+ text: string;
1895
+ }[];
1896
+ };
1897
+ }>;
1898
+ deactivate_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1899
+ plugin: import("zod").ZodString;
1900
+ }, "strict", import("zod").ZodTypeAny, {
1901
+ plugin: string;
1902
+ }, {
1903
+ plugin: string;
1904
+ }>>) => Promise<{
1905
+ toolResult: {
1906
+ content: {
1907
+ type: string;
1908
+ text: string;
1909
+ }[];
1910
+ isError?: undefined;
1911
+ };
1912
+ } | {
1913
+ toolResult: {
1914
+ isError: boolean;
1915
+ content: {
1916
+ type: string;
1917
+ text: string;
1918
+ }[];
1919
+ };
1920
+ }>;
1921
+ create_plugin: (params: import("zod").TypeOf<import("zod").ZodObject<{
1922
+ slug: import("zod").ZodString;
1923
+ status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["inactive", "active"]>>>;
1924
+ }, "strict", import("zod").ZodTypeAny, {
1925
+ slug: string;
1926
+ status: "active" | "inactive";
1927
+ }, {
1928
+ slug: string;
1929
+ status?: "active" | "inactive" | undefined;
1930
+ }>>) => Promise<{
1931
+ toolResult: {
1932
+ content: {
1933
+ type: string;
1934
+ text: string;
1935
+ }[];
1936
+ isError?: undefined;
1937
+ };
1938
+ } | {
1939
+ toolResult: {
1940
+ isError: boolean;
1941
+ content: {
1942
+ type: string;
1943
+ text: string;
1944
+ }[];
1945
+ };
1946
+ }>;
1947
+ discover_taxonomies: (params: {
1948
+ content_type?: string | undefined;
1949
+ refresh_cache?: boolean | undefined;
1950
+ }) => Promise<{
1951
+ toolResult: {
1952
+ content: {
1953
+ type: string;
1954
+ text: string;
1955
+ }[];
1956
+ isError: boolean;
1957
+ };
1958
+ }>;
1959
+ list_terms: (params: {
1960
+ taxonomy: string;
1961
+ page?: number | undefined;
1962
+ per_page?: number | undefined;
1963
+ search?: string | undefined;
1964
+ slug?: string | undefined;
1965
+ parent?: number | undefined;
1966
+ orderby?: "slug" | "id" | "name" | "description" | "include" | "term_group" | "count" | undefined;
1967
+ order?: "asc" | "desc" | undefined;
1968
+ hide_empty?: boolean | undefined;
1969
+ }) => Promise<{
1970
+ toolResult: {
1971
+ content: {
1972
+ type: string;
1973
+ text: string;
1974
+ }[];
1975
+ isError: boolean;
1976
+ };
1977
+ }>;
1978
+ get_term: (params: {
1979
+ id: number;
1980
+ taxonomy: string;
1981
+ }) => Promise<{
1982
+ toolResult: {
1983
+ content: {
1984
+ type: string;
1985
+ text: string;
1986
+ }[];
1987
+ isError: boolean;
1988
+ };
1989
+ }>;
1990
+ create_term: (params: {
1991
+ name: string;
1992
+ taxonomy: string;
1993
+ slug?: string | undefined;
1994
+ parent?: number | undefined;
1995
+ meta?: Record<string, any> | undefined;
1996
+ description?: string | undefined;
1997
+ }) => Promise<{
1998
+ toolResult: {
1999
+ content: {
2000
+ type: string;
2001
+ text: string;
2002
+ }[];
2003
+ isError: boolean;
2004
+ };
2005
+ }>;
2006
+ update_term: (params: {
2007
+ id: number;
2008
+ taxonomy: string;
2009
+ slug?: string | undefined;
2010
+ parent?: number | undefined;
2011
+ meta?: Record<string, any> | undefined;
2012
+ name?: string | undefined;
2013
+ description?: string | undefined;
2014
+ }) => Promise<{
2015
+ toolResult: {
2016
+ content: {
2017
+ type: string;
2018
+ text: string;
2019
+ }[];
2020
+ isError: boolean;
2021
+ };
2022
+ }>;
2023
+ delete_term: (params: {
2024
+ id: number;
2025
+ taxonomy: string;
2026
+ force?: boolean | undefined;
2027
+ }) => Promise<{
2028
+ toolResult: {
2029
+ content: {
2030
+ type: string;
2031
+ text: string;
2032
+ }[];
2033
+ isError: boolean;
2034
+ };
2035
+ }>;
2036
+ assign_terms_to_content: (params: {
2037
+ content_type: string;
2038
+ taxonomy: string;
2039
+ content_id: number;
2040
+ terms: (string | number)[];
2041
+ append?: boolean | undefined;
2042
+ }) => Promise<{
2043
+ toolResult: {
2044
+ content: {
2045
+ type: string;
2046
+ text: string;
2047
+ }[];
2048
+ isError: boolean;
2049
+ };
2050
+ }>;
2051
+ get_content_terms: (params: {
2052
+ content_type: string;
2053
+ content_id: number;
2054
+ taxonomy?: string | undefined;
2055
+ }) => Promise<{
2056
+ toolResult: {
2057
+ content: {
2058
+ type: string;
2059
+ text: string;
2060
+ }[];
2061
+ isError: boolean;
2062
+ };
2063
+ }>;
2064
+ list_content: (params: {
2065
+ content_type: string;
2066
+ page?: number | undefined;
2067
+ per_page?: number | undefined;
2068
+ search?: string | undefined;
2069
+ slug?: string | undefined;
2070
+ status?: string | undefined;
2071
+ author?: number | number[] | undefined;
2072
+ categories?: number | number[] | undefined;
2073
+ tags?: number | number[] | undefined;
2074
+ parent?: number | undefined;
2075
+ orderby?: string | undefined;
2076
+ order?: "asc" | "desc" | undefined;
2077
+ after?: string | undefined;
2078
+ before?: string | undefined;
2079
+ }) => Promise<{
2080
+ toolResult: {
2081
+ content: {
2082
+ type: string;
2083
+ text: string;
2084
+ }[];
2085
+ isError: boolean;
2086
+ };
2087
+ }>;
2088
+ get_content: (params: {
2089
+ content_type: string;
2090
+ id: number;
2091
+ }) => Promise<{
2092
+ toolResult: {
2093
+ content: {
2094
+ type: string;
2095
+ text: string;
2096
+ }[];
2097
+ isError: boolean;
2098
+ };
2099
+ }>;
2100
+ create_content: (params: {
2101
+ content_type: string;
2102
+ status: string;
2103
+ title: string;
2104
+ content: string;
2105
+ slug?: string | undefined;
2106
+ author?: number | undefined;
2107
+ categories?: number[] | undefined;
2108
+ tags?: number[] | undefined;
2109
+ parent?: number | undefined;
2110
+ excerpt?: string | undefined;
2111
+ featured_media?: number | undefined;
2112
+ format?: string | undefined;
2113
+ menu_order?: number | undefined;
2114
+ meta?: Record<string, any> | undefined;
2115
+ custom_fields?: Record<string, any> | undefined;
2116
+ }) => Promise<{
2117
+ toolResult: {
2118
+ content: {
2119
+ type: string;
2120
+ text: string;
2121
+ }[];
2122
+ isError: boolean;
2123
+ };
2124
+ }>;
2125
+ update_content: (params: {
2126
+ content_type: string;
2127
+ id: number;
2128
+ slug?: string | undefined;
2129
+ status?: string | undefined;
2130
+ author?: number | undefined;
2131
+ categories?: number[] | undefined;
2132
+ tags?: number[] | undefined;
2133
+ parent?: number | undefined;
2134
+ title?: string | undefined;
2135
+ content?: string | undefined;
2136
+ excerpt?: string | undefined;
2137
+ featured_media?: number | undefined;
2138
+ format?: string | undefined;
2139
+ menu_order?: number | undefined;
2140
+ meta?: Record<string, any> | undefined;
2141
+ custom_fields?: Record<string, any> | undefined;
2142
+ }) => Promise<{
2143
+ toolResult: {
2144
+ content: {
2145
+ type: string;
2146
+ text: string;
2147
+ }[];
2148
+ isError: boolean;
2149
+ };
2150
+ }>;
2151
+ delete_content: (params: {
2152
+ content_type: string;
2153
+ id: number;
2154
+ force?: boolean | undefined;
2155
+ }) => Promise<{
2156
+ toolResult: {
2157
+ content: {
2158
+ type: string;
2159
+ text: string;
2160
+ }[];
2161
+ isError: boolean;
2162
+ };
2163
+ }>;
2164
+ discover_content_types: (params: {
2165
+ refresh_cache?: boolean | undefined;
2166
+ }) => Promise<{
2167
+ toolResult: {
2168
+ content: {
2169
+ type: string;
2170
+ text: string;
2171
+ }[];
2172
+ isError: boolean;
2173
+ };
2174
+ }>;
2175
+ find_content_by_url: (params: {
2176
+ url: string;
2177
+ update_fields?: {
2178
+ status?: string | undefined;
2179
+ title?: string | undefined;
2180
+ content?: string | undefined;
2181
+ meta?: Record<string, any> | undefined;
2182
+ custom_fields?: Record<string, any> | undefined;
2183
+ } | undefined;
2184
+ }) => Promise<{
2185
+ toolResult: {
2186
+ content: {
2187
+ type: string;
2188
+ text: string;
2189
+ }[];
2190
+ isError: boolean;
2191
+ };
2192
+ }>;
2193
+ get_content_by_slug: (params: {
2194
+ slug: string;
2195
+ content_types?: string[] | undefined;
2196
+ }) => Promise<{
2197
+ toolResult: {
2198
+ content: {
2199
+ type: string;
2200
+ text: string;
2201
+ }[];
2202
+ isError: boolean;
2203
+ };
2204
+ }>;
2205
+ };