Update listing
update_listingEdit the seller's draft or active listing, or publish it once it has a photo. Requires scope listings:write. The same prohibited-item rules as create apply. Quantity other than 1 and expiry fields are rejected.
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": {
"listingId": "<listingId>"
},
"name": "update_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gps | No | A map pin near the ZIP, or null to use the ZIP center. | |
| zip | No | ||
| title | No | ||
| publish | No | Set true to make a drafted listing public. Requires at least one photo. | |
| listingId | Yes | ||
| floorPrice | No | ||
| askingPrice | No | ||
| description | No | ||
| removePhotoIds | No |