One drive
Overview
SLUG: ONE_DRIVE
Description
OneDrive is Microsoft’s cloud storage solution enabling users to store, sync, and share files across devices, offering offline access, real-time collaboration, and enterprise-grade security
Authentication Details
OAuth2
Connecting to One drive
Create an auth config
Use the dashboard to create an auth config for the One drive toolkit. This allows you to connect multiple One drive accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create One drive Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the [One drive toolkit’s playground](https://app.composio.dev/app/One drive)
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
ONE_DRIVE_COPY_ITEM
Tool Name: Copy Item
Description
Action Parameters
Action Response
ONE_DRIVE_CREATE_LINK
Tool Name: Create Sharing Link
Description
Action Parameters
Action Response
ONE_DRIVE_DELETE_ITEM
Tool Name: Delete Item
Description
Action Parameters
Action Response
ONE_DRIVE_GET_DRIVE
Tool Name: Get Drive
Description
Action Parameters
Action Response
ONE_DRIVE_GET_ITEM
Tool Name: Get Item Metadata
Description
Action Parameters
Action Response
ONE_DRIVE_GET_ITEM_PERMISSIONS
Tool Name: Get Item Permissions
Description
Action Parameters
Action Response
ONE_DRIVE_GET_ITEM_THUMBNAILS
Tool Name: Get Item Thumbnails
Description
Action Parameters
Action Response
ONE_DRIVE_GET_ITEM_VERSIONS
Tool Name: Get Item Versions
Description
Action Parameters
Action Response
ONE_DRIVE_GET_QUOTA
Tool Name: Get Drive Quota
Description
Action Parameters
Action Response
ONE_DRIVE_GET_RECENT_ITEMS
Tool Name: Get Recent Items
Description
Action Parameters
Action Response
ONE_DRIVE_GET_SITE_DETAILS
Tool Name: Get Site Details
Description
Action Parameters
Action Response
ONE_DRIVE_GET_SITE_PAGE_CONTENT
Tool Name: Get SharePoint Site Page Content
Description
Action Parameters
Action Response
ONE_DRIVE_INVITE_USER_TO_DRIVE_ITEM
Tool Name: Invite User to Drive Item
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_DRIVES
Tool Name: List Drives
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_DRIVE_ITEM_ACTIVITIES
Tool Name: List Drive Item Activities
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_ROOT_DRIVE_CHANGES
Tool Name: List Root Drive Changes
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_SITE_COLUMNS
Tool Name: List Site Columns
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_SITE_DRIVE_ITEMS_DELTA
Tool Name: List Site Drive Items Delta
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_SITE_LISTS
Tool Name: List Site Lists
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_SITE_SUBSITES
Tool Name: List Site Subsites
Description
Action Parameters
Action Response
ONE_DRIVE_LIST_SUBSCRIPTIONS
Tool Name: List Subscriptions
Description
Action Parameters
Action Response
ONE_DRIVE_MOVE_ITEM
Tool Name: Move Item
Description
Action Parameters
Action Response
ONE_DRIVE_PREVIEW_DRIVE_ITEM
Tool Name: Preview Drive Item
Description
Action Parameters
Action Response
ONE_DRIVE_SEARCH_ITEMS
Tool Name: Search Items
Description
Action Parameters
Action Response
ONE_DRIVE_UPDATE_DRIVE_ITEM_METADATA
Tool Name: Update Drive Item Metadata
Description
Action Parameters
Action Response
ONE_DRIVE_DOWNLOAD_FILE
Tool Name: Download a file
Description
Action Parameters
Action Response
ONE_DRIVE_ONEDRIVE_CREATE_FOLDER
Tool Name: Create folder
Description
Action Parameters
Action Response
ONE_DRIVE_ONEDRIVE_CREATE_TEXT_FILE
Tool Name: Create a new text file
Description
Action Parameters
Action Response
ONE_DRIVE_ONEDRIVE_FIND_FILE
Tool Name: Find Item
Description
Action Parameters
Action Response
ONE_DRIVE_ONEDRIVE_FIND_FOLDER
Tool Name: Find Folder
Description
Action Parameters
Action Response
ONE_DRIVE_ONEDRIVE_LIST_ITEMS
Tool Name: List OneDrive items
Description
Action Parameters
Action Response
ONE_DRIVE_ONEDRIVE_UPLOAD_FILE
Tool Name: Upload file
Description
Action Parameters
Action Response