apple_upload_asset
Uploads an image or video to the App Asset Library and verifies processing against a specification ID from apple_get_asset_specs, enabling reuse across localizations.
Instructions
Upload an image or video once to the App Asset Library, commit uploaded=true, and verify processing against a specId from apple_get_asset_specs. Create placements separately to reuse it across localizations.
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": {
"assetLibraryId": "<assetLibraryId>",
"mediaType": "<mediaType>",
"filePath": "<filePath>",
"expectedSpecId": "<expectedSpecId>"
},
"name": "apple_upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | APP_SCREENSHOTS_AND_PREVIEWS | |
| filePath | Yes | ||
| mediaType | Yes | ||
| referenceName | No | ||
| assetLibraryId | Yes | ||
| expectedSpecId | Yes | Specification ID from apple_get_asset_specs; checked after processing | |
| timeoutSeconds | No | ||
| waitForProcessing | No | ||
| pollIntervalSeconds | No | ||
| previewFrameTimeCode | No |