get_screenshot
Capture a pixel-level screenshot of the active monitor at native resolution. Returns a base64-encoded PNG with timestamp and resolution metadata. Use for UI debugging, diagrams, or on-screen evidence.
Instructions
Capture a screenshot of the active monitor (or a specified monitor) at native resolution.
Returns a base64-encoded PNG plus capture metadata (timestamp, monitor index, resolution).
USE WHEN: you need pixel-level visual context (UI debugging, screenshot of a diagram, evidence of on-screen state). NOT FOR: text extraction — use get_screen_text, which is ~5x cheaper in tokens and runs OCR locally before returning. ALTERNATIVES: get_screen_text (OCR only), get_recent (rolling buffer of past captures), get_context_at (point-in-time recall).
BEHAVIOR: synchronous capture; takes 50-200 ms. Image is also written to the rolling buffer (visible via get_recent). No auth or rate limits — local only.
PARAMETERS: monitor_index: 0-based monitor index from get_monitor_summary. Omit (or pass None) to capture the monitor that currently contains the cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |