ecommerce_uploadAndAttachAProductImageV1
Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product's primary image.
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/ecommerce-uploadandattachaproductimagev1.md
What ecommerce_uploadAndAttachAProductImageV1 does on Hostinger Api
AI agents use ecommerce_uploadAndAttachAProductImageV1 to create or update resources in Hostinger Api, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hostinger Api environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
store_id | string | Yes | The ID of the store the product belongs to. |
image_url | string | — | Publicly reachable URL of the raster image (JPEG, PNG, GIF or WebP), maximum 15MB. The image is fetched, virus-scanned and validated by content, then stored on |
product_id | string | Yes | The ID of the product to attach the image to. |
object_name | string | — | Key returned by the upload-url endpoint. Provide this instead of image_url to attach an uploaded image. |
is_thumbnail | boolean | — | When true, the image becomes the product's thumbnail (primary image). When omitted, it becomes the thumbnail only if the product does not have one yet. |
Parameters from the server's own tool schema.
Why ecommerce_uploadAndAttachAProductImageV1 is rated Medium
Uploads and attaches product image to e-commerce system; creates data reversibly.
From the tool's definition Fetch image from URL and attach to product, store on CDN.
Attacks that exploit this kind of access
The rule that runs ecommerce_uploadAndAttachAProductImageV1 safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hostinger Api, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For ecommerce_uploadAndAttachAProductImageV1, this is the rule to start with:
ecommerce_uploadAndAttachAProductImageV1 stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Hostinger Api, apply this rule, and every ecommerce_uploadAndAttachAProductImageV1 call is checked against it from then on.
Questions about ecommerce_uploadAndAttachAProductImageV1
Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a single call. The image is virus-scanned and validated by content, then stored on the CDN. Set is_thumbnail to make it the product's primary image. It is categorised as a Write tool in the Hostinger Api MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
ecommerce_uploadAndAttachAProductImageV1 accepts 5 parameters: store_id, image_url, product_id, object_name, is_thumbnail. Required: store_id, product_id. The full parameter table on this page comes from the server's own tool schema.
Register the Hostinger Api MCP server in PolicyLayer and add a rule for ecommerce_uploadAndAttachAProductImageV1: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Hostinger Api. Nothing to install.
ecommerce_uploadAndAttachAProductImageV1 is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the ecommerce_uploadAndAttachAProductImageV1 rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ecommerce_uploadAndAttachAProductImageV1. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ecommerce_uploadAndAttachAProductImageV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hostinger Api, and thousands of servers like it.
This server
Across the catalogue