Get source state
get_sourceRetrieve the current settings and visibility state for any source in OBS Studio, enabling you to inspect its configuration before adjusting.
Instructions
Get the settings and visibility state of one source.
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": {
"source_name": "<source_name>"
},
"name": "get_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_name | No | ||
| source_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |