graph_delete_file_permission
Revoke a sharing link or a person's access to a file or folder by removing an existing permission, so sensitive content is no longer shared.
Instructions
Revoke a sharing link or a person's access to a file or folder.
Args: item_id: The file or folder ID. permission_id: The permission ID (from graph_list_file_permissions). drive_id: Drive ID to act on. Empty targets your own OneDrive.
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": {
"item_id": "<item_id>",
"permission_id": "<permission_id>"
},
"name": "graph_delete_file_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ||
| drive_id | No | ||
| permission_id | Yes |