Get Source Screenshot
obs-get-source-screenshotCapture a Base64-encoded screenshot of any OBS source, with optional scaling and compression settings.
Instructions
Gets a Base64-encoded screenshot of a 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": {
"imageFormat": "<imageFormat>"
},
"name": "obs-get-source-screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canvasUuid | No | UUID of the canvas containing the source | |
| imageWidth | No | Width to scale the screenshot to | |
| sourceName | No | Name of the source to take a screenshot of | |
| sourceUuid | No | UUID of the source to take a screenshot of | |
| imageFormat | Yes | Image compression format to use | |
| imageHeight | No | Height to scale the screenshot to | |
| imageCompressionQuality | No | Compression quality to use (0-100, -1 for default) |