files_search
Search OneDrive and SharePoint for files by name or content keyword. Get file metadata like ID, name, size, last-modified date, and web URL for quick access.
Instructions
Search the signed-in user's OneDrive and the SharePoint sites they can reach, by filename or content keyword. Returns id, name, drive id, size, last-modified date and web URL. OneDrive and SharePoint document libraries are the same underlying resource, so one search covers both. Requires Files.Read.All.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search keywords to find files and documents | |
| max_results | No | Maximum files to return |