documents_add_user
Grant a user access to a document by specifying the document ID and user ID. Set permission level to read or read-write for controlled sharing.
Instructions
Grant a user access to a document.
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": {
"id": "<id>",
"userId": "<userId>"
},
"name": "documents_add_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID | |
| userId | Yes | User ID to grant access | |
| permission | No | Permission level |