share_page
Change a page's sharing permissions: enable, disable, or replace a public link, toggle organization-wide access, or share with a named member, then return the current link and recipients.
Instructions
Change sharing of a page: link_on = public link for anyone with the link (no account needed), link_off = turn it off, link_new = replace the link (the old one stops working), team_on / team_off = show or hide the page for all members of the organization, user_on / user_off = share with / unshare from one named member (pass email; members come from list_people). Returns the current public link and the people it is shared with.
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": {
"page_id": "<page_id>",
"action": "<action>"
},
"name": "share_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | member's e-mail (only for user_on / user_off) | ||
| action | Yes | ||
| page_id | Yes |