onedrive_get_file

Pack: onedrive · Endpoint: https://gateway.pipeworx.io/onedrive/mcp

Get full metadata for a single OneDrive (Microsoft 365) file or folder by its item id. Returns id, name, size, folder/file info, created and last-modified times, web URL, and parent reference. Use after listing or searching to inspect one document.

Parameters

NameTypeRequiredDescription
idstringyesThe OneDrive drive-item id of the file or folder.

Example call

curl -X POST https://gateway.pipeworx.io/onedrive/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"onedrive_get_file","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "onedrive": {
      "url": "https://gateway.pipeworx.io/onedrive/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 3, 2026