# editor.media.list

Source: https://docs.lightair.app/developers/remote-api/editor.media.list

> Lists the open project's media, with their kind, length, file, bin and tags.

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.read` permission.

## Parameters

None.

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `media` | `{ id: string, name: string, kind: string, duration_ms: number, path: string, used: boolean, bin: string | null, tags: string[] }[]` | no | `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.

## Related

- [editor.media.add](https://docs.lightair.app/developers/remote-api/editor.media.add.md)
- [editor.clip.add](https://docs.lightair.app/developers/remote-api/editor.clip.add.md)
