take_app_screenshot
Take screenshots of up to 5 windows for any app found by case-insensitive name match. Returns file paths for each captured window.
Instructions
Take screenshots of all windows for an app (case-insensitive substring match). If the app has more than one window, screenshots will be taken for up to 5 of them.
Note: Only apps with at least one on-screen window can be found by this tool.
Args: app_name: Full or partial app name to match.
Returns: Path(s) to saved screenshot file(s), one per line (max 5 windows). If multiple apps match, returns an error with the full window list.
Raises: XCodeMCPError: If no matching app found, multiple apps match, or screenshot fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |