Put a photo on a link
set_photoMakes an Unsplash photo the wallpaper of a link the person made, from the photo's address. For Unsplash photos only. It replaces the wallpaper the link had, loads from Unsplash and is never stored by LFG. An address that is not an Unsplash photo returns an error.
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": {
"id": "<id>",
"photo_url": "<photo_url>"
},
"name": "set_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The link's id. | |
| pick | No | The photo's pick address from the search, so Unsplash is told it was chosen. | |
| credit | No | The photographer's name. | |
| photo_url | Yes | The photo's address. |