All tools

onedrive_move_file

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

Moves or renames a file/folder within OneDrive.

Required inputs

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": {
    "confirm": {
      "description": "Must be true to move",
      "type": "boolean"
    },
    "destination": {
      "description": "Destination path",
      "type": "string"
    },
    "source": {
      "description": "Source path",
      "type": "string"
    }
  },
  "required": [
    "source",
    "destination"
  ],
  "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.

{
  "confirm": false,
  "destination": "Documents/Archive/meeting-notes.txt",
  "source": "Documents/meeting-notes.txt"
}

Windows

Purpose

Moves or renames a file/folder within OneDrive.

Required inputs

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": {
    "confirm": {
      "description": "Must be true to execute",
      "type": "boolean"
    },
    "destination": {
      "description": "New path",
      "type": "string"
    },
    "source": {
      "description": "Current path",
      "type": "string"
    }
  },
  "required": [
    "source",
    "destination"
  ],
  "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.

{
  "confirm": false,
  "destination": "Documents/Archive/meeting-notes.txt",
  "source": "Documents/meeting-notes.txt"
}