Command · List Media
media.list
Lists the project's media as arrays in mediaFields order: id, name, duration in ms, whether it has video, its number of audio streams, whether it is a still image and whether it is offline.
- v1
- Capability Read
- Tool
media_list
Request
{
"command": "media.list",
"params": {
"name": "interview"
}
}Parameters
namestring- Only media whose name contains this (case-insensitive).
Discussion
Lists the project's media as arrays in mediaFields order: id, name, duration in ms, whether it has video, its number of audio streams, whether it is a still image and whether it is offline.
Run it with wabcut-cli cmd <project> --json, from an MCP client as media_list, or from an extension. See Edit commands for requests, references and results.
See also
media.*
- media.makeSubclip
Make Subclip. A new media item playing "in".."out" (exclusive) of a media item's file, named "name", in "bin" (default the root).
- media.newSynthetic
New Synthetic Item. Makes a synthetic project item (File > New): "colorMatte" (params color.r/g/b, 0..1: a background for text, a flash), "blackVideo" or "transparentVideo" (a layer of its own for effects that draw).
- media.setAttributes
Media Attributes. Library metadata of media items: name (new clips take it; existing clips keep theirs), label colour, comment, description and poster frame (a source time, or null to clear it).
- media.setSubclip
Edit Subclip. Changes a subclip's range and restriction (Premiere's Edit Subclip).