onedrive_search_files

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_search_files for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
querystringyesFree-text search query matched against OneDrive file names and content.
topnumbernoMaximum 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 — 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.

Regenerated from source · build October 16, 2026