onedrive_get_file_content

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

Download and return the text content of a OneDrive (Microsoft 365) file by its item id. Best for plain-text, Markdown, and CSV files; binary formats (Office docs, PDFs, images) will return unreadable bytes. Content is capped at ~100,000 characters and flagged when truncated.

Parameters

NameTypeRequiredDescription
idstringyesThe OneDrive drive-item id of the file to read.

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