← Catalog

OneDrive

Connect OneDrive to Claude Code, Codex, Cursor or any MCP agent through CoreSpeed. Browse, search, and read OneDrive files, upload text files, create folders and share links, and delete items. Your agent works through your own OneDrive account and gets 8 OneDrive tools; CoreSpeed holds the credential, so the agent never sees the token. Calling it is free.

Tools8

  • onedrive__list_items

    List the contents of a OneDrive folder (defaults to the drive root), with a compact projection of each item.

    Free
  • onedrive__search_items

    Search the whole OneDrive for files and folders matching a query.

    Free
  • onedrive__get_item

    Fetch one OneDrive item's full metadata by id — the escape hatch when the list projection is not enough.

    Free
  • onedrive__download_textRead a OneDrive file's contents as text.
    Free

    Intended for text-ish files; binary content will come back as mojibake. Output is capped at 100,000 characters and the reply reports whether it was truncated.

  • onedrive__create_folderCreate a folder in OneDrive.
    Free

    A name collision is resolved by renaming rather than failing.

  • onedrive__upload_text_fileCreate or replace a text file in OneDrive.
    Free

    Uses Graph's simple upload, so content must be under 4 MiB.

  • onedrive__delete_itemDelete a OneDrive file or folder.
    Free

    Graph moves it to the recycle bin, so it stays recoverable.

  • onedrive__create_share_linkCreate a sharing link for a OneDrive item.
    Free

    scope=anonymous produces a link anyone with the URL can open; organization limits it to the tenant, and is only meaningful for a work or school account — this connector's `common` tenant also admits personal Microsoft accounts, which have no organization to scope to, so pass anonymous for those.

Pages about OneDrive

Give this to your agent

set up https://corespeed.io/SKILL.md
Get started
FAQ

Questions people ask.