Add Custom Metadata Field
add_custom_metadata_fieldAdd a custom metadata field to a Premiere Pro project’s schema by specifying its internal name, display label, and type. Creates the field definition only; use set_metadata with complete XML to assign per-item values.
Instructions
Add a custom metadata field to the project's metadata schema. This creates a schema/column definition only; it does not set a per-item value. Use set_metadata with complete Project Metadata XML and readback to update a value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | Yes | Internal name for the metadata field | |
| field_type | Yes | Type of the field: 0 = Integer, 1 = Real, 2 = String, 3 = Boolean | |
| field_label | Yes | Display label for the field |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |