Get Bin Contents
get_bin_contentsRetrieve all items inside a Premiere Pro bin—nested media paths, offline status, color labels, and metadata—by bin name, node ID, or path.
Instructions
Get detailed contents of a specific bin (folder) including all nested items, media paths, offline status, color labels, and metadata. Searches by bin name or node ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum direct children to return. Pair with recursive false for the smallest bounded response. | |
| bin_id | Yes | Bin name, node ID, or path (e.g., 'Footage', 'Footage/Raw'); '/' or 'root' for the project root | |
| offset | No | Zero-based offset into the bin's direct children. Pair with limit for a bounded page. | |
| max_depth | No | Maximum nested-bin depth when recursive is true. Defaults to the legacy unlimited recursion. | |
| recursive | No | Include items from sub-bins recursively (default: true) | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |