Set Profile Parameter
obs_set_profile_parameterUpdates one OBS profile config value, such as RecFormat2 for crash-safe recordings, and blocks changes while recording or streaming to avoid breaking output.
Instructions
Change one setting in the current profile's configuration. Refused while recording or streaming. Example: make recordings crash-safe with category 'SimpleOutput' (or 'AdvOut' in Advanced output mode), name 'RecFormat2', value 'mkv' or 'hybrid_mp4'. A wrong value can break recording, so read the current value first with obs_get_profile_parameter.
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": {
"category": "<category>",
"name": "<name>",
"value": "<value>"
},
"name": "obs_set_profile_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Parameter name, e.g. 'RecFormat2' | |
| value | Yes | New value, as a string | |
| category | Yes | Config section, e.g. 'SimpleOutput' |