Add a product photo
add_product_photoSaves a photo of the product (a flat lay, hanger or mannequin shot, a packshot or the item worn) to the user's Fittins library and returns its id for make_photo or make_video. Pass a photo the user shared in the chat as photo, or an https link as url; with neither, the card shows an upload button for the user. JPG, PNG, WebP or HEIC up to 10 MB. Costs nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_product_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | An https link to the photo, if it wasn't shared in the chat. | |
| photo | No | A photo the user shared in the chat. |