# 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:
- `query` (string, required)
- `shape` (string)
- `kind` (string)
- `limit` (integer)

## 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](url)), or a wiki page (an image block's props.url).

Parameters:
- `space_id` (string, required)
- `url` (string)
- `base64` (string)
- `mime` (string): With base64, e.g. "image/png"
- `name` (string)

## 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:
- `url` (string, required)
- `width` (integer): Viewport width, default 1440 (390 for a phone view)
- `slices` (integer): Screenshots from the top, ~1080px each; default 2
