Create photo upload link
create_photo_upload_linkMake a private link where the seller picks photos from their own phone or computer and uploads them straight to the listing. Use it when you cannot pass the photo file to add_listing_photo. Requires scope listings:write. The link works for 30 minutes, only for this listing. Give the person the link and wait for them to say they are done; then call list_my_listings to see the photos and offer to publish. Do not open the link yourself or share it with anyone else.
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": "create_photo_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listingId | Yes | The seller's draft or active listing. |