Change page data settings
configure_page_dataChange Page data access modes (private, shared, or author-only write) on an owned HTML page without republishing. Set the mode and write policy for each named list.
Instructions
Change the Page data settings of an owned HTML page or site without republishing. private = each visitor reads and writes only their own entries (default); shared = everyone reads, each visitor writes their own; shared + write author = only you write. The author always reads everything. Only what state names changes: a named list keeps every key the call omits (mode and write included), the other lists stay; a key set to null returns to its default; a list set to null loses its declaration and becomes private; state: null turns page data off (entries are kept). A private list that holds visitors' entries cannot become shared, so shared -> private cannot be undone while entries exist. Returns the stored settings and each named list's mode.
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": {
"state": "<state>"
},
"name": "configure_page_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Publication ID | |
| state | Yes | Settings to change, same shape as `state` on create: `{collections: {<name>: {mode, ...}}}` | |
| manageUrl | No | The page's private management link (https://brewpage.app/manage/...#k=...); stands in for namespace, id and ownerToken. | |
| namespace | No | Publication namespace | |
| ownerToken | No | Owner token from create. Default: env BREWPAGE_OWNER_TOKEN (local server only). |