Choose the cover photo
set_listing_coverMake one of a listing's photos (by its id from get_my_listing) the cover its page leads with. 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": "set_listing_cover"
}
}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 | |||