screenshot
Take a screenshot of the entire desktop or capture a specific window by its title or class. The image is returned directly.
Instructions
Capture a screenshot and return the image directly. This is a single-call tool — do NOT list windows or gather system info first.
Call with no arguments for a full desktop capture (all monitors). For a specific window: target='window', window='' — fuzzy-matches title or window class, activates the window, and captures it. No need to call manage_windows first. For the currently active window: target='window' with no window argument.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | desktop | |
| window | No |