Report that an Unsplash photo is used
track_image_useLogs an Unsplash photo as used in a design or download to satisfy API attribution guidelines. Call it with the result's photo id only when the image is actually inserted or saved, not previewed.
Instructions
Required by the Unsplash API guidelines: call this when a photo from search_images is actually used (inserted into a design or downloaded), not for mere previews. Uses the photo id from the result.
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": {
"photo_id": "<photo_id>"
},
"name": "track_image_use"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo_id | Yes | The "id" of an Unsplash result. | |
| download_location | No | Optional: extra.download_location of the result. Must be an api.unsplash.com URL. |