onedrive_list_files

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

List files and folders in a OneDrive (Microsoft 365) folder. Pass a folder path relative to the drive root (e.g. “Documents” or “Documents/Reports”); omit to list the root. Returns each item’s id, name, size, whether it is a folder, last-modified time, and web URL. Use to browse a user’s OneDrive documents.

Parameters

NameTypeRequiredDescription
pathstringnoFolder path relative to the OneDrive root, e.g. “Documents” or “Documents/Reports”. Omit or leave empty for the root folder.
topnumbernoMaximum number of items to return (default 50, max 200).

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_list_files","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