Update a media item
update_mediaUpdate a media asset's metadata: rename it, retag it, move it to another folder, set alt text, set how it fills the screen, or give it an expiry (+ optional auto-archive into the recycle bin). Only the fields you pass change; the file itself is never touched. For a web link's crop, scroll or refresh use configure_web_link. Requires media.edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | How this file fills any screen or zone it plays in: contain (whole picture, black bars), blur-fill (whole picture, blurred edges), cover (fills, crops the edges), fill (fills, distorts). Applies everywhere the file plays; a playlist slot can override it. | |
| name | No | New display name. | |
| tags | No | Replaces the whole tag list. | |
| altText | No | Short text description of the image or video for accessibility; null clears it. | |
| mediaId | Yes | Media asset id (med_…), from search_media. | |
| folderId | No | Destination folder in THIS workspace; null moves to the library root. | |
| expiresAt | No | ISO datetime after which the asset stops airing; null clears. | |
| autoArchiveOnExpiry | No | Soft-delete the asset into the recycle bin when it expires. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||