Upload a product photo
upload_product_photoPut a product photo into the user's workspace so a campaign can edit stills from the real thing. Base64 of the image bytes.
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": {
"filename": "<filename>",
"data_base64": "<data_base64>"
},
"name": "upload_product_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Name to save it under, with the extension — 'bottle.jpg'. Reusing a name that is already there replaces that photo. | |
| data_base64 | Yes | The image file's bytes, base64-encoded. The raw image, not a data: URL and not a path on your own machine. |