obs-set-persistent-data
Sets a value in a chosen persistent data slot for OBS global or profile storage, enabling saved settings to be updated programmatically.
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>"
},
"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 | No | The value to apply to the slot |