update_collective_share
Update a collective share to set if a public link allows editing and change its password.
Instructions
Change whether a public link lets people edit, and its password. Needs edit rights in the collective.
Args: collective_id: The numeric collective ID. token: The share token, from list_collective_shares. editable: Whether people with the link may edit. page_id: The page the link is for, 0 for the whole collective (default: looked up from the token). password: A new password; an empty string removes it; leave out to keep it.
Returns: JSON with the share afterwards.
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": {
"collective_id": "<collective_id>",
"token": "<token>",
"editable": "<editable>"
},
"name": "update_collective_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| page_id | No | ||
| editable | Yes | ||
| password | No | ||
| collective_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |