Screenshots of Pages
A screenshot is a real picture of a page of your website, drawn by a real browser, for your own AI assistant. It works for a page in its draft state (the working copy, with changes waiting for review) or as published, at the width and color the assistant asks for, with no publishing. It exists so an assistant that builds a page can see what it built before it tells you the page is ready.
What an Assistant Gets
One call returns:
- Drew: one plain sentence saying the website, the page, whether it is the working copy (draft) or the published version, how many changes waiting for review it included, the views drawn, and what is not drawn. An assistant never mistakes the draft for what is live.
- Pictures: JPEG slices at most 1,500 pixels tall, in order, each with a caption naming the width, the color, the version, and the part of the page. A call holds at most 12 pictures and 6 MB. A whole page or chosen sections (up to 12, by place) can be asked for.
- Structure (only when asked): a plain text outline of the page, its header, menu, sections with their height, and footer, up to 20,000 characters.
- Checks (only when asked): sideways scrolling, pictures that did not load, empty sections, text that is hard to read, links and menu items to pages that do not exist, errors reported while drawing, small tap targets at phone widths, cut off text, and slow loading. Each check has a fixed name and one plain sentence, and a check that finds nothing says so. The checks that need only data work even when the browser is not available.
Widths and Colors
A width is a whole number from 320 to 1920 pixels, or the words phone (390), tablet (820), or desktop (1440, the start). Up to 3 widths and 6 views (a width and a color each) in one call. Light is the start. Dark is drawn only when the website has dark rules in its theme stylesheet or a section; otherwise the answer says the website has no dark version and draws light.
What Is Not Drawn
As in Preview: code snippets, scripts in a Custom HTML section, the chat bubble, forms (a placeholder is drawn), and published tools (a card is drawn). The answer lists any of these the page uses, so they are not reported as missing.
How It Runs
The action sites.page.screenshot (tool websites_page_screenshot) checks the input and the rates, adds the render to your account's own queue, and waits up to 25 seconds for it. If it finishes, the call answers with everything. If not, it answers running with a screenshot_id, and sites.screenshot.get (tool websites_screenshot_result) answers the same way later: the whole answer, still running, or why it failed. It works for 30 minutes after the render finished and only for the connection that asked. If the browser service answers with a gateway error or says a session is not ready, the render tries again after 1 and 3 seconds before it reports. A render that stops part way is started again after 3 minutes, and fails with a plain sentence only after a second try.
The browser is never given a real address of your website. It opens a made-up address, and your workspace answers every request the page makes from your own draft or your own stored published version. Anything on another website loads the way it does for a visitor, only if it is a public https address. No form is sent and nothing of your account goes to another website.
What Is Kept
The pictures and text of an answer are kept in your account's own database for 30 minutes after the render finished, then removed. What stays is one row of counts: the checks by level, the number and size of the pictures, the browser time, and the requests. No picture, page text, or address of another website is in a log. The Activity Log has one line for each render, made by the AI agent or the key, with the website, the page, the version, the widths and colors, the counts, the pictures, the bytes, and the browser seconds. Browser time is counted in your account's own usage and is not billed.
Limits
10 renders a minute and 120 an hour for one connection (a render that failed does not count against these two); 3 at once and 300 a day for your account; one at a time for each website; a page of 2 MB of HTML or less; 90 seconds of browser for one call. A refusal says when to try again.
The Agent Guide and the Ready Job
The Agent Guide page for Websites (mountdev://guide/app/sites) has a section, Seeing a Draft Page Before It Is Published. It tells an assistant when to take a screenshot (after saving a page and before saying it is ready, after changing a theme, menu, header, or footer, and always at the phone and desktop widths), the steps in order (save, screenshot with checks, look, fix, draw again, say plainly what was found and fixed), what a screenshot cannot see, the limits, and what the answers running and failed mean. It also says never to call a page fine without a screenshot and never to call a draft live.
A ready job, Check a Page Before You Hand It Over (Websites), gives an assistant those steps for one website and page. It is listed only for an account that has Websites. A person starts it by asking their assistant to check a page.
Who Can Use It
Anyone who can use Websites, through an assistant connection or a key of the account. The queueing tool is a Write permission, because it adds a row to your queue, and the result tool is Read. A render never publishes and never changes a page, a menu, or a setting. Export Everything includes the counts row (sheet Website Screenshots) and not the held pictures.
When a Screenshot Fails
A failed answer carries error (a plain sentence) and reason, one of: timeout (the page took too long to open), closed (the browser closed while drawing, so try again), busy (the browser was busy), page (the draft could not be drawn, with the plain reason after it), refused (a rule of this call, such as the person no longer being able to use Websites), none (no browser is available here), or other. The reason is never the error's own text, so it holds no page content. The Activity Log line for a failed screenshot and its counts row also carry the class name of the error underneath (for example TypeError, ProtocolError, or TimeoutError), never its message. A failed answer ends with the error type (for example Error type: TimeoutError.) and, when the browser gave one, a fixed detail such as a network error code (net::ERR_NAME_NOT_RESOLVED) or the browser service's own code (browser service code 429). When the error has none of those, the answer says where it was thrown (the names of the first few functions and the file and line, for example thrown in renderOwn < draw (browser.js:812)), never the error's own text, never the error's own text. Before it draws any view, the browser opens a made-up blank page at the draft address. That check only informs: it never stops a view. If nothing draws and the views gave no reason, the answer is "The browser could not open the draft address" with the reason page.
A screenshot is tried again before it fails. If the first try fails, the browser draws the view again with files from other websites left out, and if that fails too and the width is over 820, once more at 820 wide. A picture from a later try is labeled with the width it was drawn at, and the note says what was left out and why the first try failed. A partial picture beats none: the call gives a reason only when every try failed.
A page that has slow files on other websites is still drawn: the browser waits up to 10 seconds for them, then draws what it has and the note says "Some outside files did not finish loading". When you ask for several views and one fails, the views that worked come back and the note names the one that did not ("No picture at 390 wide, light: The page took too long to open."). The call fails only when no picture was drawn.
Where to Find It
No screen, because a screenshot is made for your own AI assistant. A person looks at a page with Websites, then Pages, then Preview.