onedrive_get_file
Pack: onedrive · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/onedrive_get_file for the schema, then POST the same URL with its arguments for the data.
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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | The OneDrive drive-item id of the file or folder. |
Example call
Arguments
{
"id": "01EJDVJMB23ABCD"
}
curl
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":{"id":"01EJDVJMB23ABCD"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('onedrive_get_file', {
"id": "01EJDVJMB23ABCD"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the onedrive pack
{
"mcpServers": {
"onedrive": {
"url": "https://gateway.pipeworx.io/onedrive/mcp"
}
}
}
See Getting Started for client-specific install steps.