update_listing_images
Add and/or remove photos on one of the USER'S OWN existing listings (max 6 total). Use it when the user wants to add, replace or remove photos on a listing that already exists — to replace a photo, remove the old key and add the new one in the same call. Do not use it while publishing a new listing (pass images to create_listing instead) or to change text fields (update_listing). First call request_image_upload for each new image and upload the bytes, then pass the returned keys in add; a key with no uploaded file fails with image_not_uploaded. Adding any image re-triggers AI moderation — the listing returns to 'pending' until the new images are cleared. Removing images leaves a live listing live; on a pending or rejected listing it requests a new moderation verdict. Free (no credit). Returns { success, listing } with the updated listing and its status.
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": "update_listing_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Image keys from request_image_upload to attach (upload the bytes first). Each newly-added image is AI-moderated with the listing, so the listing returns to "pending" until cleared. Max 6 images total on a listing. Example: ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]. | |
| remove | No | Image keys currently on the listing to detach. Removing alone does not trigger moderation. Example: ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]. | |
| listing_id | Yes | Listing id, taken from the `id` field of search_listings, search_listings_by_meaning or list_my_listings results. Example: "adzuna-us-5947308680". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listing | Yes | ||
| success | Yes |