upload_listing_image
Uploads a JPG, PNG, GIF, or WebP image to an Etsy listing and previews the request before sending it for confirmation.
Instructions
Upload a jpg/png/gif/webp image to a listing. The file must be inside the upload folder (/root/Etsy/upload); relative paths are taken from there. confirm=false checks the file and previews.
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>",
"path": "<path>"
},
"name": "upload_listing_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Image file inside the upload folder. | |
| rank | No | Position, 1 = main image. | |
| confirm | No | false (default) only returns a preview of the request. true sends it. | |
| alt_text | No | ||
| listing_id | Yes | Listing id. |