Weavz
Microsoft OneDrive

Microsoft OneDrive

Cloud file storage and sharing

8 tools
2 triggers
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
list_files

List files and folders in a OneDrive directory

get_file

Get metadata for a file or folder by ID

upload_file

Upload a small file (up to 4 MB) to OneDrive

create_folder

Create a new folder in OneDrive

search_files

Search for files in OneDrive

share_file

Create a sharing link for a file

delete_file

Delete a file or folder from OneDrive

custom_api_call

Make a custom API call to the Microsoft Graph API

Triggers

Name
new_file

Triggers when a new file is added to OneDrive

file_updated

Triggers when a file is modified in OneDrive

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('microsoft-onedrive', 'list_files', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'microsoft-onedrive',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Microsoft OneDrive to my app?

Use Weavz Hosted Connect for OAuth2 authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Microsoft OneDrive support?

Microsoft OneDrive supports 8 tools including List Files, Get File, Upload File, Create Folder, Search Files, and more.

Can I use Microsoft OneDrive with AI agents?

Yes. Add Microsoft OneDrive to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect Microsoft OneDrive to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Microsoft OneDrive as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Microsoft OneDrive tools exposed by that workspace.

Does Microsoft OneDrive work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Microsoft OneDrive work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Microsoft OneDrive?

Microsoft OneDrive exposes 8 tools, including List Files, Get File, Upload File, Create Folder, Search Files, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can Microsoft OneDrive be used in stateful agent workflows?

Yes. Agents can combine Microsoft OneDrive tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Microsoft OneDrive use?

Microsoft OneDrive uses OAuth2. Weavz stores OAuth credentials securely and refreshes tokens when supported by the provider.

How much does the Microsoft OneDrive integration cost?

The Microsoft OneDrive integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Microsoft OneDrive support?

Microsoft OneDrive supports 2 triggers including New File, File Updated.

Connect Microsoft OneDrive in minutes

Get 20,000 free action executions every month. No credit card required.