Import URL
import_urlImport a public web page as an editable screen: the page is loaded in a browser (scrolled to the bottom so that what loads on scroll comes along, reveal animations shown as they end), its elements written as HTML + Tailwind from their computed styles, its images stored as workspace assets. Fonts Saymock cannot load (not on Google Fonts nor in the workspace) are replaced by the next font of their stack, and listed; iframes, canvases (WebGL) and videos become grey boxes of their size, listed; cookie banners, full-screen overlays and what only screen readers see are left out. Answers within about 50 s: a slow page is scrolled less far, and says so. The screen hugs its height (at most 20000px of the page) and remembers a screenshot of the page as its reference: refine it with compare_to_reference {fileId, frameId} (no reference needed), then edit_html. Public pages only: no sign-in, no localhost. Counts as a render.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fileId": "<fileId>",
"url": "<url>"
},
"name": "import_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page, e.g. https://example.com/pricing. | |
| width | No | Or a viewport width in px (desktop layout). | |
| device | No | Viewport the page is loaded at: a device preset (phones and tablets get the site's mobile layout): iphone-16, iphone-16-pro-max, iphone-se, pixel-9, galaxy-s24, ipad, ipad-pro-13, laptop, desktop, desktop-hd. Default desktop, 1440px wide. | |
| fileId | Yes | ||
| nearId | No | A frame or section to put the screen beside (right of it if there is room, else below). | |
| pageId | No | Page of the file to put the screen on. Default: the first. |