Skip to content
Changelog

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[] }[]kind is video, audio or image.

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

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "editor.media.list"
}

editor.media.add · editor.clip.add