Bug
The screenshot tool's monitor parameter is ignored. Requesting screenshots from monitors 0, 1, and 2 all return the identical image (the primary display).
Reproduction
screenshot({ monitor: 0 }) → primary monitor image
screenshot({ monitor: 1 }) → same primary monitor image
screenshot({ monitor: 2 }) → same primary monitor image
Environment
- 3-monitor setup:
- DISPLAY1: 1080x1920 portrait at (-2160, -833)
- DISPLAY2: 1920x1080 landscape primary at (0, 0)
- DISPLAY3: 1080x1920 portrait at (-1080, -833)
- Platform: win32
Expected
Each monitor index should capture the corresponding display. The display info from get_screen_info correctly reports all 3 monitors, so the issue is in the screenshot capture logic.
Workaround
Use the region parameter with absolute coordinates from get_screen_info to capture specific monitors manually:
screenshot({ region: { x: -2160, y: -833, width: 1080, height: 1920 } }) // DISPLAY1
🤖 Generated with Claude Code
Bug
The
screenshottool'smonitorparameter is ignored. Requesting screenshots from monitors 0, 1, and 2 all return the identical image (the primary display).Reproduction
Environment
Expected
Each
monitorindex should capture the corresponding display. The display info fromget_screen_infocorrectly reports all 3 monitors, so the issue is in the screenshot capture logic.Workaround
Use the
regionparameter with absolute coordinates fromget_screen_infoto capture specific monitors manually:🤖 Generated with Claude Code