Attach a custom property to a sequence
attach_sequence_custom_propertyStore custom key/value metadata on a Premiere Pro sequence, saved in the project file, to tag shots or pipeline states; attaching the same property id replaces its value.
Instructions
Store a custom key/value pair on a sequence, saved inside the project file, so pipelines can tag sequences with their own ids or states. It travels with the sequence, for example into a project written by export_sequence_as_project. The scripting API cannot read such properties back, so keep your own record of what you attached. Attaching the same property_id again replaces its value. Returns attached=true with the id and value.
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": {
"property_id": "<property_id>",
"value": "<value>"
},
"name": "attach_sequence_custom_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to store (text). | |
| property_id | Yes | Property name: letters, digits, dots, hyphens and underscores, starting with a letter or underscore, e.g. "mycompany.shot_id". | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |