Skip to content
All tools

onedrive_disconnect

OneDrive · macOS · Windows

Effect: write (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Turns one OneDrive folder off in Local MCP: its tools stop reading it until the user turns it back on from LMCP's icon → My apps → open the app's row → the account's Read · Send · Write. Local MCP holds no sign-in for OneDrive, so nothing is signed out: the OneDrive sync app stays signed in on this computer. `account` is the folder's name from onedrive_root; with one folder it can be omitted, with several it must be given. The first call returns a preview and changes nothing; confirm=true turns it off. No tool turns it back on.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.

Full input schema — macOS
{
  "properties": {
    "account": {
      "description": "The folder to turn off: its name from onedrive_root. Required when more than one folder is synced.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to disconnect. Without it the call returns a preview and changes nothing.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "account": "OneDrive-Demo",
  "confirm": false
}

Windows

Purpose

Turns one OneDrive folder off in Local MCP: its tools stop reading it until the user turns it back on from LMCP's icon → My apps → open the app's row → the account's Read · Send · Write. Local MCP holds no sign-in for OneDrive, so nothing is signed out: the OneDrive sync app stays signed in on this computer. `account` is the folder's name from onedrive_root; with one folder it can be omitted, with several it must be given. The first call returns a preview and changes nothing; confirm=true turns it off. No tool turns it back on.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.

Full input schema — Windows
{
  "properties": {
    "account": {
      "description": "The folder to turn off: its name from onedrive_root. Required when more than one folder is synced.",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to disconnect. Without it the call returns a preview and changes nothing.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "account": "OneDrive-Demo",
  "confirm": false
}