onedrive_search_files
Pack: onedrive · Endpoint: https://gateway.pipeworx.io/onedrive/mcp
Search a user’s OneDrive (Microsoft 365) for files and folders matching a query string across file names and content. Returns matching items with id, name, size, folder flag, last-modified time, and web URL. Use to find documents by keyword.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text search query matched against OneDrive file names and content. |
top | number | no | Maximum number of results to return (default 25). |
Example call
Arguments
{
"query": "budget 2024"
}
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_search_files","arguments":{"query":"budget 2024"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('onedrive_search_files', {
"query": "budget 2024"
});
More examples
{
"query": "Q4 financial report",
"top": 50
}
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.