media__arrange
Place, reorder, or remove page media and set video posters, plus rename or archive library files. Not for single-image or standalone file targets.
Instructions
Place, reorder or remove page media; set video posters, rename or archive library files. Single-image and file targets have no ordering and cannot use this tool.
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": {
"app": "<app>",
"target": "<target>",
"action": "<action>"
},
"name": "media__arrange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App name, bundle ID or Apple ID. | |
| action | Yes | ||
| locale | No | Version locale, e.g. en-US. Omit on list to inspect all locales. | |
| target | Yes | Library, page, or a named image/file target. | |
| page_id | No | Page localization ID (retention: the message version ID), or the owning resource ID for an image/file target. | |
| version | No | Version string. Required if multiple versions match. | |
| archived | No | Archive action; defaults to true. False restores the file. | |
| platform | No | Required if multiple platforms match. | |
| asset_ids | No | Library file IDs for place, poster, archive or rename. Page targets verify the files are placed there, except place. | |
| placement_ids | No | Placement IDs for remove or reorder; reorder supplies the complete group in desired order. | |
| placement_type | No | Required to place; use media__list limits for allowed groups and sizes. | |
| reference_name | No | Rename one file. | |
| placement_group | No | Device/group ID from reference data. Required for reorder. | |
| preview_frame_time_code | No |