hostinger-api-mcp 1.57.2 → 1.57.4

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/types.d.ts CHANGED
@@ -2578,8 +2578,10 @@ embed each product's variants with prices and inventory, and include=media to em
2578
2578
 
2579
2579
  /**
2580
2580
  * Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a
2581
- single call. The image is virus-scanned and validated by content, then stored on the CDN. Set
2582
- is_thumbnail to make it the product's primary image.
2581
+ single call. Image downloads require HTTPS on port 443 without embedded credentials. At most one redirect
2582
+ is allowed, and its destination must meet the same requirements. Private or reserved network
2583
+ destinations, unsupported URLs and longer redirect chains are rejected. The image is virus-scanned
2584
+ and validated by content, then stored on the CDN. Set is_thumbnail to make it the product's primary image.
2583
2585
  */
2584
2586
  "ecommerce_uploadAndAttachAProductImageV1": {
2585
2587
  params: {
@@ -2592,9 +2594,12 @@ is_thumbnail to make it the product's primary image.
2592
2594
  */
2593
2595
  product_id: string;
2594
2596
  /**
2595
- * Publicly reachable URL of the raster image (JPEG, PNG, GIF or WebP), maximum 15MB. The image is
2596
- fetched, virus-scanned and validated by content, then stored on the CDN. SVG is not accepted.
2597
- Provide either this or object_name.
2597
+ * Publicly reachable URL of a raster image (JPEG, PNG, GIF or WebP), maximum 15MB. Fetching
2598
+ the image requires HTTPS on port 443 without embedded credentials. At most one redirect
2599
+ is allowed; its destination must meet the same URL requirements. Private or reserved
2600
+ network destinations, unsupported URLs and longer redirect chains are rejected. The image
2601
+ is fetched, virus-scanned and validated by content, then stored on the CDN. SVG is not
2602
+ accepted. Provide either this or object_name.
2598
2603
  */
2599
2604
  image_url?: string;
2600
2605
  /**
@@ -2881,6 +2886,40 @@ store currency. Returns the created variant.
2881
2886
  response: any; // Response structure will depend on the API
2882
2887
  };
2883
2888
 
2889
+ /**
2890
+ * Clone a Hostinger Horizons website into a new website.\n
2891
+ Use this tool when the user wants a copy of an existing website, for example to try out
2892
+ changes without touching the original.\n
2893
+ This tool returns the ID and URL of the newly created copy.
2894
+ The original website is left untouched.\n
2895
+ To edit the copy, use the `Edit website` tool with the returned website ID, or the user can
2896
+ open the provided website URL in Hostinger Horizons interface.
2897
+ */
2898
+ "horizons_cloneWebsiteV1": {
2899
+ params: {
2900
+ /**
2901
+ * The website ID
2902
+ */
2903
+ websiteId: string;
2904
+ };
2905
+ response: any; // Response structure will depend on the API
2906
+ };
2907
+
2908
+ /**
2909
+ * List the Hostinger Horizons websites the user owns.\n
2910
+ Use this tool when the user asks which websites they have, or when you need a website ID
2911
+ before editing, publishing or cloning a website.\n
2912
+ Each website is returned with its ID, status, domain and the URL to open it
2913
+ in Hostinger Horizons interface.\n
2914
+ The complete list of websites is returned in a single response - it is not paginated.
2915
+ */
2916
+ "horizons_getWebsiteListV1": {
2917
+ params: {
2918
+
2919
+ };
2920
+ response: any; // Response structure will depend on the API
2921
+ };
2922
+
2884
2923
  /**
2885
2924
  * Create new Hostinger Horizons website from the given message.\n
2886
2925
  Use this tool when user asks you to create a website, landing page, blog
@@ -2890,8 +2929,8 @@ The generation happens asynchronously.\n
2890
2929
  After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2891
2930
  that Hostinger Horizons is now creating their website and it will be ready in a few minutes
2892
2931
  and you should provide the website URL to the user immediately
2893
- Do not write code.\n\nTo edit afterwards, users must go to Hostinger Horizons interface
2894
- in the provided website URL.
2932
+ Do not write code.\n\nTo edit afterwards, use the `Edit website` tool with the returned
2933
+ website ID, or the user can go to Hostinger Horizons interface in the provided website URL.
2895
2934
  If the tool call fails with an error, you should provide a clear explanation of the error
2896
2935
  and do not generate code yourself in the chat.
2897
2936
  \n
@@ -2929,9 +2968,55 @@ MAPS:\n
2929
2968
  };
2930
2969
 
2931
2970
  /**
2932
- * Get a link for the user to edit their website in Hostinger Horizons interface.\n
2933
- Use this tool when user wants to modify, edit or add new features to an existing website.\n
2934
- Websites can only be edited in Hostinger Horizons interface in the provided website URL.
2971
+ * Edit an existing Hostinger Horizons website with a follow-up message.\n
2972
+ Use this tool when the user wants to change, extend or fix a website that already exists.\n
2973
+ This tool queues the requested changes and returns the website URL and ID.
2974
+ The changes are applied asynchronously.\n
2975
+ After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
2976
+ that Hostinger Horizons is now applying the requested changes and they will be ready
2977
+ in a few minutes, and you should provide the website URL to the user immediately.
2978
+ Do not write code.\n
2979
+ If the tool call fails with an error, you should provide a clear explanation of the error
2980
+ and do not generate code yourself in the chat.
2981
+ */
2982
+ "horizons_editWebsiteV1": {
2983
+ params: {
2984
+ /**
2985
+ * The website ID
2986
+ */
2987
+ websiteId: string;
2988
+ /**
2989
+ * message parameter
2990
+ */
2991
+ message: array;
2992
+ };
2993
+ response: any; // Response structure will depend on the API
2994
+ };
2995
+
2996
+ /**
2997
+ * Publish a Hostinger Horizons website so its latest changes go live.\n
2998
+ Use this tool when the user asks to publish, deploy or make their website live.\n
2999
+ This tool starts the publish process and returns the URL the website will be live on.
3000
+ Publishing happens asynchronously and takes a few minutes.\n
3001
+ After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing
3002
+ that the website is being published and you should provide the published URL to the user immediately.
3003
+ */
3004
+ "horizons_publishWebsiteV1": {
3005
+ params: {
3006
+ /**
3007
+ * The website ID
3008
+ */
3009
+ websiteId: string;
3010
+ };
3011
+ response: any; // Response structure will depend on the API
3012
+ };
3013
+
3014
+ /**
3015
+ * Get the link for the user to open their website in Hostinger Horizons interface.\n
3016
+ Use this tool when the user wants the link to an existing website, or when you need its
3017
+ website URL before or after editing it.\n
3018
+ Websites can be edited with the `Edit website` tool, or by the user in Hostinger Horizons
3019
+ interface in the provided website URL.
2935
3020
  */
2936
3021
  "horizons_getWebsiteV1": {
2937
3022
  params: {