Get a clip's raw XMP
get_item_xmpReturn the raw XMP packet (XML) and total length for a Premiere Pro project item’s media, with long packets truncated at max_length; use the property tool to read a single value.
Instructions
Return the raw XMP packet (XML text) of a project item's media, with its total length. Long packets are cut at max_length characters (truncated=true). To read one value use get_item_xmp_property instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_item_xmp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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". | |
| max_length | No | Maximum number of characters of XMP to return. Default 20000. |