save_source_screenshot
Capture a screenshot of any OBS source or scene and save it to a local file. Set image format, dimensions, and compression quality as needed.
Instructions
Save a screenshot of a source (input or scene) directly to disk.
Args: source_name: Name of the input or scene to capture. image_file_path: Absolute path to save to, e.g. C:/renders/shot.png. image_format: e.g. "png", "jpg". image_width/image_height: Optional scale-to-fit dimensions (8-4096). image_compression_quality: 0 (max compression) to 100 (uncompressed), -1 for format default.
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>",
"image_file_path": "<image_file_path>"
},
"name": "save_source_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_width | No | ||
| source_name | Yes | ||
| image_format | No | png | |
| image_height | No | ||
| image_file_path | Yes | ||
| image_compression_quality | No |