Export a collection or group
export_mediaExport a collection or group using the app's shared export path. Local-folder and Apple Photos copies go to a unique directory on the owning device; Photos exports its current JPEG/MP4 rendering. OneDrive exports go to OneDrive/OwAI without requiring a desktop and remain pending until provider copying finishes. No originals or previous exports are overwritten. The completed result includes exported/failed counts and itemized outcomes. Local paths are not assistant attachments. Use an idempotency_key when retrying.
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": {
"selection_type": "<selection_type>",
"selection_id": "<selection_id>"
},
"name": "export_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection_id | Yes | ||
| watermark_id | No | ||
| selection_type | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |