graph_delete_file
Delete a OneDrive file or folder by item ID, moving it to the recycle bin for later recovery.
Instructions
Delete a file or folder from OneDrive.
The item is moved to the OneDrive recycle bin.
Args: item_id: The file or folder ID to delete.
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>"
},
"name": "graph_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes |