search_images
Search the web for images and get structured results with URLs, thumbnails, titles, source pages, and dimensions. Supports Bing and Google engines with configurable result limit.
Instructions
Search the web for images and return a list of result objects with image URLs and metadata.
Each result is a dict with keys: "url" (direct link to the image), "thumbnail" (small preview), "title" (caption or alt text), "source_page" (page the image was found on), "width", and "height" (pixels). Every engine returns this same key set; fields a given engine can't provide are empty ("" for text, null for width/height — e.g. the Google path fills only "url", "title", and "source_page"). Results are returned in the engine's relevance order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search terms as a string, e.g. "golden gate bridge". Required, no default. | |
| engine | No | String naming the search engine, one of "bing" or "google", e.g. "google". Defaults to "bing". | bing |
| max_images | No | Integer cap on the number of results returned, e.g. 10. Defaults to 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| count | No | ||
| errors | No | ||
| scraper | No | ||
| source_urls | No |