hostinger-api-mcp 1.50.0 → 1.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +3 -1
- package/src/core/runtime.ts +3 -1
- package/src/core/tools/agency-hosting.js +239 -0
- package/src/core/tools/agency-hosting.ts +239 -0
- package/src/core/tools/all.js +2335 -5
- package/src/core/tools/all.ts +2335 -5
- package/src/core/tools/billing.js +57 -0
- package/src/core/tools/billing.ts +57 -0
- package/src/core/tools/dns.js +50 -0
- package/src/core/tools/dns.ts +50 -0
- package/src/core/tools/domains.js +255 -0
- package/src/core/tools/domains.ts +255 -0
- package/src/core/tools/ecommerce.js +180 -0
- package/src/core/tools/ecommerce.ts +180 -0
- package/src/core/tools/horizons.js +12 -0
- package/src/core/tools/horizons.ts +12 -0
- package/src/core/tools/hosting.js +365 -0
- package/src/core/tools/hosting.ts +365 -0
- package/src/core/tools/mail.js +239 -0
- package/src/core/tools/mail.ts +239 -0
- package/src/core/tools/reach.js +306 -0
- package/src/core/tools/reach.ts +306 -0
- package/src/core/tools/vps.js +400 -5
- package/src/core/tools/vps.ts +400 -5
- package/src/core/tools/wordpress.js +232 -0
- package/src/core/tools/wordpress.ts +232 -0
- package/src/servers/agency-hosting.js +1 -1
- package/src/servers/agency-hosting.ts +1 -1
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/mail.js +1 -1
- package/src/servers/mail.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +5 -5
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "ecommerce_listDiscountsV1",
|
|
19
|
+
"title": "List discounts",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "List discounts",
|
|
22
|
+
"readOnlyHint": true,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
19
25
|
"description": "List a store's discounts. Filter by free text over code and name, or by disabled state.\nAmounts for fixed discounts are integers in the smallest currency unit; percentage\ndiscounts carry a whole-number value between 1 and 100.",
|
|
20
26
|
"method": "GET",
|
|
21
27
|
"path": "/api/ecommerce/v1/stores/{store_id}/discounts",
|
|
@@ -56,6 +62,12 @@ const tools: OpenApiTool[] = [
|
|
|
56
62
|
},
|
|
57
63
|
{
|
|
58
64
|
"name": "ecommerce_createADiscountV1",
|
|
65
|
+
"title": "Create a discount",
|
|
66
|
+
"annotations": {
|
|
67
|
+
"title": "Create a discount",
|
|
68
|
+
"readOnlyHint": false,
|
|
69
|
+
"destructiveHint": false
|
|
70
|
+
},
|
|
59
71
|
"description": "Create a discount for a store. Fixed discounts take an amount in the smallest currency\nunit (e.g. $10 is 1000); percentage discounts take a whole-number value between 1 and 100.\nFree-shipping discounts ignore value. Returns the created discount.",
|
|
60
72
|
"method": "POST",
|
|
61
73
|
"path": "/api/ecommerce/v1/stores/{store_id}/discounts",
|
|
@@ -132,6 +144,12 @@ const tools: OpenApiTool[] = [
|
|
|
132
144
|
},
|
|
133
145
|
{
|
|
134
146
|
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
147
|
+
"title": "Get custom storefront setup instructions",
|
|
148
|
+
"annotations": {
|
|
149
|
+
"title": "Get custom storefront setup instructions",
|
|
150
|
+
"readOnlyHint": true,
|
|
151
|
+
"destructiveHint": false
|
|
152
|
+
},
|
|
135
153
|
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
136
154
|
"method": "GET",
|
|
137
155
|
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
@@ -149,6 +167,12 @@ const tools: OpenApiTool[] = [
|
|
|
149
167
|
},
|
|
150
168
|
{
|
|
151
169
|
"name": "ecommerce_cancelAnOrderV1",
|
|
170
|
+
"title": "Cancel an order",
|
|
171
|
+
"annotations": {
|
|
172
|
+
"title": "Cancel an order",
|
|
173
|
+
"readOnlyHint": false,
|
|
174
|
+
"destructiveHint": false
|
|
175
|
+
},
|
|
152
176
|
"description": "Cancel the order and optionally email the customer. Returns the updated order summary.",
|
|
153
177
|
"method": "POST",
|
|
154
178
|
"path": "/api/ecommerce/v1/stores/{store_id}/orders/{order_id}/cancel",
|
|
@@ -182,6 +206,12 @@ const tools: OpenApiTool[] = [
|
|
|
182
206
|
},
|
|
183
207
|
{
|
|
184
208
|
"name": "ecommerce_fulfilAnOrderV1",
|
|
209
|
+
"title": "Fulfil an order",
|
|
210
|
+
"annotations": {
|
|
211
|
+
"title": "Fulfil an order",
|
|
212
|
+
"readOnlyHint": false,
|
|
213
|
+
"destructiveHint": false
|
|
214
|
+
},
|
|
185
215
|
"description": "Create a fulfilment for the order and attach tracking in one call. Omit items to fulfil\nevery remaining unfulfilled item. Returns the updated order summary.",
|
|
186
216
|
"method": "POST",
|
|
187
217
|
"path": "/api/ecommerce/v1/stores/{store_id}/orders/{order_id}/fulfill",
|
|
@@ -245,6 +275,12 @@ const tools: OpenApiTool[] = [
|
|
|
245
275
|
},
|
|
246
276
|
{
|
|
247
277
|
"name": "ecommerce_listStoreOrdersV1",
|
|
278
|
+
"title": "List store orders",
|
|
279
|
+
"annotations": {
|
|
280
|
+
"title": "List store orders",
|
|
281
|
+
"readOnlyHint": true,
|
|
282
|
+
"destructiveHint": false
|
|
283
|
+
},
|
|
248
284
|
"description": "List a store's orders newest first as summaries. Filter by status, payment or fulfilment\nstatus, customer email, order number or a free-text query. Amounts are in the smallest\ncurrency unit. Retrieve a single order for its line items, addresses and fulfilments.",
|
|
249
285
|
"method": "GET",
|
|
250
286
|
"path": "/api/ecommerce/v1/stores/{store_id}/orders",
|
|
@@ -345,6 +381,12 @@ const tools: OpenApiTool[] = [
|
|
|
345
381
|
},
|
|
346
382
|
{
|
|
347
383
|
"name": "ecommerce_retrieveAnOrderV1",
|
|
384
|
+
"title": "Retrieve an order",
|
|
385
|
+
"annotations": {
|
|
386
|
+
"title": "Retrieve an order",
|
|
387
|
+
"readOnlyHint": true,
|
|
388
|
+
"destructiveHint": false
|
|
389
|
+
},
|
|
348
390
|
"description": "Retrieve one order in full: line items (each with the id the fulfil endpoint needs),\naddresses, the totals breakdown and fulfilments with tracking. Amounts are in the\nsmallest currency unit.",
|
|
349
391
|
"method": "GET",
|
|
350
392
|
"path": "/api/ecommerce/v1/stores/{store_id}/orders/{order_id}",
|
|
@@ -374,6 +416,12 @@ const tools: OpenApiTool[] = [
|
|
|
374
416
|
},
|
|
375
417
|
{
|
|
376
418
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
419
|
+
"title": "Enable manual payment method",
|
|
420
|
+
"annotations": {
|
|
421
|
+
"title": "Enable manual payment method",
|
|
422
|
+
"readOnlyHint": false,
|
|
423
|
+
"destructiveHint": false
|
|
424
|
+
},
|
|
377
425
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
378
426
|
"method": "POST",
|
|
379
427
|
"path": "/api/ecommerce/v1/stores/{store_id}/payment-methods/manual",
|
|
@@ -402,6 +450,12 @@ const tools: OpenApiTool[] = [
|
|
|
402
450
|
},
|
|
403
451
|
{
|
|
404
452
|
"name": "ecommerce_createAPaymentProviderConnectLinkV1",
|
|
453
|
+
"title": "Create a payment provider connect link",
|
|
454
|
+
"annotations": {
|
|
455
|
+
"title": "Create a payment provider connect link",
|
|
456
|
+
"readOnlyHint": false,
|
|
457
|
+
"destructiveHint": false
|
|
458
|
+
},
|
|
405
459
|
"description": "Create an onboarding link for connecting a payment gateway to the store. Returns the gateway\nonboarding URL for the merchant to open and a deep-link into the store admin.",
|
|
406
460
|
"method": "POST",
|
|
407
461
|
"path": "/api/ecommerce/v1/stores/{store_id}/payment-providers/{provider_id}/connect-link",
|
|
@@ -431,6 +485,12 @@ const tools: OpenApiTool[] = [
|
|
|
431
485
|
},
|
|
432
486
|
{
|
|
433
487
|
"name": "ecommerce_listStorePaymentProvidersV1",
|
|
488
|
+
"title": "List store payment providers",
|
|
489
|
+
"annotations": {
|
|
490
|
+
"title": "List store payment providers",
|
|
491
|
+
"readOnlyHint": true,
|
|
492
|
+
"destructiveHint": false
|
|
493
|
+
},
|
|
434
494
|
"description": "List a store's payment providers, split into providers already connected to the store and\ngateways available to install. Never exposes gateway credentials, secrets, or configuration.",
|
|
435
495
|
"method": "GET",
|
|
436
496
|
"path": "/api/ecommerce/v1/stores/{store_id}/payment-providers",
|
|
@@ -459,6 +519,12 @@ const tools: OpenApiTool[] = [
|
|
|
459
519
|
},
|
|
460
520
|
{
|
|
461
521
|
"name": "ecommerce_createAProductImageUploadURLV1",
|
|
522
|
+
"title": "Create a product image upload URL",
|
|
523
|
+
"annotations": {
|
|
524
|
+
"title": "Create a product image upload URL",
|
|
525
|
+
"readOnlyHint": false,
|
|
526
|
+
"destructiveHint": false
|
|
527
|
+
},
|
|
462
528
|
"description": "Returns a signed URL to upload a product image to (multipart/form-data POST). Then call the\nattach-image endpoint with the returned object_name to scan and attach it to the product.",
|
|
463
529
|
"method": "POST",
|
|
464
530
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}/images/upload-url",
|
|
@@ -488,6 +554,13 @@ const tools: OpenApiTool[] = [
|
|
|
488
554
|
},
|
|
489
555
|
{
|
|
490
556
|
"name": "ecommerce_deleteAProductV1",
|
|
557
|
+
"title": "Delete a product",
|
|
558
|
+
"annotations": {
|
|
559
|
+
"title": "Delete a product",
|
|
560
|
+
"readOnlyHint": false,
|
|
561
|
+
"destructiveHint": true,
|
|
562
|
+
"idempotentHint": true
|
|
563
|
+
},
|
|
491
564
|
"description": "Delete a product and its variants from the store. A subscription product with active\nsubscribers is archived instead of deleted so its data stays available.",
|
|
492
565
|
"method": "DELETE",
|
|
493
566
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}",
|
|
@@ -517,6 +590,13 @@ const tools: OpenApiTool[] = [
|
|
|
517
590
|
},
|
|
518
591
|
{
|
|
519
592
|
"name": "ecommerce_updateAProductV1",
|
|
593
|
+
"title": "Update a product",
|
|
594
|
+
"annotations": {
|
|
595
|
+
"title": "Update a product",
|
|
596
|
+
"readOnlyHint": false,
|
|
597
|
+
"destructiveHint": true,
|
|
598
|
+
"idempotentHint": true
|
|
599
|
+
},
|
|
520
600
|
"description": "Update a product's name, description or status. Set status to published to make it buyable,\ndraft to hide it, or archived to retire it. Variants, prices and inventory are managed\nthrough the variant endpoints, not here. Returns the updated product summary.",
|
|
521
601
|
"method": "PATCH",
|
|
522
602
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}",
|
|
@@ -563,6 +643,12 @@ const tools: OpenApiTool[] = [
|
|
|
563
643
|
},
|
|
564
644
|
{
|
|
565
645
|
"name": "ecommerce_createDigitalProductV1",
|
|
646
|
+
"title": "Create digital product",
|
|
647
|
+
"annotations": {
|
|
648
|
+
"title": "Create digital product",
|
|
649
|
+
"readOnlyHint": false,
|
|
650
|
+
"destructiveHint": false
|
|
651
|
+
},
|
|
566
652
|
"description": "Create a published digital product with a single variant and an optional external download link.",
|
|
567
653
|
"method": "POST",
|
|
568
654
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/digital",
|
|
@@ -609,6 +695,12 @@ const tools: OpenApiTool[] = [
|
|
|
609
695
|
},
|
|
610
696
|
{
|
|
611
697
|
"name": "ecommerce_listProductsV1",
|
|
698
|
+
"title": "List products",
|
|
699
|
+
"annotations": {
|
|
700
|
+
"title": "List products",
|
|
701
|
+
"readOnlyHint": true,
|
|
702
|
+
"destructiveHint": false
|
|
703
|
+
},
|
|
612
704
|
"description": "List a store's products newest first as lean summaries (name, status, thumbnail, variant\ncount and price range). Prices are integers in the smallest currency unit and live on\nvariants. Filter by status, free text or a set of product ids. Use include=variants to\nembed each product's variants with prices and inventory, and include=media to embed its media.",
|
|
613
705
|
"method": "GET",
|
|
614
706
|
"path": "/api/ecommerce/v1/stores/{store_id}/products",
|
|
@@ -676,6 +768,12 @@ const tools: OpenApiTool[] = [
|
|
|
676
768
|
},
|
|
677
769
|
{
|
|
678
770
|
"name": "ecommerce_createPhysicalProductV1",
|
|
771
|
+
"title": "Create physical product",
|
|
772
|
+
"annotations": {
|
|
773
|
+
"title": "Create physical product",
|
|
774
|
+
"readOnlyHint": false,
|
|
775
|
+
"destructiveHint": false
|
|
776
|
+
},
|
|
679
777
|
"description": "Create a published physical product with a single variant priced in the store currency.",
|
|
680
778
|
"method": "POST",
|
|
681
779
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/physical",
|
|
@@ -718,6 +816,12 @@ const tools: OpenApiTool[] = [
|
|
|
718
816
|
},
|
|
719
817
|
{
|
|
720
818
|
"name": "ecommerce_uploadAndAttachAProductImageV1",
|
|
819
|
+
"title": "Upload and attach a product image",
|
|
820
|
+
"annotations": {
|
|
821
|
+
"title": "Upload and attach a product image",
|
|
822
|
+
"readOnlyHint": false,
|
|
823
|
+
"destructiveHint": false
|
|
824
|
+
},
|
|
721
825
|
"description": "Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a\nsingle call. The image is virus-scanned and validated by content, then stored on the CDN. Set\nis_thumbnail to make it the product's primary image.",
|
|
722
826
|
"method": "POST",
|
|
723
827
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}/images",
|
|
@@ -759,6 +863,12 @@ const tools: OpenApiTool[] = [
|
|
|
759
863
|
},
|
|
760
864
|
{
|
|
761
865
|
"name": "ecommerce_listSalesChannelsV1",
|
|
866
|
+
"title": "List sales channels",
|
|
867
|
+
"annotations": {
|
|
868
|
+
"title": "List sales channels",
|
|
869
|
+
"readOnlyHint": true,
|
|
870
|
+
"destructiveHint": false
|
|
871
|
+
},
|
|
762
872
|
"description": "List a store's active sales channels with their full metadata.",
|
|
763
873
|
"method": "GET",
|
|
764
874
|
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
@@ -783,6 +893,12 @@ const tools: OpenApiTool[] = [
|
|
|
783
893
|
},
|
|
784
894
|
{
|
|
785
895
|
"name": "ecommerce_createASalesChannelV1",
|
|
896
|
+
"title": "Create a sales channel",
|
|
897
|
+
"annotations": {
|
|
898
|
+
"title": "Create a sales channel",
|
|
899
|
+
"readOnlyHint": false,
|
|
900
|
+
"destructiveHint": false
|
|
901
|
+
},
|
|
786
902
|
"description": "Create a sales channel for a store. A \"custom\" channel is headless: build your own frontend and keep\nyour catalog, orders, shipping and payments in sync through the Ecommerce API. A \"quick-link\" channel\nis a hosted one-page store whose handle is auto-generated.",
|
|
787
903
|
"method": "POST",
|
|
788
904
|
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
@@ -824,6 +940,13 @@ const tools: OpenApiTool[] = [
|
|
|
824
940
|
},
|
|
825
941
|
{
|
|
826
942
|
"name": "ecommerce_updateSalesChannelV1",
|
|
943
|
+
"title": "Update sales channel",
|
|
944
|
+
"annotations": {
|
|
945
|
+
"title": "Update sales channel",
|
|
946
|
+
"readOnlyHint": false,
|
|
947
|
+
"destructiveHint": true,
|
|
948
|
+
"idempotentHint": true
|
|
949
|
+
},
|
|
827
950
|
"description": "Update a custom sales channel. The merchant-facing `name` and the public `url`\n(returned as the channel `domain`) can be changed. Pass `null` to clear a value.",
|
|
828
951
|
"method": "PATCH",
|
|
829
952
|
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels/{sales_channel_id}",
|
|
@@ -861,6 +984,12 @@ const tools: OpenApiTool[] = [
|
|
|
861
984
|
},
|
|
862
985
|
{
|
|
863
986
|
"name": "ecommerce_setStoreShippingV1",
|
|
987
|
+
"title": "Set store shipping",
|
|
988
|
+
"annotations": {
|
|
989
|
+
"title": "Set store shipping",
|
|
990
|
+
"readOnlyHint": false,
|
|
991
|
+
"destructiveHint": false
|
|
992
|
+
},
|
|
864
993
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
|
865
994
|
"method": "POST",
|
|
866
995
|
"path": "/api/ecommerce/v1/stores/{store_id}/shipping",
|
|
@@ -890,6 +1019,13 @@ const tools: OpenApiTool[] = [
|
|
|
890
1019
|
},
|
|
891
1020
|
{
|
|
892
1021
|
"name": "ecommerce_deleteStoreV1",
|
|
1022
|
+
"title": "Delete store",
|
|
1023
|
+
"annotations": {
|
|
1024
|
+
"title": "Delete store",
|
|
1025
|
+
"readOnlyHint": false,
|
|
1026
|
+
"destructiveHint": true,
|
|
1027
|
+
"idempotentHint": true
|
|
1028
|
+
},
|
|
893
1029
|
"description": "Soft-delete a store owned by your account.\n\nThe underlying store data is preserved; only the store is marked as deleted.",
|
|
894
1030
|
"method": "DELETE",
|
|
895
1031
|
"path": "/api/ecommerce/v1/stores/{store_id}",
|
|
@@ -914,6 +1050,12 @@ const tools: OpenApiTool[] = [
|
|
|
914
1050
|
},
|
|
915
1051
|
{
|
|
916
1052
|
"name": "ecommerce_getStoresV1",
|
|
1053
|
+
"title": "Get stores",
|
|
1054
|
+
"annotations": {
|
|
1055
|
+
"title": "Get stores",
|
|
1056
|
+
"readOnlyHint": true,
|
|
1057
|
+
"destructiveHint": false
|
|
1058
|
+
},
|
|
917
1059
|
"description": "Retrieve the stores associated with your account.",
|
|
918
1060
|
"method": "GET",
|
|
919
1061
|
"path": "/api/ecommerce/v1/stores",
|
|
@@ -936,6 +1078,12 @@ const tools: OpenApiTool[] = [
|
|
|
936
1078
|
},
|
|
937
1079
|
{
|
|
938
1080
|
"name": "ecommerce_createStoreV1",
|
|
1081
|
+
"title": "Create store",
|
|
1082
|
+
"annotations": {
|
|
1083
|
+
"title": "Create store",
|
|
1084
|
+
"readOnlyHint": false,
|
|
1085
|
+
"destructiveHint": false
|
|
1086
|
+
},
|
|
939
1087
|
"description": "Create a new store for your account.\n\nA primary sales channel is created alongside the store.",
|
|
940
1088
|
"method": "POST",
|
|
941
1089
|
"path": "/api/ecommerce/v1/stores",
|
|
@@ -991,6 +1139,12 @@ const tools: OpenApiTool[] = [
|
|
|
991
1139
|
},
|
|
992
1140
|
{
|
|
993
1141
|
"name": "ecommerce_getStoreMetadataV1",
|
|
1142
|
+
"title": "Get store metadata",
|
|
1143
|
+
"annotations": {
|
|
1144
|
+
"title": "Get store metadata",
|
|
1145
|
+
"readOnlyHint": true,
|
|
1146
|
+
"destructiveHint": false
|
|
1147
|
+
},
|
|
994
1148
|
"description": "Get a store's readiness metadata: whether payment methods and shipping are configured,\nplus its default currency. Useful to verify prerequisites before building a storefront.",
|
|
995
1149
|
"method": "GET",
|
|
996
1150
|
"path": "/api/ecommerce/v1/stores/{store_id}/metadata",
|
|
@@ -1015,6 +1169,13 @@ const tools: OpenApiTool[] = [
|
|
|
1015
1169
|
},
|
|
1016
1170
|
{
|
|
1017
1171
|
"name": "ecommerce_updateProductVariantsInBatchV1",
|
|
1172
|
+
"title": "Update product variants in batch",
|
|
1173
|
+
"annotations": {
|
|
1174
|
+
"title": "Update product variants in batch",
|
|
1175
|
+
"readOnlyHint": false,
|
|
1176
|
+
"destructiveHint": true,
|
|
1177
|
+
"idempotentHint": true
|
|
1178
|
+
},
|
|
1018
1179
|
"description": "Update up to 100 existing variants in place by id — title, inventory, stock tracking and\nprices. Variants omitted from the request are left untouched. Prices replace the variant's\nexisting prices in full. Returns the updated variants.",
|
|
1019
1180
|
"method": "PATCH",
|
|
1020
1181
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants/batch",
|
|
@@ -1099,6 +1260,13 @@ const tools: OpenApiTool[] = [
|
|
|
1099
1260
|
},
|
|
1100
1261
|
{
|
|
1101
1262
|
"name": "ecommerce_deleteAProductVariantV1",
|
|
1263
|
+
"title": "Delete a product variant",
|
|
1264
|
+
"annotations": {
|
|
1265
|
+
"title": "Delete a product variant",
|
|
1266
|
+
"readOnlyHint": false,
|
|
1267
|
+
"destructiveHint": true,
|
|
1268
|
+
"idempotentHint": true
|
|
1269
|
+
},
|
|
1102
1270
|
"description": "Delete a single variant from the product.",
|
|
1103
1271
|
"method": "DELETE",
|
|
1104
1272
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants/{variant_id}",
|
|
@@ -1133,6 +1301,12 @@ const tools: OpenApiTool[] = [
|
|
|
1133
1301
|
},
|
|
1134
1302
|
{
|
|
1135
1303
|
"name": "ecommerce_listProductVariantsV1",
|
|
1304
|
+
"title": "List product variants",
|
|
1305
|
+
"annotations": {
|
|
1306
|
+
"title": "List product variants",
|
|
1307
|
+
"readOnlyHint": true,
|
|
1308
|
+
"destructiveHint": false
|
|
1309
|
+
},
|
|
1136
1310
|
"description": "List a product's variants, ordered by rank, with their options, prices and inventory.\nPrices are integers in the smallest currency unit and live on variants.",
|
|
1137
1311
|
"method": "GET",
|
|
1138
1312
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants",
|
|
@@ -1166,6 +1340,12 @@ const tools: OpenApiTool[] = [
|
|
|
1166
1340
|
},
|
|
1167
1341
|
{
|
|
1168
1342
|
"name": "ecommerce_createAProductVariantV1",
|
|
1343
|
+
"title": "Create a product variant",
|
|
1344
|
+
"annotations": {
|
|
1345
|
+
"title": "Create a product variant",
|
|
1346
|
+
"readOnlyHint": false,
|
|
1347
|
+
"destructiveHint": false
|
|
1348
|
+
},
|
|
1169
1349
|
"description": "Add a variant to a product along one or more option dimensions (e.g. Size, Color). Options\nmissing from the product are created automatically; provide a value for every option the\nproduct already has. Prices are integers in the smallest currency unit and default to the\nstore currency. Returns the created variant.",
|
|
1170
1350
|
"method": "POST",
|
|
1171
1351
|
"path": "/api/ecommerce/v1/stores/{store_id}/products/{product_id}/variants",
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
export default [
|
|
3
3
|
{
|
|
4
4
|
"name": "horizons_createWebsiteV1",
|
|
5
|
+
"title": "Create website",
|
|
6
|
+
"annotations": {
|
|
7
|
+
"title": "Create website",
|
|
8
|
+
"readOnlyHint": false,
|
|
9
|
+
"destructiveHint": false
|
|
10
|
+
},
|
|
5
11
|
"description": "Create new Hostinger Horizons website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL and ID.\nThe generation happens asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger Horizons is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface\nin the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Horizons integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
|
|
6
12
|
"method": "POST",
|
|
7
13
|
"path": "/api/horizons/v1/websites",
|
|
@@ -47,6 +53,12 @@ export default [
|
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
55
|
"name": "horizons_getWebsiteV1",
|
|
56
|
+
"title": "Get website",
|
|
57
|
+
"annotations": {
|
|
58
|
+
"title": "Get website",
|
|
59
|
+
"readOnlyHint": true,
|
|
60
|
+
"destructiveHint": false
|
|
61
|
+
},
|
|
50
62
|
"description": "Get a link for the user to edit their website in Hostinger Horizons interface.\\n\nUse this tool when user wants to modify, edit or add new features to an existing website.\\n\nWebsites can only be edited in Hostinger Horizons interface in the provided website URL.",
|
|
51
63
|
"method": "GET",
|
|
52
64
|
"path": "/api/horizons/v1/websites/{websiteId}",
|
|
@@ -16,6 +16,12 @@ export interface OpenApiTool extends Tool {
|
|
|
16
16
|
const tools: OpenApiTool[] = [
|
|
17
17
|
{
|
|
18
18
|
"name": "horizons_createWebsiteV1",
|
|
19
|
+
"title": "Create website",
|
|
20
|
+
"annotations": {
|
|
21
|
+
"title": "Create website",
|
|
22
|
+
"readOnlyHint": false,
|
|
23
|
+
"destructiveHint": false
|
|
24
|
+
},
|
|
19
25
|
"description": "Create new Hostinger Horizons website from the given message.\\n\nUse this tool when user asks you to create a website, landing page, blog\nor any other type of application.\\n\nThis tool initiates the website creation process and returns a website URL and ID.\nThe generation happens asynchronously.\\n\nAfter invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing\nthat Hostinger Horizons is now creating their website and it will be ready in a few minutes\nand you should provide the website URL to the user immediately\nDo not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface\nin the provided website URL.\nIf the tool call fails with an error, you should provide a clear explanation of the error\nand do not generate code yourself in the chat.\n\\n\nTECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n\nThe environment is limited to the following technologies.\nYou MUST NOT use, suggest, or implement any technology outside this list:\\n\n\\n\n- Language: JavaScript ONLY.\n- Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n\n- Framework: React.\\n\n- Navigation: React Router.\\n\n- Styling: TailwindCSS.\\n\n- Components: shadcn/ui (built with @radix-ui primitives).\\n\n- Icons: Lucide React.\\n\n- Animations: Framer Motion.\\n\n\\n\nBACKEND & DATA STORAGE:\\n\n- Horizons integrated backend is the EXCLUSIVE solution for persistent data storage,\nauthentication, and database needs.\\n\n- Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n\n- Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n\n\\n\nMAPS:\\n\n- OpenStreetMap is the default provider.\\n\n- Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n",
|
|
20
26
|
"method": "POST",
|
|
21
27
|
"path": "/api/horizons/v1/websites",
|
|
@@ -61,6 +67,12 @@ const tools: OpenApiTool[] = [
|
|
|
61
67
|
},
|
|
62
68
|
{
|
|
63
69
|
"name": "horizons_getWebsiteV1",
|
|
70
|
+
"title": "Get website",
|
|
71
|
+
"annotations": {
|
|
72
|
+
"title": "Get website",
|
|
73
|
+
"readOnlyHint": true,
|
|
74
|
+
"destructiveHint": false
|
|
75
|
+
},
|
|
64
76
|
"description": "Get a link for the user to edit their website in Hostinger Horizons interface.\\n\nUse this tool when user wants to modify, edit or add new features to an existing website.\\n\nWebsites can only be edited in Hostinger Horizons interface in the provided website URL.",
|
|
65
77
|
"method": "GET",
|
|
66
78
|
"path": "/api/horizons/v1/websites/{websiteId}",
|