photo_export
Export album or selected photos as JPG, PNG, or TIF images with optional max dimension and JPEG quality, plus overwrite protection to prevent accidental replacement.
Instructions
Export photos (all in the album, or selected) as finished images with PhotoAlbumItem.ExportFrame (jpg/png/tif), optional max dimension and JPEG quality. Never overwrites without overwrite: true.
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": {
"outputDir": "<outputDir>"
},
"name": "photo_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| album | No | ||
| format | No | jpg | |
| photos | No | ||
| prefix | No | ||
| quality | No | ||
| outputDir | Yes | Absolute local file path | |
| overwrite | No | ||
| maxDimension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True only when DaVinci Resolve confirmed the operation. | |
| data | No | ||
| tool | Yes | ||
| error | No | ||
| source | No | Where the result came from: the real DaVinci Resolve, the mock adapter (tests), or the server alone. | |
| status | Yes | ||
| message | Yes | ||
| warnings | Yes |