Archive assets
archive_assetsArchive one or more assets (up to 1000 per call): each moves into the Archive of the library it belongs to. An asset is taken out of its group unless the group is archived in the same call, and a group left with fewer than two assets is dissolved, as with ungroup_assets. search_assets leaves archived assets out unless include_archived is set. Use unarchive_assets to bring them back. Requires the write scope and update permission on every asset; archives nothing if any asset is in a trashed library.
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": {
"asset_tokens": "<asset_tokens>"
},
"name": "archive_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_tokens | Yes | Asset tokens to archive | |
| organization | No | Workspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one. |