Export a photo at full size
photo_exportThe photo at full size (or smaller) with every adjustment applied, made from the untouched original: format jpeg, png, webp (default jpeg; quality 1-100, default 90); size "original" (default), a long side in pixels, or "large" (4096 px), "web" (2048 px), "social" (1600 px), "small" (1080 px), "thumbnail" (512 px); never larger than the original; bits 16 (PNG only) keeps 16 bits a channel, default 8. Location data is never written; keep: "camera" keeps the camera's make, model and exposure. A full-size export takes up to a minute: the reply waits up to 20 s, then gives an id; photo_export {export: id} says when it is ready. The download link is good for 7 days. look: true also sends back the exported file itself, read back and made small (1024 px), once it is ready, so you can check the final file without fetching it. Counts against your user's photo exports a month.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "photo_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | No | 16: a 16-bit PNG (format png only) | |
| keep | No | ||
| look | No | true: once ready, also send a 1024 px copy of the exported file (with export: an export asked for with look: true) | |
| size | No | "original", a long side in pixels, or a preset | |
| canvas | No | ||
| export | No | the id an earlier photo_export gave: where that export stands (nothing new is made) | |
| format | No | ||
| quality | No |