Update product slide
shop_update_product_slideUpdate a slide (position, focal_point and/or replacement image via image_file). Guidance: Update a slide (multipart: position/focal_point and/or replacement image via image_file). | context: product_id, slide_id
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": {
"product_id": "<product_id>",
"slide_id": "<slide_id>"
},
"name": "shop_update_product_slide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | Zero-based order index controlling where the slide appears (lower comes first). | |
| slide_id | Yes | Numeric id of the slide to update. | |
| image_file | No | Image payload. Accepts: (1) a data URI 'data:image/png;base64,...', (2) a raw base64-encoded string of the image bytes, or (3) a public http(s) URL. Do NOT pass a local filesystem path — the server cannot read the user's disk. | |
| product_id | Yes | Numeric id of the product the slide belongs to. | |
| focal_point | No | Image crop focal point, format '40x50'. |