Write a preference
set_preferenceWrites a Premiere Pro application preference with optional key creation and persistence, then returns the read-back and previous value to verify the change.
Instructions
Write one Premiere Pro preference. Preferences are application-wide and many are only read at startup, so a change may need a restart to take effect; a wrong value can change how Premiere behaves, so read the current value with get_preference first. Returns the value read back after the write, the previous value, and whether the key existed and changed. Fails with NOT_FOUND if the key does not exist and create=false, UNSUPPORTED if it is read-only, FAILED if the value does not 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": {
"key": "<key>",
"value": "<value>"
},
"name": "set_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Preference key exactly as Premiere Pro stores it, e.g. "BE.Prefs.AutoSave.Interval" or "BE.Prefs.StillImages.DurationInSeconds". Keys are case-sensitive. | |
| value | Yes | New value. Numbers and booleans are stored as text (true becomes "true"). | |
| create | No | Create the key if it does not exist yet. Default true; false makes a missing key an error. | |
| persistent | No | true = keep the value across restarts; false = for this session only. Default true. |