Workspace

Pictures and assets

Tools for the pictures and files agents put in items: find pictures, add them, and capture a web page.

find_images

Search openly licensed photos and illustrations on Openverse (cleared for commercial use and changes). Then add_asset the url you pick. Credit the creator where credit_needed is true. One or two plain words find more than a long phrase.

Parameters

querystringrequired
shapestring
One of wide, tall, square.
kindstring
One of photograph, illustration.
limitinteger

add_asset

Store an image (PNG, JPEG, GIF, WebP, AVIF, SVG; up to 10 MB) in a space from a URL (a public address) or base64. Returns the url to use in a design (src, background-image), a document or a slide (alt), or a wiki page (an image block's props.url).

Parameters

space_idstringrequired
urlstring
base64string
mimestring
With base64, e.g. "image/png"
namestring

capture_page

Look at a public web page as a reference (a brand's site, a competitor, a style the person pointed to): screenshots from the top and its measured look — fonts and sizes for headings and body, the colors that cover the most area, text colors, buttons, content width. Use it to match a brand or learn from a reference; never copy another company's design.

Parameters

urlstringrequired
widthinteger
Viewport width, default 1440 (390 for a phone view)
slicesinteger
Screenshots from the top, ~1080px each; default 2