analyze_screenshot
Capture a screenshot of any public URL and analyze it with a local vision model to answer questions about the page. Supports full-page captures for detailed inspection.
Instructions
Take a screenshot of a URL in a headless browser and analyze it with a local Ollama vision model. Good for public pages. For pages requiring login, use capture_window instead. Use full_page: true to capture content below the fold — the page is sliced into segments and sent as multiple images so no detail is lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to screenshot (e.g. http://localhost:3004) | |
| model | No | Ollama vision model to use (defaults to OLLAMA_MODEL env var, or gemma4:e4b) | gemma4:e4b |
| wait_ms | No | Milliseconds to wait after page load for JS rendering | |
| question | Yes | What to analyze or look for in the screenshot | |
| full_page | No | Capture the full page height, not just the visible viewport. Long pages are sliced into segments sent as multiple images so detail is preserved at every scroll depth. | |
| max_slices | No | Maximum number of slices when full_page is true. Slices are distributed evenly across the page height. Default 8 covers most pages well. | |
| viewport_width | No | Viewport width in pixels | |
| viewport_height | No | Viewport height in pixels |