Skip to main content
Glama

Delete media

media.delete
DestructiveIdempotent

Delete a media for good, so an old or wrong version stops turning up: its file here, proxy, mezzanine and media.analyze results go, and its room comes back to this account’s storage. A path import leaves the original in its folder; exports made from it stay. Timelines that use it keep their ids and edits but no longer render (media_offline names it, as for expired media): replace those clips with clip.replace. Importing the same file again makes a new media_id.

Input Schema

NameRequiredDescriptionDefault
media_idYesMedia handle from media.import or a create.* tool

Output Schema

NameRequiredDescriptionDefault
deletedYes
storageYes
media_idYesMedia handle from media.import or a create.* tool
freed_bytesYesWhat it held here: the file, its proxy and mezzanine, and its analyses

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / storage / properties / max_bytes / description
      Previous value: -"The plan's cap; null for none"New value: +"This account's storage, in bytes; null for no limit"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.