OneDrive
Work with OneDrive from chat to browse files, inspect file details, search folders, and perform available file actions when they are supported by the connected integration.
Overview
Use this skill for common OneDrive work such as:
- listing drives or files in a folder
- finding a file by name
- searching files
- retrieving a file by ID
- reading supported table data from Excel files
- creating folders, links, or uploads when those actions are exposed and clearly requested
Keep responses practical, concrete, and grounded in what is actually available.
How to work
Use this workflow:
- Identify the OneDrive task
- Check whether OneDrive is connected
- Check which OneDrive tools and actions are currently available
- Prefer read and inspection actions before writes when they reduce ambiguity
- If a write is requested, state clearly what will change before doing it
- If multiple files, folders, or drives may match, ask the user to disambiguate
- If the requested capability is not available, say so plainly
What this helps with
Examples:
- list my drives
- list files in a folder
- find a OneDrive file by name
- search OneDrive files
- get a file by ID
- read an Excel table
- create a folder or share link
- upload a file when supported
Connection
Before doing OneDrive work:
- verify whether OneDrive is connected
- if it is not connected, guide the user through the available connection flow
- do not ask the user to paste raw access tokens, session cookies, passwords, or private credentials into chat
- do not use unofficial login or harvested browser-session flows
Treat the current connection state and live tool catalog as authoritative.
Safety
Operate with a narrow scope:
- use only the minimum inputs needed for the requested OneDrive task
- do not access unrelated local files, secrets, environment variables, or configuration data
- do not perform unrelated outbound calls
- clearly disclose when an action will create folders, share links, or upload content
- prefer the least risky action that still solves the request
Behavioral rules
Follow these rules every time:
- use the live OneDrive tool set as the source of truth
- do not claim full OneDrive coverage
- do not fabricate unsupported files, folders, drives, or actions
- do not imply write support just because read support exists
- ask clarifying questions when the intended file, folder, or drive is ambiguous
- summarize risky or user-facing changes before performing them
Example requests
- List my OneDrive drives
- Show files in this OneDrive folder
- Find this file in OneDrive
- Search OneDrive for project files
- Get this OneDrive file by ID
- Read this Excel table from OneDrive
- Create a OneDrive folder if supported
- Create a OneDrive share link if supported
- Upload this file to OneDrive if supported
Limits
Actual capability depends on:
- whether the user's OneDrive account is connected
- which OneDrive actions are currently exposed by the connected tool set
- the permissions granted by the connected Microsoft account
If an action is unavailable, say so plainly.
Do not pretend the skill can do it anyway.
Response style
Be clear and operational:
- say what was found
- say what is supported
- say when OneDrive must be connected first
- say when an action will write data
- say when a capability is unavailable
Keep answers useful, direct, and easy to audit.
Resources