Microsoft 365 Files tools
The tools the Microsoft 365 Files plugin gives agents: the command and MCP name of each, what it does, whether it only reads, and the risk it declares.
The Microsoft 365 Files plugin gives agents 8 tools. A tool reaches an agent when the agent's role has the plugin switched on. To learn the plugin, see Google Drive and Microsoft 365 Files.
How agents call these tools
- Studio's agents run a tool as a command:
swarmix-tool microsoft-onedrive <command> --name=value, for exampleswarmix-tool microsoft-onedrive onedrive_read. - Agents outside Studio, such as Claude Code connected through Hive, call it as an MCP tool:
mcp__microsoft-onedrive__<MCP name>, for examplemcp__microsoft-onedrive__onedrive_read.
To block a tool for a role, add mcp__microsoft-onedrive__<tool> under the role's Denied Tools, for example mcp__microsoft-onedrive__onedrive_read. Hive matches that name on both ways of calling.
To let agents only read with Microsoft 365 Files, turn on Read only for the plugin in the role's Plugins section. The role then blocks each tool marked "No" under Read only.
For the columns and how roles limit tools, see Plugin permissions and tools.
Tools
| Command and MCP name | What it does | Read only | Destructive | Risk |
|---|---|---|---|---|
onedrive_roots | List drives. | Yes | None | |
onedrive_list | List a folder. | Yes | None | |
onedrive_stat | Read file details. | Yes | None | |
onedrive_search | Search files. | Yes | None | |
onedrive_read | Read a file. | No | None | |
onedrive_channelFolder | Find a channel's files. | Yes | None | |
onedrive_write | Upload a file. | No | Yes | None |
onedrive_createFolder | Create a folder. | No | None |
Related
Google Drive tools
The tools the Google Drive plugin gives agents: the command and MCP name of each, what it does, whether it only reads, and the risk it declares.
Microsoft Teams plugin tools
The tools the Microsoft Teams plugin gives agents: the command and MCP name of each, what it does, whether it only reads, and the risk it declares.