Change Input Settings
obs_set_input_settingsChange settings for an OBS input source, such as text or image file, by merging new values into existing settings or replacing them entirely when overlay is false.
Instructions
Change settings of one input, e.g. the text shown by a text source or the file of an image source. By default the given keys are merged into the existing settings; with overlay=false the settings are replaced, and unlisted keys reset to defaults.
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": {
"input_name": "<input_name>",
"input_settings": "<input_settings>"
},
"name": "obs_set_input_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overlay | No | true merges into the current settings; false replaces them entirely | |
| input_name | Yes | Exact input (source) name, as returned by obs_list_inputs | |
| input_settings | Yes | Settings as a JSON object. Keys depend on the kind; read the current ones first |