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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_size | No | ||
| window_title | Yes |