Import image from URL
import_imageBring the user’s own screenshot into Shotlingo from a public https link; the server downloads it, so no pixels pass through the chat. Use it when the user can give a link (their own site, a CDN, a shared-file direct link) instead of base64. PNG, JPEG, WebP or GIF, 8 MB ceiling, direct file links only (not a web page). as:"images" (default) just stores it and returns a url; as:"pages" with a projectId also adds a new page showing it full-bleed (right for an already-finished store screenshot). Returns url, width, height. Next: for a RAW app screen call apply_device_frame (projectId, pageId, imageUrl) or generate_page with imageUrl and deviceId; for a finished screenshot imported as a page go on with render_screenshot.
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": {
"url": "<url>"
},
"name": "import_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | ||
| url | Yes | ||
| pageName | No | ||
| projectId | No |