← Back to Skills
General

OneDrive

Hithesh Jayawardana By Hithesh Jayawardana 👁 9 views ▲ 0 votes

Work with OneDrive from chat — browse files, search folders, inspect details, create folders, share links, and upload files when supported. Powered by ClawLink, an integration hub for OpenClaw that handles hosted connection flows and credentials so you don't need to configure Microsoft Graph access yourself. Quick start Install the verified ClawLink plugin: openclaw plugins install clawhub:clawlink-plugin Start a fresh OpenClaw chat if the plugin was just installed and ClawLink tools are not visible yet If ClawLink is not configured, call clawlink_begin_pairing Tell the user to open the returned pairing URL, sign in to ClawLink if needed, and approve the device After the user confirms approval, call clawlink_get_pairing_status Tell the user to connect OneDrive at claw-link.dev/dashboard?add=onedrive When the user confirms OneDrive is connected, call clawlink_list_integrations and then clawlink_list_tools with the onedrive integration slug Setup details Installing the plugin If the ClawLink plugin is not installed yet, tell the user to run: openclaw plugins install clawhub:clawlink-plugin If the current chat started before the plugin was installed and ClawLink tools are still unavailable, tell the user to start a fresh chat so OpenClaw reloads the plugin tool catalog. Pairing ClawLink If ClawLink reports that the plugin is not configured, the plugin has not been paired with the user's ClawLink account yet. Call clawlink_begin_pairing. Tell the user to open the returned pairing URL in their browser. The user signs in to ClawLink if needed and approves the OpenClaw device. After the user confirms approval, call clawlink_get_pairing_status to finish local setup. The resulting device credential is stored locally in OpenClaw's plugin config and is only sent to claw-link.dev. The user should not paste raw credentials into chat. Connecting OneDrive Tell the user to open https://claw-link.dev/dashboard?add=onedrive and connect OneDrive there. The page opens the add-connection panel filtered to OneDrive. ClawLink's hosted page runs the Microsoft account connection flow — the user clicks through Microsoft sign-in and consent. When they confirm it is done, call clawlink_list_integrations to verify, then call clawlink_list_tools with integration onedrive. Using OneDrive tools ClawLink provides tools dynamically based on what the user has connected. You do not need to know tool names or schemas in advance. Discovery Call clawlink_list_integrations to confirm OneDrive is connected. Call clawlink_list_tools with integration onedrive. Treat the returned list as the source of truth. Do not guess or assume what tools exist. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration onedrive. If no OneDrive tools appear, direct the user to https://claw-link.dev/dashboard?add=onedrive. Execution Call clawlink_describe_tool before using an unfamiliar tool, before any write, or when the request is ambiguous. Use the returned schema, whenToUse, askBefore, safeDefaults, examples, and followups. Prefer read, list, search, and get operations before writes. For uploads, folder creation, sharing, deletes, moves, or anything marked as requiring confirmation, call clawlink_preview_tool first, then confirm with the user. Execute with clawlink_call_tool. If it fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion. What you can do Typical OneDrive tasks (actual availability depends on the user's connected account, permissions, scopes, and current ClawLink tool catalog): List drives and browse folders Search files by name or metadata Get file or folder details Read supported workbook or table data Create folders Upload, download, move, or copy files when supported Create or inspect sharing links after confirmation Rules Always use ClawLink tools for OneDrive. Do not ask the user for separate Microsoft credentials or access tokens. Do not claim a capability is missing without checking the live ClawLink catalog in the current turn. Do not invent slash commands or ask the user to paste raw credentials. Ask for confirmation before writes such as uploads, folder creation, sharing, moves, or deletes. If OneDrive is not connected, direct the user to https://claw-link.dev/dashboard?add=onedrive. Never echo or repeat the user's ClawLink credential. Resources ClawLink: https://claw-link.dev ClawLink Docs: https://docs.claw-link.dev/openclaw ClawLink Verification: https://claw-link.dev/verify ClawLink Source: https://github.com/hith3sh/clawlink Microsoft Graph OneDrive: https://learn.microsoft.com/en-us/graph/api/resources/onedrive

GitHub
---
name: onedrive-files
description: Browse, search, download, and share OneDrive files, create folders, upload files, and manage file actions — powered by ClawLink.
---

# OneDrive via ClawLink

Work with OneDrive from chat — browse files, search folders, inspect details, create folders, share links, and upload files when supported.

