Remove a photo
remove_listing_photoRemove one photo from a listing's gallery, by its id from get_my_listing. It's gone at once. Needs listings:write.
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": {
"productId": "<productId>",
"photoId": "<photoId>"
},
"name": "remove_listing_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photoId | Yes | The photo's id, from get_my_listing. | |
| productId | Yes | The listing's id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||