Grant Wiki page access
wiki_access_createGrant a user or a group a role on a wiki page; returns the new access entry.
Instructions
Grant a user or a group a role on a wiki page; returns the new access entry.
A user who already holds a personal access is refused: change it with access_update.
Read the current accesses with pages_get_by_id and
fields="access_policy,access_lists".
Grants access: a client that honours the mark asks a person on every call.
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>",
"body": "<body>"
},
"name": "wiki_access_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The grant: exactly one of ``user`` (uid / cloud_uid) and ``group`` (src + id), the ``role``, and optionally ``inheritance``. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| page_id | Yes | Numeric id of the page. |