All tools

Files & calendar · m365_search_files

Search OneDrive / SharePoint

Files in OneDrive and the accessible SharePoint sites.

Price
included
Requirements
SharePoint / OneDrive
set it up in Settings → Integrations
Human approval
No
read or internal write
Reliability
Verified
stable · 0.6 s

Input

FieldTypeDescription
query *stringSearch terms (file name or content).
limitnumberMax results (1-25, default 10).

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"m365_search_files","input":{"query":"…","limit":1}}'
$run({ "tool": "m365_search_files", "input": {"query":"…","limit":1} })