Get Xmp Metadata
get_xmp_metadataInspect bounded XMP fields from Premiere Pro project items; sensitive GPS, serial, author and contact data are omitted by default, with raw XMP available only by explicit opt-in.
Instructions
Inspect bounded file/clip XMP fields with GPS, serials, author and contact data omitted by default. Raw XMP requires include_raw and include_sensitive true; it can disclose personal data to the connected client. Distinct from Premiere-private project metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | Node ID or name of the project item | |
| include_raw | No | Opt in to raw XMP instead of parsed fields (maximum 256 Ki characters). Requires include_sensitive true; default false. | |
| include_sensitive | No | Opt in to GPS, serial, author and contact fields; required for raw XMP; default false. | |
| 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. |