Microsoft OneDrive
Service domainCLOUD STORAGE
Arcade Optimized
Arcade.dev LLM tools for Microsoft OneDrive
16tools
Microsoft OneDrive toolkit for Arcade provides 16 LLM-callable tools that read, write, organize, and share files and folders in a user's OneDrive via the Microsoft Graph API.
Capabilities
- Drive & item inspection: Retrieve drive metadata and quota, resolve individual item metadata by ID, list folder contents (including root), and identify the current user/confirm access.
- File operations: Download files as base64 with paginated byte-offset support for large files; copy items with synchronous polling to completion; move and/or rename single or multiple items in one call; delete one or more items in a single batched call.
- Folder management: Create new folders anywhere in the drive hierarchy.
- Search & duplicate detection: Full-text search across the drive's index; content-fingerprint scan to find byte-identical duplicate files within a subtree, with flagged keep/delete candidates returned directly.
- Sharing & permissions: Create share links (view or edit, tenant-scoped or anonymous); list all grants and share links on an item with pagination; revoke a single grant or all anonymous grants in bulk.
- Async operation support: Poll a long-running copy operation by token when the caller needs finer control over timing.
OAuth
This toolkit authenticates via OAuth 2.0 with Microsoft as the identity provider. Arcade manages the OAuth flow automatically.
See the Microsoft auth provider docs for configuration details.
Available tools(16)
16 of 16 tools
Operations
Behavior
| Tool name | Description | Secrets | |
|---|---|---|---|
Copy a file or folder and wait for the copy to finish, returning the new item.
Microsoft Graph performs copies asynchronously; this tool polls the operation to
completion within a bounded budget so the caller receives the finished item directly.
A stale or mistyped source id returns a structured not_found envelope (status
"not_found", retryable false) rather than a fatal error, so the caller can branch on
the field. | |||
Create a new folder in OneDrive. | |||
Create a share link for a OneDrive item.
Set link_type to EDIT to let recipients change the item; use scope ORGANIZATION to keep
the link inside the tenant instead of anyone-with-the-link. | |||
Delete one or more files or folders from OneDrive in a single call.
An item open for editing elsewhere is reported as locked and retryable rather than
failing the whole batch; every requested id is attempted. | |||
Download a OneDrive file's content as base64, paging large files by byte offset.
Files at or under the per-call cap return fully in one call; for larger files, re-call
with offset set to the returned next_offset until is_final is true. A stale or mistyped
id returns a structured not_found envelope (status "not_found", retryable false) rather
than a fatal error, so the caller can branch on the field. | |||
Find files that are byte-identical copies of each other across folders in one call.
Groups examined files by content fingerprint and returns only the fingerprints with two
or more copies, each group flagging the copy to keep and the rest as deletion candidates,
so a de-dup cleanup can act without listing and grouping by hash manually.
The scan walks the drive directly rather than the search index, so a file copied moments
ago is seen immediately. Supply folder_id to scope the scan to a subtree (much more likely to
be complete, though still bounded by limit and an internal walk cap); keywords further
restrict to files whose name contains the term.
When truncated is true, truncated_warning explains what was missed and how to refocus. | |||
Check status of an async copy operation using the token returned by copy_item. | |||
Resolve a single OneDrive file or folder's metadata directly from its id.
A stale or mistyped id returns a structured not_found envelope (status "not_found",
retryable false) rather than a fatal error, so the caller can branch on the field. | |||
Get metadata about the user's OneDrive (id, name, quota, owner). | |||
List files shared with the current user. | |||
List files and folders in a OneDrive folder. Lists root if folder_id is omitted. | |||
List who can currently access a OneDrive item: every share link and direct grant on it.
Use this to answer "who can see this?" and to find the permission_id needed to revoke a
grant. A stale or mistyped id returns a structured not_found envelope (status "not_found",
retryable false) rather than a fatal error, so the caller can branch on the field. When
has_more is true, pass next_token back unchanged to fetch the remaining grants. | |||
Move and/or rename one or more files or folders in OneDrive in a single call.
Provide new_parent_id to relocate items, new_name (single item only) to rename in place,
or both. At least one must be supplied. An item open for editing elsewhere is reported as
locked and retryable rather than failing the whole batch. | |||
Revoke one or all anonymous sharing grants on a OneDrive item.
Single-grant mode (revoke_all_anonymous=false): removes the grant identified by
permission_id. An unknown item or permission id returns a structured not_found envelope
rather than a fatal error. To revoke an inherited grant, target the parent folder instead.
Bulk mode (revoke_all_anonymous=true): removes every anonymous (anyone-with-the-link) grant
on the item in one call. revoked_count reports how many were removed; 0 means none existed. | |||
Search for files and folders in the user's OneDrive.
It may take a few seconds to minutes for the search index to update with newly created items. | |||
Identify the current user and confirm OneDrive access for orientation. |
Get Building
Last updated on