See who has access to a OneDrive file
list_onedrive_permissionsList everyone with access to an item, including any sharing links that already exist, with the permissionId needed to revoke one.
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": {
"mailbox": "<mailbox>",
"itemId": "<itemId>"
},
"name": "list_onedrive_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | ||
| mailbox | Yes | Email address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options. |