take_screenshot
Capture a screenshot of any Electron application window and return base64 image data. Optionally save the image to a specified path for further AI analysis or processing.
Instructions
Take a screenshot of any running Electron application window. Returns base64 image data for AI analysis. No files created unless outputPath is specified.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Path to save the screenshot (optional, defaults to temp directory) | |
| windowTitle | No | Specific window title to screenshot (optional) |