Set one XMP property of a clip
set_item_xmp_propertySet one text XMP property on a Premiere Pro project item’s media by namespace and property name without altering other XMP, then return the value read back.
Instructions
Set one simple (text) XMP property of a project item's media by namespace URI and property name, leaving the rest of the XMP untouched. For a namespace that is not a standard one, pass prefix so it can be registered. Premiere writes XMP back into the media file on disk for formats that support it, so this modifies the original media file. Returns the value read back.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>",
"name": "<name>",
"value": "<value>"
},
"name": "set_item_xmp_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Property name inside the namespace, without prefix (e.g. scene). | |
| value | Yes | New value as text. | |
| prefix | No | Preferred prefix when the namespace is not registered yet (e.g. myco). | |
| item_id | No | Stable project item id (from list_project_items). Preferred. | |
| item_name | No | Item name; the first match in the project is used. | |
| item_path | No | Path in the Project panel, e.g. "Footage/Day 1/clip.mp4". | |
| namespace | Yes | Namespace URI, e.g. http://ns.adobe.com/xmp/1.0/DynamicMedia/. |