editor.media.list
Lists the open project's media, with their kind, length, file, bin and tags.
JSON-RPC 2.0project.read
Parameters
None.
Result
- media{ id: string, name: string, kind: string, duration_ms: number, path: string, used: boolean, bin: string | null, tags: string[] }[]
kindisvideo,audioorimage.
Errors
A state error (-32005) when no Editor project is open.
From an AI agent
The MCP server's editor_media (action: list) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "editor.media.list"}lightair call editor.media.listconst result = lightair.call("editor.media.list", {});