capture_window
Capture a screenshot of a desktop window by specifying its title or substring. Use exact match when multiple windows match.
Instructions
Capture an entire window identified by its title (case-insensitive substring match).
Args: title: Window title or substring of it (case-insensitive). Use list_windows to find candidates. When multiple windows match, the call fails and lists the matching titles — provide a more specific substring or set exact=True. exact: If True, match the title exactly (case-sensitive).
Returns the screenshot as a PNG image. The window's geometry is logged but not returned alongside the image (call list_windows for geometry details).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | ||
| title | Yes |