Docs
Sign in

OneDrive

OneDrive is Microsoft's cloud file storage. With this connector, TAO can find, read, upload, share, copy and move your files, including files in SharePoint libraries you can see.

Screenshot to add: The Microsoft Teams card on the Connectors page. OneDrive tools come with this connection.

What you can do

Illustrative examples.

  • "Find the Q3 budget spreadsheet in my OneDrive."
  • "Share that contract with Saby."
  • "Copy the proposal template into my Projects folder."
  • "Save the chart you just made to my OneDrive."

Before you connect

  • A Microsoft account with OneDrive.
  • OneDrive does not have its own sign-in. It uses the Microsoft Teams connection. Connect that one first, as described on the Teams page.
  • Files and sites are reached through the same Microsoft sign-in. The product notes say the Teams app already carries file permissions (Files.ReadWrite, Files.ReadWrite.All) and Sites.Read.All. The sign-in request itself lists only the Teams permissions, and Microsoft grants the rest according to what your company has approved. If a file tool is refused, ask your IT team.

Connect it

  1. Open Connectors

    Go to Settings and open Connectors.

  2. Connect Microsoft Teams

    Click Connect on the Microsoft Teams card. Sign in and approve. If it already shows Connected, you are done.

  3. Try it

    Ask TAO to list or find a file. The OneDrive tools use the same connection.

Tools

Tools marked Write, approval do not act straight away. They wait in the approvals queue for a person to approve.

ToolWhat it doesRead or Write
onedrive_list_filesLists files and folders in your OneDrive, including files others shared directly with you. Can also browse a SharePoint library when given its drive IDRead
onedrive_search_filesSearches by filename or content across your OneDrive, files shared with you and SharePoint files you can accessRead
onedrive_download_fileDownloads a file into the chat's working area so its content can be read. It moves the file only. Reading it takes a separate stepRead
onedrive_share_fileGives a named person access to a file. They get access only after approvalWrite, approval
onedrive_upload_fileUploads a new file, or replaces an existing file's contentWrite, approval
onedrive_create_folderCreates a new folder in OneDrive or a SharePoint library. Never replaces an existing folderWrite, approval
onedrive_copy_itemCopies a file or folder, in the same or another driveWrite, approval
onedrive_move_itemMoves a file or folder within the same drive, optionally renaming itWrite, approval

Total: 8 tools (3 reads, 5 writes that wait for approval).

Limits and good to know

  • Upload moves whole files only. It never edits inside a file. To change cells in a spreadsheet, use Excel.
  • Copies are not instant. Microsoft accepts the copy first and finishes later, so TAO may report "copy started, not confirmed". Check the destination. Do not ask for the copy twice, because that leaves two files.
  • Moves leave the old location. A move works only inside one drive.
  • Large files are refused on download. The platform limit is set by MAX_GRAPH_FILE_BYTES and defaults to 2 GiB. Uploads over 4 MiB use Microsoft's chunked upload.
  • Replacing a file you do not own works only if you have write access.
  • Listing the root shows your files and files shared with you. Files you can see only through SharePoint membership appear through search or by browsing the library.
  • Tool names and IDs must come from earlier results. TAO does not guess file IDs.