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 placeholder
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) andSites.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
Open Connectors
Go to Settings and open Connectors.
Connect Microsoft Teams
Click Connect on the Microsoft Teams card. Sign in and approve. If it already shows Connected, you are done.
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.
| Tool | What it does | Read or Write |
|---|---|---|
onedrive_list_files | Lists files and folders in your OneDrive, including files others shared directly with you. Can also browse a SharePoint library when given its drive ID | Read |
onedrive_search_files | Searches by filename or content across your OneDrive, files shared with you and SharePoint files you can access | Read |
onedrive_download_file | Downloads a file into the chat's working area so its content can be read. It moves the file only. Reading it takes a separate step | Read |
onedrive_share_file | Gives a named person access to a file. They get access only after approval | Write, approval |
onedrive_upload_file | Uploads a new file, or replaces an existing file's content | Write, approval |
onedrive_create_folder | Creates a new folder in OneDrive or a SharePoint library. Never replaces an existing folder | Write, approval |
onedrive_copy_item | Copies a file or folder, in the same or another drive | Write, approval |
onedrive_move_item | Moves a file or folder within the same drive, optionally renaming it | Write, 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_BYTESand 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.