TakeSourceScreenshot
Capture and save screenshots from specified sources, with options to resize, choose image format, and adjust compression quality for streamlined content creation.
Instructions
Takes a screenshot of the specified source.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"params": {
"additionalProperties": false,
"properties": {
"compressionQuality": {
"description": "Optional compression quality. For PNG (default format): 0-9 (OBS default is 4). For JPEG: 0-100 (OBS default is typically around 85-90). For WebP: 0-100. Use -1 for OBS default for the chosen format.",
"type": "integer"
},
"filePath": {
"description": "File path where the screenshot should be saved (optional).",
"type": "string"
},
"height": {
"description": "Optional height to resize the screenshot to.",
"type": "integer"
},
"imageFormat": {
"description": "Optional image format (e.g., \"png\", \"jpeg\", \"webp\"). Defaults to \"png\".",
"type": "string"
},
"source": {
"description": "Name of the source to capture.",
"type": "string"
},
"width": {
"description": "Optional width to resize the screenshot to.",
"type": "integer"
}
},
"required": [
"source",
"filePath",
"width",
"height",
"compressionQuality",
"imageFormat"
],
"type": "object"
}
},
"required": [
"params"
],
"type": "object"
}