Set Persistent Data
obs-set-persistent-dataSet a persistent data slot value in OBS Studio by specifying the realm (global or profile), slot name, and value to apply.
Instructions
Sets the value of a slot from the selected persistent data realm
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": {
"realm": "<realm>",
"slotName": "<slotName>",
"slotValue": "<slotValue>"
},
"name": "obs-set-persistent-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | The data realm to select. OBS_WEBSOCKET_DATA_REALM_GLOBAL or OBS_WEBSOCKET_DATA_REALM_PROFILE | |
| slotName | Yes | The name of the slot to set data for | |
| slotValue | Yes | The value to apply to the slot |