Set my product's logo
set_listing_logoSets the logo of one of the signed-in person's own products, replacing the current one. The image is cropped to a square around its center at 256 by 256, as the editor does, so send a square logo. Returns its public address. 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": "set_listing_logo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| changed | Yes | ||
| editUrl | Yes | ||
| logoUrl | Yes | ||
| product | Yes | ||
| replaced | Yes | ||
| productUrl | Yes |