delete_product_image
Remove a specific image from a product without affecting the product itself. Use when an image was uploaded by mistake or a listing is updated.
Instructions
Remove a specific image from a product. Destructive, idempotent.
Use when an image was uploaded by mistake or the merchant updated their
listing. The product itself is preserved — only the image record and
its file are removed. To remove the product entirely use
delete_product.
Args:
api_key: Partle API key (prefix pk_).
product_id: ID of the product the image belongs to.
image_id: ID of the image to delete. Visible in the images array
of get_product responses.
Returns:
{"deleted_image": image_id} on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"product_id": "<product_id>",
"image_id": "<image_id>"
},
"name": "delete_product_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| product_id | Yes | ||
| image_id | Yes |