capture_window
Take a PNG screenshot of a Hyprland/Wayland window matching a class or title substring, picking the largest match, to verify UI or desktop tasks.
Instructions
Screenshot a window matching a class or title substring (case-insensitive). Picks the largest match if multiple.
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": {
"query": "<query>"
},
"name": "capture_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||