Set who can open a page
set_page_accessUse this tool when the user wants to decide who can open a page: 「パスワード付きで公開して」「このページにパスワードをかけて」「限定公開にして」「パスワードを外して」, "publish this with a password", "only people with the password", "keep it out of Google" (閲覧パスワード, 限定公開, ホームページ, Webサイト, ランディングページ).
Sets who can open one page at its live URL. It works on a draft and on a live page, and applies on the next request to the page with no new publish. Preview links keep opening with their token.
"password": only people who type the password. Sets the page's password, or replaces the one it has. People open the URL and type it once per browser; search engines get the password screen. password: 8 to 128 characters of letters, numbers, symbols, and spaces (printable ASCII, so every keyboard types it). If the user gave no password, ask for one or propose one before calling. The answer never repeats the password, so tell the user in the chat the password you set. Replacing a password asks everyone for the new one.
"private_link": anyone who has the link, and search engines leave the page out. Removes the page's password.
"public": anyone, and search engines can show it. Removes the page's password. For a new page the user wants behind a password ("save this and publish it with a password"): create_landing_page_preview, then set_page_access with its siteId, then publish_site with slot production. The password is on before the page is live, so it is never open in between. Returns access (what the page is now, as list_pages shows it), published, and url: the live URL to send people, or null for a page not published yet (publish_site puts it live). The same call again leaves the page as it is. Page passwords and private links come with Pro and MAX. On another plan the answer is plan_restricted or private_needs_pro and nothing changes: the page keeps the access it had. Then don't publish the page open in its place. Tell the user in one line what the message says the page would do, and give them dashboardUrl, the page's screen, which shows the ways to get it. The answer names the workspace (brand.id, name, host); with expectedBrandId, a connection that now works on another workspace changes nothing (brand_mismatch).
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": {
"siteId": "<siteId>",
"access": "<access>"
},
"name": "set_page_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | Yes | Who can open the page: 'password' (only people who type the password), 'private_link' (anyone with the link; out of search), or 'public' (anyone) | |
| siteId | Yes | The page's id (get_brand or list_pages) | |
| password | No | Required when access is 'password': 8 to 128 characters of letters, numbers, symbols, and spaces. Leave it out for the other two. | |
| expectedBrandId | No | The workspace's id from get_brand. When the connection now works on another workspace (the dashboard's active workspace was switched), the call changes nothing and answers brand_mismatch. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| brand | Yes | ||
| access | Yes | ||
| siteId | Yes | ||
| guidance | No | ||
| published | Yes |