wiki_grant_permission
Grant a user view, edit, or admin permissions to an iSpace Wiki document using document and user IDs.
Instructions
授予用户对文档的访问权限(view / edit / admin)。
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": {
"doc_id": "<doc_id>",
"user_id": "<user_id>"
},
"name": "wiki_grant_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| user_id | Yes | ||
| permission | No | view |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |