Basic information

Repository
openclaw
Skill
onedrive

About onedrive

Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files.

onedrive is an agent skill listed in the AddMCP.net directory, published by openclaw. Source code is hosted on github.com.

Overview

What is onedrive?


name: onedrive description: Manage OneDrive files and folders via Microsoft Graph. Upload, download, and share files. metadata: {"clawdbot":{"emoji":"☁️","requires":{"env":["MICROSOFT_ACCESS_TOKEN"]}}}


OneDrive

Microsoft cloud storage.

Environment

export MICROSOFT_ACCESS_TOKEN="xxxxxxxxxx"

List Root Files

curl "https://graph.microsoft.com/v1.0/me/drive/root/children" -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN"

Upload File

curl -X PUT "https://graph.microsoft.com/v1.0/me/drive/root:/filename.txt:/content" \
  -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \
  -H "Content-Type: text/plain" \
  --data-binary @localfile.txt

Download File

curl "https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content" \
  -H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" -o downloaded.txt

Links

  • Docs: https://docs.microsoft.com/en-us/graph/api/resources/onedrive

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