OneDrive for AI agents

Microsoft cloud storage with sharing and sync. Sign in once through OAuth and every agent you run can use it.

  • Signs in with OAuth
  • Ready to connect
  • Any MCP client
  • No card required

The route from an agent to OneDrive

Once OneDrive is set up in your workspace, any agent you run can reach it: a Spinrun agent, or Claude, ChatGPT and Cursor through one MCP endpoint. Every call passes through the Spinrun gateway, which sorts it by risk and writes it to the activity log.

By default, every change an agent makes in a connected app waits for your approval, on every plan. Enhanced Control adds per-app read, write and destructive rules at the gateway on Free and Pro.

OneDrive in the catalog

Microsoft cloud storage with sharing and sync. · Files & Storage

  1. An agent gets a jobFrom chat, a schedule, or your own AI client
  2. Spinrun checks the callSorted as a read, a write or a destructive call
  3. OneDrive does the workThrough the connection you set up in your workspace
  4. Every call is loggedTool, outcome and duration, in one activity log

Three steps

From connection to first call

  1. Connect an app once

    Sign in from your workspace with OAuth or an API key. Spinrun keeps the credential in an encrypted vault, never in an agent's config.

  2. Decide what it may do

    By default, every change an agent makes in a connected app waits for your approval, on every plan. Enhanced Control adds per-app rules for reads, writes and destructive calls on Free and Pro.

  3. Let any agent use it

    Claude, ChatGPT, Cursor or a Spinrun agent reach the app through one MCP endpoint, and every call is written to the same activity log.

What it can do

Every OneDrive action, sorted by risk

Spinrun sorts every OneDrive action into one of three tiers. By default, agents ask before a write; on Free and Pro, the rules you set decide which tiers run.

  • Writes

    Copy Item

    ONE_DRIVE_COPY_ITEM

    Tool to copy a driveitem (file or folder) to a new location asynchronously. use when you need to duplicate an item, optionally renaming it or specifying a different parent folder. the operation is asynchronous; the response provides a url to monitor the copy progress.

  • Writes

    Create a new text file

    ONE_DRIVE_ONEDRIVE_CREATE_TEXT_FILE

    Creates a new text file with specified content in a onedrive folder, using either the folder's unique id or its absolute path (paths are automatically resolved to ids); note that onedrive may rename or create a new version if the filename already exists.

  • Writes

    Create folder

    ONE_DRIVE_ONEDRIVE_CREATE_FOLDER

    Creates a new folder in the user's onedrive, automatically renaming on conflict, optionally within a specified parent folder (by id or full path from root) which, if not the root, must exist and be accessible.

  • Writes

    Create Sharing Link

    ONE_DRIVE_CREATE_LINK

    Tool to create a sharing link for a driveitem (file or folder) by its unique id. use when you need to generate a shareable link for an item in onedrive or sharepoint.

  • Destructive

    Delete Item

    ONE_DRIVE_DELETE_ITEM

    Tool to delete a driveitem (file or folder) by its unique id from the authenticated user's onedrive. use when you need to remove an item from onedrive. this action moves the item to the recycle bin, not permanently deleting it.

  • Reads

    Download a file

    ONE_DRIVE_DOWNLOAD_FILE

    Downloads a file from a user's onedrive using its item id, which must refer to a file and not a folder.

  • Writes

    Find Folder

    ONE_DRIVE_ONEDRIVE_FIND_FOLDER

    Finds folders by name within an accessible parent folder in onedrive, or lists all its direct child folders if no name is specified.

  • Writes

    Find Item

    ONE_DRIVE_ONEDRIVE_FIND_FILE

    Non-recursively finds an item (file or folder) in a specified onedrive folder; if `folder` is provided as a path, it must actually exist.

  • Reads

    Get Drive

    ONE_DRIVE_GET_DRIVE

    Retrieves the properties and relationships of a drive resource by its unique id. use this action when you need to get details about a specific onedrive, user's onedrive, group's document library, or a site's document library.

Same category

Other Files & Storage apps

Other apps in this category that your agents can use.

See every app in this category

Questions about OneDrive

You approve OneDrive in its own sign-in window. Spinrun keeps the token in an encrypted vault, refreshes it before it expires, and you can revoke it in one click.

Put OneDrive to work. Start free.

Connect OneDrive, decide what it may do, and give an agent its first job.

Before anything loads

We would like to switch on analytics, so we can see which pages are worth keeping. Nothing has loaded yet and nothing will until you choose. The cookies that keep you signed in and remember your language are not part of this.

Read the Cookie Policy