Take a screenshot
capture_screenshotTake screenshots in fullscreen, region, window, or smart mode; save to PNG file, copy to clipboard, or slurp output.
Instructions
Take a screenshot. region/windows require an interactive selection. save returns and verifies a PNG path; copy writes only to the clipboard.
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": "capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | fullscreen | |
| action | No | save |