Get artwork image
get_artwork_imageFetch an artwork image and caption by source and museum ID to view a work or verify its subject matter. Falls back to museum URL when image is unavailable.
Instructions
Download the image for a single artwork (by source and id) and return it so it can actually be viewed, plus a short caption. Use this whenever the user wants to see a work, or when you need to judge what a work actually depicts rather than trusting its title.
Not every record has an image, and the Art Institute ('artic') serves images from a host behind a bot challenge, so those usually fail with a 403 — prefer another source when you need to display something, and fall back to the museumUrl from search results if an image cannot be fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The provider-native artwork id from search results. | |
| source | Yes | The museum source the artwork belongs to. |