Frame a shot
frame_shotChooses which part of a shot's photo each version shows: Wide (16:9), Square (1:1) or Phone (9:16). Uses no credit; undoable. A version's framing is its own: framing Phone leaves Wide and Square alone. There are four ways to frame, one per call: (a) focusX, focusY (0 to 1, where in the photo the frame centers; 0.5 is the middle) and zoom (1 to 3); (b) a nudge: zoomBy (zoom in is +0.25 for a bit), moveX / moveY (-0.1 moves the frame a little left or up, +0.1 right or down; the frame moves, so the picture appears to slide the other way); (c) frames: one {photoId, focusX, focusY, zoom} per shot, for when each shot needs its own frame (find_framing returns ready frames); or (d) reset true to go back to the default framing. aspect 'all' frames every version at once; a reset with 'all' clears the framing completely.
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>",
"aspect": "<aspect>"
},
"name": "frame_shot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | How far in the frame is, 1 (whole photo) to 3. | |
| moveX | No | A nudge sideways, -1 to 1; -0.1 moves the frame a little left. | |
| moveY | No | A nudge up or down, -1 to 1; -0.1 moves the frame a little up. | |
| reset | No | true goes back to the default framing. | |
| aspect | Yes | Which version: wide, square, phone, or all. | |
| focusX | No | Where the frame centers across the photo, 0 (left) to 1 (right); 0.5 is the middle. | |
| focusY | No | Where the frame centers down the photo, 0 (top) to 1 (bottom); 0.5 is the middle. | |
| frames | No | One frame per shot, for shots that each need their own (find_framing returns them). | |
| zoomBy | No | A nudge to the current zoom, -2 to 2; +0.25 is a bit closer. | |
| allShots | No | Frame every shot in the video. | |
| photoIds | No | The shots to frame. Not needed with allShots or frames. | |
| listingId | Yes | Listing id from list_listings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No |