Share a folder of photos as a gallery, free or paid
tarkle_create_galleryTurn a folder of photos (folderId from tarkle_list_folders) into a public gallery at /g/. The photos are the JPG, PNG and WebP files directly in the folder, up to 500. Without a price (the default) it's a free gallery: everyone can view it, watermarked only if watermark is true. With a price it's a paid gallery: visitors see every photo as a lower-resolution watermarked preview (previewMode "all", the default) or only the first previewCount photos with the rest blurred ("first"); they pay with PayPal or card, whichever the workspace connected, then download every original for 30 days, with no account -- needs Pro and PayPal or Stripe connected in Settings > Integrations, otherwise the answer says what to do. Returns galleryUrl (/g/..., browse) and, only for a paid gallery, payUrl (/pay/..., opens checkout directly; after paying the buyer lands on the unlocked gallery). Creating it sends no email; a paid sale gets the buyer a receipt with their own download link, and the workspace owner a sale notice. Asks for confirmation first: the first call creates nothing and describes the gallery (photo count, price if any, client); ask the user, then call again with the same inputs and the confirmationCode from the first answer.
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": {
"workspaceId": "<workspaceId>",
"folderId": "<folderId>",
"title": "<title>"
},
"name": "tarkle_create_gallery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | The price in the currency's main unit, for example "600" or "49.90". Omit it for a free gallery. | |
| title | Yes | The title of the gallery. | |
| currency | No | The currency the buyer pays in. One of USD, EUR, GBP, CAD, AUD, CHF, SEK, NOK, DKK, PLN, CZK, NZD, SGD, HKD, MXN. Only used with a price; USD when omitted. | |
| folderId | Yes | The folder of photos to share, from tarkle_list_folders. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| watermark | No | Only for a free gallery -- a paid gallery is always watermarked until bought. Default false. | |
| clientName | No | Who the gallery is for. It is shown on the gallery as "For <name>". | |
| previewMode | No | Only for a paid gallery. "all" shows every photo as a watermarked preview; "first" shows only the first previewCount photos and blurs the rest. "all" is used when omitted. | |
| workspaceId | Yes | The workspace's id, from tarkle_list_workspaces. | |
| previewCount | No | With previewMode "first": how many photos show before payment. Default 3. | |
| confirmationCode | No | The code from the first answer of this tool for these exact inputs. Send it only after the user approved sharing (and, with a price, selling) this folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paid | No | ||
| payUrl | No | ||
| galleryId | No | ||
| galleryUrl | No | ||
| photoCount | No |