Add photos to a listing
add_listing_photosAdds photos to one of your seller products, from public https links to PNG or JPG images (up to 10 MB each) or from images the user attached, where the app passes attached files to tools. New photos go after the ones already on the listing; none is removed or reordered. A listing holds 6 photos. Only seller products from list_my_listings. Needs a connected Printlooper account.
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": {
"listing_id": "<listing_id>"
},
"name": "add_listing_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listing_id | Yes | A seller product id from list_my_listings (prd_...) | |
| photo_urls | No | Public https links, each downloading one PNG or JPG image (a direct link to the file, not a web page) | |
| photo_files | No | Images the user attached, as the file objects an app passes to tools. Leave out when you have no download_url for an image |