capture_region
Take a screenshot of any rectangular area using global compositor coordinates, returning a PNG for visual verification of Hyprland/Wayland UI tasks.
Instructions
Screenshot an arbitrary rectangle in global compositor coords.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "capture_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||