read_screenshot
Capture a window or full-screen screenshot for visual context, scaled to a maximum edge length. Optionally save as PNG instead of returning image tokens.
Instructions
Picture of one window (or the whole screen without window), longest side max_edge px. A window is captured in the background on Hyprland; elsewhere it comes to the front. Costs image tokens: prefer read_window. With file, saves a PNG there instead.
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": "read_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | New absolute path ending in .png | |
| window | No | Window id from read_windows | |
| max_edge | No |