> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Onedrive search

> Search the user's OneDrive for files by name and content. The query is a single free-text string — Graph matches it against filenames, content, and…

`onedrive_search`

Search the user's OneDrive for files by name and content. The query is a single free-text string — Graph matches it against filenames, content, and metadata. Returns file summaries (NOT content — follow up with `onedrive_get_file_content`).

## Parameters

<ParamField path="query" type="string" required>
  Free-text search term. Matches filenames, content (for indexed file types), and metadata.
</ParamField>

<ParamField path="limit" type="integer" default={25}>
  Minimum: 1. Maximum: 50.
</ParamField>
