/microsoft-365-drive | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
microsoft_365_drive_copy_drive_item | Copy a drive item |
microsoft_365_drive_create_drive_folder | Create a new folder |
microsoft_365_drive_create_drive_item_share_link | Create a sharing link for a drive item |
microsoft_365_drive_delete_item | Delete a drive item |
microsoft_365_drive_get_item | Get a drive item |
microsoft_365_drive_get_my_drive | Get my OneDrive |
microsoft_365_drive_list_drive_item_children | List contents of a folder |
microsoft_365_drive_list_my_drive_root_items | List files and folders in OneDrive root |
microsoft_365_drive_search_my_drive | Search OneDrive |
microsoft_365_drive_update_drive_item | Rename or move a drive item |
microsoft_365_drive_copy_drive_item
Copy a drive item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the drive item to copy |
name | string | No | — | New name for the copied item (optional — defaults to original name) |
parentReference | object | No | — | Destination folder for the copy (optional — defaults to same folder) |
microsoft_365_drive_create_drive_folder
Create a new folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the parent folder where the new folder will be created |
@microsoft.graph.conflictBehavior | string | No | — | Conflict resolution behavior if name already exists |
folder | object | Yes | — | Indicates this is a folder (use empty object {}) |
name | string | Yes | — | Name for the new folder |
microsoft_365_drive_create_drive_item_share_link
Create a sharing link for a drive item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the drive item to share |
expirationDateTime | string | No | — | Optional expiration time for the link |
scope | string | Yes | — | Scope of the sharing link |
type | string | Yes | — | Type of sharing link to create |
microsoft_365_drive_delete_item
Delete a drive item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the drive item to delete |
microsoft_365_drive_get_item
Get a drive item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the drive item |
$select | string | No | — | Comma-separated properties to return |
microsoft_365_drive_get_my_drive
Get my OneDrive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
$select | string | No | — | Comma-separated list of properties to return (e.g. “id,name,quota,driveType”) |
microsoft_365_drive_list_drive_item_children
List contents of a folder Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the folder to list |
$top | integer | No | — | Number of items to return (max 200) |
$orderby | string | No | — | Sort order (e.g. “name asc”) |
$select | string | No | — | Comma-separated properties to return |
microsoft_365_drive_list_my_drive_root_items
List files and folders in OneDrive root Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
$top | integer | No | — | Number of items to return (max 200) |
$filter | string | No | — | OData filter expression (e.g. “file ne null” for files only, “folder ne null” for folders) |
$orderby | string | No | — | Sort order (e.g. “name asc”, “lastModifiedDateTime desc”) |
$select | string | No | — | Comma-separated properties to return (e.g. “id,name,size,webUrl,lastModifiedDateTime”) |
microsoft_365_drive_search_my_drive
Search OneDrive Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
search_text | string | Yes | — | Search query string (e.g. “budget”, “presentation”, “2024”) |
$top | integer | No | — | Maximum number of results to return |
$select | string | No | — | Comma-separated properties to return |
microsoft_365_drive_update_drive_item
Rename or move a drive item Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
item_id | string | Yes | — | The unique ID of the drive item to update |
name | string | No | — | New name for the item (to rename) |
parentReference | object | No | — | New parent folder reference (to move the item) |

