Set page sharing
set_page_sharingSet a published page's sharing policy to private, public, or restricted access, using the current revision to prevent overwrite conflicts.
Instructions
Choose owner-only, public, or restricted access. Restricted methods are OR alternatives. Use the revision returned by get_page_sharing.
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": {
"pageId": "<pageId>",
"expectedRevision": "<expectedRevision>",
"policy": "<policy>"
},
"name": "set_page_sharing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| policy | Yes | ||
| expectedRevision | Yes |