Set gallery visibility
set_visibilityList or unlist a public publication in the gallery and sitemap while keeping its link unchanged, so you can control discoverability without breaking shared URLs.
Instructions
List or unlist a public publication in the gallery and sitemap. Link unchanged.
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": {
"type": "<type>",
"namespace": "<namespace>",
"id": "<id>",
"listed": "<listed>"
},
"name": "set_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Publication ID | |
| type | Yes | Publication type; only public html, site and file can be listed | |
| listed | Yes | true = listed, false = unlisted | |
| namespace | Yes | Publication namespace | |
| ownerToken | No | Owner token from create. Default: env BREWPAGE_OWNER_TOKEN (local server only). |