> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# OneDrive GCC High

**Authentication:** OAuth. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* List all files in the `Contracts` folder modified in the last 30 days and show who last edited each one.
* Download the current version of `Q4_Budget_Review.xlsx` from my drive.
* Search for all `.docx` files in my drive modified in the last 7 days.

## Available Tools

#### advanced_search

Perform advanced search with filters and content search

#### search_by_content_type

Search for files by content type and properties

#### get_file_activity

Get activity history for files and folders

#### search_recent_files

Search for recently created or modified files

#### get_my_drive

Get the user's default OneDrive

#### get_drive

Get information about a specific drive by ID

#### list_my_drives

List all drives available to the user

#### get_root_folder

Get the root folder of a drive

#### get_special_folder

Get a special folder (Documents, Photos, etc.)

#### get_drive_usage

Get storage usage information for a drive

#### get_drive_owner

Get owner information for a drive

#### get_item

Get a drive item by ID or path

#### list_items

List children of a folder

#### create_folder

Create a new folder

#### upload_file

Upload a file to OneDrive

#### download_item

Download file content from OneDrive

#### update_item

Update item metadata

#### move_item

Move an item to a different folder

#### copy_item

Copy an item to a different location

#### delete_item

Delete an item from OneDrive

#### search_items

Search for items in OneDrive

#### list_permissions

List permissions for an item

#### get_permission

Get a specific permission by ID

#### create_sharing_link

Create a sharing link for an item

#### grant_permission

Grant permissions to recipients for an item

#### update_permission

Update roles for a user/group permission

#### delete_permission

Remove a permission from an item

#### access_shared_item

Access a shared item using sharing URL

#### get_sharing_link

Get sharing link information for an item

#### check_item_sharing_status

Check sharing status of an item

#### get_thumbnails

Get all available thumbnails for an item

#### get_thumbnail

Get a specific thumbnail size for an item

#### get_preview

Generate a preview link for an item

#### check_thumbnail_availability

Check if thumbnails are available for an item

#### get_thumbnail_urls

Get thumbnail URLs for an item

#### list_item_versions

List all versions of a file

#### get_item_version

Get details of a specific version

#### restore_item_version

Restore a previous version of a file

#### compare_item_versions

Compare two versions of a file

#### list_deleted_items

List items in the recycle bin

#### restore_deleted_item

Restore an item from the recycle bin

#### get_version_download_url

Get download URL for a specific version of a file