Set visibility
set_visibilityUse when the user says only certain people should see it, make it private, or open it to anyone with the link. Sets a site's visibility. public lets anyone with the link view; allowlist restricts to verified people on the allowlist, on every plan. A website is always public, so this is refused on one: take a website down with set_link_status instead. Email entries work on every plan (a Free page can name up to 3 people, Pro has no limit); domain entries need Pro.
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": {
"site_id": "<site_id>",
"visibility": "<visibility>"
},
"name": "set_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The id of the site to update | |
| visibility | Yes | `public` or `allowlist` | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |