delete-onedrive-file
Remove files from OneDrive by specifying drive and item IDs. Use this tool to delete documents, manage storage, or clean up cloud content through Microsoft Graph API integration.
Instructions
Delete navigation property items for drives
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": {
"driveId": "<driveId>",
"driveItemId": "<driveItemId>"
},
"name": "delete-onedrive-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| If-Match | No | ETag | |
| driveId | Yes | Path parameter: driveId | |
| driveItemId | Yes | Path parameter: driveItemId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |