Unlock a private collection
unlock_collectionOpen a PRIVATE collection to the signed-in buyer, using the address and access code its photographer gave them — for example a wedding or client gallery whose pictures are also for sale. Afterwards search_images, get_image and list_collections include it for this buyer, and its images can be bought like any other. Use it only with a code the person gave you; never guess one. Requires sign-in.
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": {
"gallery": "<gallery>",
"access_code": "<access_code>"
},
"name": "unlock_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gallery | Yes | The gallery's address as the person has it, e.g. https://example.com/jane/smith-wedding, or "jane/smith-wedding". | |
| access_code | Yes | The access code the photographer gave the person. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| collection_id | Yes | ||
| listing_count | Yes |