Powered by [ClawLink](https://claw-link.dev), an integration hub for OpenClaw that handles hosted connection flows and credentials so you don't need to configure Microsoft Graph access yourself.

## Quick start

1. Install the verified ClawLink plugin: `openclaw plugins install clawhub:clawlink-plugin`
2. Start a fresh OpenClaw chat if the plugin was just installed and ClawLink tools are not visible yet
3. If ClawLink is not configured, call `clawlink_begin_pairing`
4. Tell the user to open the returned pairing URL, sign in to ClawLink if needed, and approve the device
5. After the user confirms approval, call `clawlink_get_pairing_status`
6. Tell the user to connect OneDrive at [claw-link.dev/dashboard?add=onedrive](https://claw-link.dev/dashboard?add=onedrive)
7. When the user confirms OneDrive is connected, call `clawlink_list_integrations` and then `clawlink_list_tools` with the `onedrive` integration slug

## Setup details

### Installing the plugin

If the ClawLink plugin is not installed yet, tell the user to run:

```
openclaw plugins install clawhub:clawlink-plugin
```

If the current chat started before the plugin was installed and ClawLink tools are still unavailable, tell the user to start a fresh chat so OpenClaw reloads the plugin tool catalog.

### Pairing ClawLink

If ClawLink reports that the plugin is not configured, the plugin has not been paired with the user's ClawLink account yet.

1. Call `clawlink_begin_pairing`.
2. Tell the user to open the returned pairing URL in their browser.
3. The user signs in to ClawLink if needed and approves the OpenClaw device.
4. After the user confirms approval, call `clawlink_get_pairing_status` to finish local setup.

The resulting device credential is stored locally in OpenClaw's plugin config and is only sent to `claw-link.dev`. The user should not paste raw credentials into chat.

### Connecting OneDrive

Tell the user to open https://claw-link.dev/dashboard?add=onedrive and connect OneDrive there. The page opens the add-connection panel filtered to OneDrive. ClawLink's hosted page runs the Microsoft account connection flow — the user clicks through Microsoft sign-in and consent. When they confirm it is done, call `clawlink_list_integrations` to verify, then call `clawlink_list_tools` with integration `onedrive`.

## Using OneDrive tools

ClawLink provides tools dynamically based on what the user has connected. You do not need to know tool names or schemas in advance.

### Discovery

1. Call `clawlink_list_integrations` to confirm OneDrive is connected.
2. Call `clawlink_list_tools` with integration `onedrive`.
3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
4. If the user describes a capability but the exact tool is unclear, call `clawlink_search_tools` with a short query and integration `onedrive`.
5. If no OneDrive tools appear, direct the user to https://claw-link.dev/dashboard?add=onedrive.

### Execution

1. Call `clawlink_describe_tool` before using an unfamiliar tool, before any write, or when the request is ambiguous.
2. Use the returned schema, `whenToUse`, `askBefore`, `safeDefaults`, `examples`, and `followups`.
3. Prefer read, list, search, and get operations before writes.
4. For uploads, folder creation, sharing, deletes, moves, or anything marked as requiring confirmation, call `clawlink_preview_tool` first, then confirm with the user.
5. Execute with `clawlink_call_tool`.
6. If it fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

## What you can do

Typical OneDrive tasks (actual availability depends on the user's connected account, permissions, scopes, and current ClawLink tool catalog):

- List drives and browse folders
- Search files by name or metadata
- Get file or folder details
- Read supported workbook or table data
- Create folders
- Upload, download, move, or copy files when supported
- Create or inspect sharing links after confirmation

## Rules

- Always use ClawLink tools for OneDrive. Do not ask the user for separate Microsoft credentials or access tokens.
- Do not claim a capability is missing without checking the live ClawLink catalog in the current turn.
- Do not invent slash commands or ask the user to paste raw credentials.
- Ask for confirmation before writes such as uploads, folder creation, sharing, moves, or deletes.
- If OneDrive is not connected, direct the user to https://claw-link.dev/dashboard?add=onedrive.
- Never echo or repeat the user's ClawLink credential.

## Resources

- ClawLink: https://claw-link.dev
- ClawLink Docs: https://docs.claw-link.dev/openclaw
- ClawLink Verification: https://claw-link.dev/verify
- ClawLink Source: https://github.com/hith3sh/clawlink
- Microsoft Graph OneDrive: https://learn.microsoft.com/en-us/graph/api/resources/onedrive
openclaw clawlink onedrive hermes

Comments

Sign in to leave a comment

Loading comments...