Replace a photo
replace_photoSwap a shot for an attached photo (attachment storageId), in the same place with the same length and movement. The old photo stays in the library.
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>",
"photoId": "<photoId>",
"storageId": "<storageId>"
},
"name": "replace_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photoId | Yes | A photo: its photoId from the edit summary, or its play position like "shot 3". | |
| listingId | Yes | Listing id from list_listings. | |
| storageId | Yes | The new photo (its storageId from upload_media or the chat). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No |