wf_document_rights
Get or set access rights for a document using its ID; when setting, specify teams to replace current rights.
Instructions
Get or set access rights for 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": {
"documentId": "<documentId>"
},
"name": "wf_document_rights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action to perform | get |
| rights | No | Teams with access as a JSON array of {"id": "<team UUID>"} (required for set; replaces current rights) | |
| documentId | Yes | Document ID | |
| organization | No | Organization workspace name (uses default if omitted) |