get_source_screenshot
Capture a base64-encoded screenshot of an OBS source to visually inspect the current stream output. Specify source name and image format; optionally adjust resolution and compression.
Instructions
Get a Base64-encoded screenshot of a source (input or scene) — use this to actually SEE what's on stream. Check get_version's supportedImageFormats for valid image_format values on this OBS build.
Args: source_name: Name of the input or scene to capture. image_format: e.g. "png", "jpg". image_width/image_height: Optional scale-to-fit dimensions (8-4096). Omit to use the source's native resolution. image_compression_quality: 0 (max compression) to 100 (uncompressed), -1 for format default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_width | No | ||
| source_name | Yes | ||
| image_format | No | png | |
| image_height | No | ||
| image_compression_quality | No |