screenshot_active_window
Take a screenshot of the currently focused window only, cropping automatically using window geometry from Hyprland.
Instructions
Screenshot just the currently focused window, cropped via grim -g using the window's box from hyprctl activewindow.
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_active_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||