list_media
Discover footage files available for import from a source directory, with recursive search and already-imported flags.
Instructions
List media files under source_dir that import_media could register.
What hands an unattended agent source paths on a real job, since an
agent confined to proofcut's tools (the agent panel's --tools ToolSearch) has no directory listing of its own (HISTORY.md § The
seventh queue item, decided and built).
A filename filter, not a probe — import_media is still what decides a
file is actually usable. Each entry's already_imported is checked
against this project's own registered clips, so a repeated call does not
keep re-suggesting footage already on the asset list. source_dir names
wherever the footage lives and is not confined to the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing. | |
| recursive | No | Walk subdirectories too. On by default. | |
| source_dir | Yes | The directory to list. It names where footage lives rather than which project, so it is deliberately not confined to the bound project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||