manage_permissions
List, update, or revoke permissions for a file or folder on OneDrive and SharePoint.
Instructions
List, update, or revoke permissions for a file or folder
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": {
"action": "<action>"
},
"name": "manage_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Item ID | |
| itemPath | No | Alternative: item path | |
| siteId | No | SharePoint site ID (optional) | |
| site | No | Known SharePoint site alias or canonical URL | |
| siteUrl | No | Canonical SharePoint site URL (optional alternative to siteId) | |
| driveId | No | Drive ID for a specific document library (optional) | |
| action | Yes | Action to perform | list |
| permissionId | No | Permission ID (for update/revoke actions) | |
| newRoles | No | New roles for update action (read, write, owner) |