Add a screenshot to my product
add_listing_screenshotAdds a screenshot at the end of one of the signed-in person's product galleries (at most 50 a product). It keeps its shape, scaled down so its longest side is at most 2000 pixels. Without alt text Shipfolio writes one from the image. Calling twice adds it twice. Returns its public addresses. Give the image exactly one way: uploadId, from create_image_upload once its file was sent (use it for any file on this machine or anything over about 50 KB, rather than base64); imageUrl, a public https address Shipfolio downloads (no private or local addresses); or imageBase64 with mimeType (image/png, image/jpeg, image/webp or image/gif), only for a tiny image. At most 8 MB (5 MB for a logo). It is re-encoded as WebP without its metadata. Counts as an image upload, which has its own daily limit; an uploadId was counted when its file arrived. Needs the write scope. Before calling, show the user exactly what will change and wait for them to confirm.
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": "<listing>"
},
"name": "add_listing_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | What the screenshot shows, for screen readers and search, at most 160 characters | |
| device | No | The frame it is shown in: Desktop (a browser window, the default), Phone or Tablet | Desktop |
| caption | No | A caption under it, at most 200 characters | |
| listing | Yes | The listing's slug or id | |
| imageUrl | No | A public https address of the image | |
| mimeType | No | With imageBase64: image/png, image/jpeg, image/webp or image/gif | |
| uploadId | No | The uploadId from create_image_upload, after its file was sent to uploadUrl. Works once, within 15 minutes | |
| imageBase64 | No | A tiny image's bytes as base64 (a data: URL is accepted). For a file, use uploadId instead |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | ||
| count | Yes | ||
| changed | Yes | ||
| editUrl | Yes | ||
| productUrl | Yes | ||
| screenshot | Yes |