check_user_access
Check a user's access to a file or folder in OneDrive or SharePoint by providing their email and the item's ID or path.
Instructions
Check what access a specific user has to 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": {
"userEmail": "<userEmail>"
},
"name": "check_user_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | No | Item ID to check | |
| 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) | |
| userEmail | Yes | Email address of the user to check | |
| includeInherited | No | Include inherited permissions |