capture_window_tool
Capture a screenshot of a specific window by matching its title or application name. Specify a window title to get an image of that window.
Instructions
Capture a screenshot of a specific window by its title.
Searches for a window whose title contains the given text (case-insensitive). Also matches against application name. Use list_windows() first to see available windows.
Parameters:
window_title: Full or partial window title to match (e.g., "Firefox", "Terminal", "Blender"). Also matches application names.
max_size: Maximum pixel dimension for the largest side. Default 800.
Returns the screenshot as an Image. If no match is found, returns an error listing available windows.
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": {
"window_title": "<window_title>"
},
"name": "capture_window_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_size | No | ||
| window_title | Yes |