Bulk Edit Assets
sirv_bulk_edit_assetsApply a single change, such as tagging, moving, copying, deleting, restoring, or favoriting, to up to 500 library assets in one call while skipping assets you cannot modify.
Instructions
Make one change to up to 500 library assets in one call. operation picks the change:
favorite, unfavorite: set or clear the favourite flag.
addTags, removeTags: add or remove the tags in
tagIds. These are tag ids, not tag names.moveToFolder: move the assets to
folderId, or to the top level when it is null.copyToFolder: copy the assets to
folderId. The originals stay where they are.delete: move the assets to the trash (soft delete).
restore: bring assets back from the trash.
Use it for several assets. To change one asset's file name, alt text or metadata, use sirv_update_asset.
Assets that you may not change are skipped and listed in denied. Returns how many assets changed, and the new assets of a copy.
Credits: free.
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": {
"assetIds": "<assetIds>",
"operation": "<operation>"
},
"name": "sirv_bulk_edit_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | No | Workspace id from sirv_list_organizations. Default: the workspace you signed in to | |
| tagIds | No | Tag ids, not names. Needed for addTags and removeTags | |
| assetIds | Yes | Ids of the assets to change, 1 to 500 | |
| folderId | No | Destination folder id for moveToFolder and copyToFolder. null means the top level | |
| operation | Yes | The change to make to every asset |